Backed out changeset 43d2e0a07c33 (bug 1665792) for crashtests failre on 1665792.html CLOSED TREE

This commit is contained in:
Narcis Beleuzu 2020-10-08 16:02:35 +03:00
Родитель e4b8aede3f
Коммит b4021531e8
3 изменённых файлов: 5 добавлений и 19 удалений

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

@ -11173,11 +11173,11 @@ nsresult Document::CloneDocHelper(Document* clone) const {
// document, even if they are only paused.
MOZ_ASSERT(!clone->GetNavigationTiming(),
"Navigation time was already set?");
if (mTiming) {
RefPtr<nsDOMNavigationTiming> timing =
mTiming->CloneNavigationTime(nsDocShell::Cast(clone->GetDocShell()));
clone->SetNavigationTiming(timing);
}
MOZ_ASSERT(mTiming,
"Timing should have been setup before making a static clone");
RefPtr<nsDOMNavigationTiming> timing =
mTiming->CloneNavigationTime(nsDocShell::Cast(clone->GetDocShell()));
clone->SetNavigationTiming(timing);
clone->SetCsp(mCSP);
}

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

@ -1,13 +0,0 @@
<html class="reftest-wait">
<script>
window.onload = () => {
window[0].stop()
window[0].onpagehide = document.createElement("frameset").onload
a.src = ""
}
window.requestIdleCallback(() => {
SpecialPowers.wrap(window).printPreview()?.close()
document.documentElement.className = "";
})
</script>
<iframe id="a"></iframe>

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

@ -257,4 +257,3 @@ load 1291535.html
skip-if(!isDebugBuild||xulRuntime.OS!="Linux") load 1611853.html
load 1619322.html
load 1656925.html
load 1665792.html