mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 772275 - Make mozvisibilitychange event bubble, per spec. r=bz
This commit is contained in:
parent
5b6978ca49
commit
0026dfb671
@ -9542,7 +9542,8 @@ nsDocument::UpdateVisibilityState()
|
||||
if (oldState != mVisibilityState) {
|
||||
nsContentUtils::DispatchTrustedEvent(this, static_cast<nsIDocument*>(this),
|
||||
NS_LITERAL_STRING("mozvisibilitychange"),
|
||||
false, false);
|
||||
/* bubbles = */ true,
|
||||
/* cancelable = */ false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user