Skip to content

Commit

Permalink
Bug 1863512 - Disable tests using SharedArrayBuffer on release/beta. …
Browse files Browse the repository at this point in the history
…r=devtools-reviewers,nchevobbe

SharedArrayBuffer can only easily be testing through dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
preference which is locked on beta and release channels.

Differential Revision: https://phabricator.services.mozilla.com/D192942
  • Loading branch information
ochameau committed Nov 8, 2023
1 parent e722e48 commit fe5d7d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devtools/client/webconsole/test/browser/_webconsole.toml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ fail-if = ["a11y_checks"] # Bug 1849028 clicked element may not be focusable and
skip-if = [
"tsan", # Bug 1767724
"a11y_checks", # Bug 1849028 and 1849230 for causing crashes
"release_or_beta", # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
]

["browser_webconsole_console_profile_unavailable.js"]
Expand Down Expand Up @@ -829,5 +830,6 @@ skip-if = ["true"] # Bug 1765369
["browser_webconsole_worker_promise_error.js"]

["browser_webconsole_worklet_console.js"]
skip-if = ["release_or_beta"] # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled

["browser_webconsole_worklet_error.js"]
2 changes: 2 additions & 0 deletions devtools/shared/webconsole/test/chrome/chrome.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ support-files = [
["test_console_group_styling.html"]

["test_console_serviceworker.html"]
skip-if = ["release_or_beta"] # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled

["test_console_serviceworker_cached.html"]
skip-if = ["release_or_beta"] # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled

["test_console_styling.html"]

Expand Down
1 change: 1 addition & 0 deletions dom/workers/test/browser.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ skip-if = ["!nightly_build"] # to be enabled once ES module in workers is enable
run-if = ["buildapp == 'browser'"]

["browser_consoleSharedWorkers.js"]
skip-if = ["release_or_beta"] # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
support-files = [
"sharedWorker_console.js",
"empty.html",
Expand Down

0 comments on commit fe5d7d7

Please sign in to comment.