Bug 1576407: Part 5 - Update test expectations to handler cross-process window.opener being available. r=farre

This also sets the fission.rebuild_frameloaders_on_remoteness_change=true
preference for some mochitest directories which require it for cross-process
window.opener to work in top-level windows, and makes a minor change to the
hack in browser_temporary_permissions.js to keep it passing reliably in try
runs.

Differential Revision: https://phabricator.services.mozilla.com/D43694

--HG--
extra : source : 38e4ea4314452422fe5fcfb8b1b557201ae9c0f8
This commit is contained in:
Kris Maglione 2019-08-28 18:07:41 +00:00
parent 3230783043
commit 4cf3aac746
6 changed files with 9 additions and 7 deletions

View File

@ -72,7 +72,7 @@ add_task(async function testTempPermissionSubframes() {
// FIXME(Fission): The load event fires before cross-origin iframes have
// loaded (bug 1559841).
if (content.SpecialPowers.useRemoteSubframes) {
for (let i = 0; i < 200; i++) {
for (let i = 0; i < 800; i++) {
await new Promise(resolve => content.setTimeout(resolve, 0));
}
}

View File

@ -38,6 +38,8 @@ support-files =
test2_bug622361.html
file1_bug414291.html
file2_bug414291.html
prefs =
fission.rebuild_frameloaders_on_remoteness_change=true
[test_DOMWindowCreated_chromeonly.html]
[test_bug132255.html]

View File

@ -18,6 +18,8 @@ support-files =
frameLocalStorageSessionOnly.html
file_tryAccessSessionStorage.html
windowProxy.html
prefs =
fission.rebuild_frameloaders_on_remoteness_change=true
[test_brokenUTF-16.html]
[test_bug600307-DBOps.html]
@ -53,6 +55,5 @@ skip-if = toolkit == 'android' || (verify && (os == 'linux' || os == 'mac' || os
[test_localStorageQuotaSessionOnly2.html]
skip-if = true # bug 1347690
[test_localStorageReplace.html]
fail-if = fission
skip-if = toolkit == 'android'
[test_storageConstructor.html]

View File

@ -7,11 +7,12 @@ support-files =
frameReplace.html
interOriginSlave.js
interOriginTest.js
prefs =
fission.rebuild_frameloaders_on_remoteness_change=true
[test_sessionStorageBase.html]
[test_sessionStorageBaseSessionOnly.html]
[test_sessionStorageClone.html]
fail-if = fission
skip-if = toolkit == 'android'
[test_sessionStorageHttpHttps.html]
skip-if = toolkit == 'android' #TIMED_OUT

View File

@ -15,6 +15,8 @@ support-files =
postMessage_throw_helper.html
postMessage_transfer_helper.html
postMessage_userpass_helper.html
prefs =
fission.rebuild_frameloaders_on_remoteness_change=true
[test_bug477323.html]
[test_document_scripts.html]
@ -28,16 +30,13 @@ skip-if = toolkit == 'android' #bug 894914 - wrong data - got FAIL, expected mes
[test_postMessage_idn.xhtml]
[test_postMessage_joined.html]
[test_postMessage_onOther.html]
skip-if = fission #Bug 1571273
[test_postMessage_origin.xhtml]
[test_postMessage_override.html]
skip-if = fission
[test_postMessage_special.xhtml]
[test_postMessage_structured_clone.html]
skip-if = fission #Bug 1570918
[test_postMessage_throw.html]
[test_postMessage_transfer.html]
skip-if = fission #Bug 1571208
[test_postMessage_userpass.html]
[test_bug500328.html]
skip-if = true || toolkit=='android' # bug 696306, #TIMED_OUT android

View File

@ -85,7 +85,6 @@ skip-if = (!debug && android_version == '18') #Bug 1523193
skip-if = os == 'android' # Android does not support multiple windows.
[test_ext_contentscript_permission.html]
[test_ext_cookies.html]
fail-if = fission
[test_ext_cookies_containers.html]
[test_ext_cookies_expiry.html]
[test_ext_cookies_first_party.html]