Backed out 2 changesets (bug 1566196) for bc failures in CTypes.cpp. CLOSED TREE

Backed out changeset eaf4a3284f00 (bug 1566196)
Backed out changeset 2de26156c571 (bug 1566196)
This commit is contained in:
Brindusan Cristian 2019-09-07 02:28:58 +03:00
Родитель c2bb1572d6
Коммит 1b00e04863
3 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

@ -6,7 +6,6 @@
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
<link rel="stylesheet" type="text/css" media="all"
href="chrome://global/skin/in-content/info-pages.css"/>
<link rel="stylesheet" type="text/css" media="all"

Просмотреть файл

@ -5,6 +5,7 @@ support-files =
file_cancel_content_js.html
[browser_crash_oopiframe.js]
skip-if = true # Disabled until bug 1566196 is fixed
[browser_domainPolicy.js]
skip-if = fission
[browser_memory_distribution_telemetry.js]

Просмотреть файл

@ -55,7 +55,6 @@ add_task(async function() {
"oop-browser-crashed"
);
info("Waiting for oop-browser-crashed event.");
await eventFiredPromise.then(event => {
isnot(
event.browsingContextId,
@ -70,15 +69,14 @@ add_task(async function() {
);
});
// The BrowsingContext is re-used, but the currentWindowGlobal
// might still be getting set up at this point. We poll to wait
// until its created and available.
await BrowserTestUtils.waitForCondition(() => {
return iframeBC.currentWindowGlobal;
});
info("Wait for a new browsing context to get attached to our oop iframe.");
await BrowserTestUtils.waitForCondition(
() => rootBC.getChildren()[0] != iframeBC
);
let newIframeBC = rootBC.getChildren()[0];
let newIframeURI = await SpecialPowers.spawn(
iframeBC,
newIframeBC,
[],
() => content.document.documentURI
);