wpt icon indicating copy to clipboard operation
wpt copied to clipboard

[WebDriver BiDi] Add tests for `browsingContext.close` for `promptUnload`

Open Lightning00Blade opened this issue 1 year ago • 3 comments

Add the scaffolding and test for browsingContext.close for parameter promptUnload. PR does not cover testing subframes that have beforeunload handlers (feature PR).

Lightning00Blade avatar Jan 15 '24 17:01 Lightning00Blade

There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you!

wpt-pr-bot avatar Jan 16 '24 13:01 wpt-pr-bot

@Lightning00Blade is it expected to pass for the Chrome version in wpt.fyi?

OrKoN avatar Jan 16 '24 16:01 OrKoN

@Lightning00Blade is it expected to pass for the Chrome version in wpt.fyi?

@OrKoN Sadly it will fail via ChromeDriver as we run chromium-bidi in a tab and it's process gets blocked by the alert.

Lightning00Blade avatar Feb 15 '24 16:02 Lightning00Blade

Uh oh! Looks like an error! Details

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/FX5uY-tKRy28uAim4gGw3w",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/FX5uY-tKRy28uAim4gGw3w",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-03-04T15:34:48.843Z

Uh oh! Looks like an error! Details

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/KPAM0AEjROqhKm_BUvM4-Q",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/KPAM0AEjROqhKm_BUvM4-Q",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-03-04T15:34:48.926Z

Uh oh! Looks like an error! Details

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/FlcXPURJTpGPRV0wKo-NNQ",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/FlcXPURJTpGPRV0wKo-NNQ",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-03-04T15:34:48.907Z

Uh oh! Looks like an error! Details

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/a9ctl6n5T7y4tx1qCyjlHg",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A/a9ctl6n5T7y4tx1qCyjlHg",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/IzVg4kSeQ_yDeIFdJ02O0A"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-03-04T15:34:48.874Z

@Lightning00Blade I just noticed that this PR hasn't finished yet. Would you be able to continue working on it?

whimboo avatar Jun 06 '24 15:06 whimboo

@Lightning00Blade could you please the PR? it looks like one action item is remaining

OrKoN avatar Jun 19 '24 19:06 OrKoN

Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/VonxttWRQh6OfacJqQ--Iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/VonxttWRQh6OfacJqQ--Iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-06-25T14:00:31.561Z

Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-06-25T14:00:31.675Z

Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-06-25T14:00:35.228Z

Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/VonxttWRQh6OfacJqQ--Iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/VonxttWRQh6OfacJqQ--Iw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-06-25T14:00:44.745Z

Uh oh! Looks like an error!

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AnyOf": [
    "queue:rerun-task:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ/TDRtIAueRqOEQxBa1wzZNw",
    "queue:rerun-task-in-project:none",
    {
      "AllOf": [
        "queue:rerun-task",
        "assume:scheduler-id:taskcluster-github/EVj_5OSvTz-AUAzGkRNMAQ"
      ]
    }
  ]
}

  • method: rerunTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2024-06-25T14:54:59.915Z

@Lightning00Blade as it looks like Chrome is timing out on the prompt_unload.py file. Could it be that there is a very slow startup or is it timing out while waiting for an event?

whimboo avatar Jun 26 '24 07:06 whimboo

@whimboo it's issue on our end, we can merge this as is.

Lightning00Blade avatar Jun 26 '24 07:06 Lightning00Blade