mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897852 - Don't flush if we were destroyed. r=roc
This commit is contained in:
parent
ebe305a239
commit
966905cebe
9
layout/base/crashtests/897852.html
Normal file
9
layout/base/crashtests/897852.html
Normal file
@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body style="display: table-column;">
|
||||
<iframe src="data:text/html,<html contenteditable=''><script>var f = window.frameElement; window.addEventListener('load', function() { window.addEventListener('DOMNodeInserted', function() { f.parentNode.removeChild(f); }, true); f.parentNode.style.cssFloat = 'right'; }, false);</script>";"
|
||||
</body>
|
||||
</html>
|
@ -413,3 +413,4 @@ load 860579-1.html
|
||||
pref(layers.force-active,true) load 859526-1.html
|
||||
pref(layers.force-active,true) load 859630-1.html
|
||||
load 866588.html
|
||||
load 897852.html
|
||||
|
@ -3701,8 +3701,9 @@ PresShell::HandlePostedReflowCallbacks(bool aInterruptible)
|
||||
|
||||
mozFlushType flushType =
|
||||
aInterruptible ? Flush_InterruptibleLayout : Flush_Layout;
|
||||
if (shouldFlush)
|
||||
if (shouldFlush && !mIsDestroying) {
|
||||
FlushPendingNotifications(flushType);
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user