mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 740862 - "ASSERTION: Freeze() failed" in nsEventSource::Observe(dom-window-frozen). r=smaug
This commit is contained in:
parent
6bc6767b50
commit
26a29dc321
@ -413,10 +413,10 @@ nsEventSource::Observe(nsISupports* aSubject,
|
||||
DebugOnly<nsresult> rv;
|
||||
if (strcmp(aTopic, DOM_WINDOW_FROZEN_TOPIC) == 0) {
|
||||
rv = Freeze();
|
||||
NS_ASSERTION(rv, "Freeze() failed");
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "Freeze() failed");
|
||||
} else if (strcmp(aTopic, DOM_WINDOW_THAWED_TOPIC) == 0) {
|
||||
rv = Thaw();
|
||||
NS_ASSERTION(rv, "Thaw() failed");
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "Thaw() failed");
|
||||
} else if (strcmp(aTopic, DOM_WINDOW_DESTROYED_TOPIC) == 0) {
|
||||
Close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user