mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Bug 1601245 - [remote] Enable Puppeteer and CDP browser-chrome mochitests for Fission. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127524
This commit is contained in:
parent
1f3a832413
commit
6553b9b08f
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
chrome-remote-interface.js
|
||||
head.js
|
||||
|
@ -1,7 +1,6 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
tags = remote
|
||||
subsuite = remote
|
||||
skip-if = fission # Bug 1600054: Make cdp Fission compatible
|
||||
prefs = # Bug 1600054: Make CDP Fission compatible
|
||||
fission.bfcacheInParent=false
|
||||
fission.webContentIsolationStrategy=0
|
||||
support-files =
|
||||
!/remote/cdp/test/browser/chrome-remote-interface.js
|
||||
!/remote/cdp/test/browser/head.js
|
||||
|
@ -454,6 +454,7 @@ class PuppeteerRunner(MozbuildObject):
|
||||
|
||||
prefs = {}
|
||||
for k, v in params.get("extra_prefs", {}).items():
|
||||
print("Using extra preference: {}={}".format(k, v))
|
||||
prefs[k] = mozprofile.Preferences.cast(v)
|
||||
|
||||
if prefs:
|
||||
|
@ -494,8 +494,11 @@ class FirefoxLauncher implements ProductLauncher {
|
||||
// Make sure opening about:addons will not hit the network
|
||||
'extensions.webservice.discoverURL': `http://${server}/dummy/discoveryURL`,
|
||||
|
||||
// Force disable Fission until the Remote Agent is compatible
|
||||
'fission.autostart': false,
|
||||
// Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263)
|
||||
'fission.bfcacheInParent': false,
|
||||
|
||||
// Force all web content to use a single content process
|
||||
'fission.webContentIsolationStrategy': 0,
|
||||
|
||||
// Allow the application to have focus even it runs in the background
|
||||
'focusmanager.testmode': true,
|
||||
|
@ -39,7 +39,7 @@ puppeteer:
|
||||
treeherder:
|
||||
symbol: remote(pup)
|
||||
tier: 1
|
||||
run:
|
||||
run: # Bug 1651542: Use screenshot feature to warm-up the font cache before the actual test
|
||||
using: run-task
|
||||
command: >
|
||||
cd $GECKO_PATH/ &&
|
||||
@ -47,13 +47,13 @@ puppeteer:
|
||||
./mach puppeteer-test --ci -vv --binary $MOZ_FETCHES_DIR/firefox/firefox --headless --write-results /builds/worker/results.json --log-tbpl - --log-errorsummary /builds/worker/pup_errorsummary.json --log-raw /builds/worker/pup_raw.log
|
||||
|
||||
puppeteer-fis:
|
||||
description: Puppeteer tests against Firefox CDP-based remote protocol with Fission (site isolation) turned on
|
||||
run-on-projects: []
|
||||
description: Puppeteer tests against Firefox CDP-based remote protocol (Fission)
|
||||
treeherder:
|
||||
symbol: remote(pup-fis)
|
||||
tier: 2
|
||||
run:
|
||||
run: # Bug 1651542: Use screenshot feature to warm-up the font cache before the actual test
|
||||
using: run-task
|
||||
command: >
|
||||
cd $GECKO_PATH/ &&
|
||||
$MOZ_FETCHES_DIR/firefox/firefox --screenshot http://example.org &&
|
||||
./mach puppeteer-test --ci -vv --binary $MOZ_FETCHES_DIR/firefox/firefox --headless --enable-fission --write-results /builds/worker/results.json --log-tbpl - --log-errorsummary /builds/worker/pup_errorsummary.json --log-raw /builds/worker/pup_raw.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user