mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1191081 - Part 1: Mute the browser after restoring from a crash if it was muted before; r=jaws
This commit is contained in:
parent
dac6c24fcf
commit
2bec2e6c53
@ -669,6 +669,11 @@
|
|||||||
|
|
||||||
// If the browser is loading it must not be crashed anymore
|
// If the browser is loading it must not be crashed anymore
|
||||||
this.mTab.removeAttribute("crashed");
|
this.mTab.removeAttribute("crashed");
|
||||||
|
|
||||||
|
// If the browser was previously muted, we should restore the muted state.
|
||||||
|
if (this.mTab.hasAttribute("muted")) {
|
||||||
|
this.mTab.linkedBrowser.mute();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._shouldShowProgress(aRequest)) {
|
if (this._shouldShowProgress(aRequest)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user