зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 43d2e0a07c33 (bug 1665792) for crashtests failre on 1665792.html CLOSED TREE
This commit is contained in:
Родитель
e4b8aede3f
Коммит
b4021531e8
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче