mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065933 - Use custom error code when frames close unexpectedly. r=jgriffin
This commit is contained in:
parent
7e72d5075d
commit
b39a1f5aed
@ -407,7 +407,7 @@ MarionetteServerConnection.prototype = {
|
||||
if (e.target.id == self.oopFrameId) {
|
||||
curWindow.removeEventListener('mozbrowserclose', self.mozBrowserClose, true);
|
||||
self.switchToGlobalMessageManager();
|
||||
self.sendError("The frame closed during the " + action + ", recovering to allow further communications", 500, null, self.command_id);
|
||||
self.sendError("The frame closed during the " + action + ", recovering to allow further communications", 55, null, self.command_id);
|
||||
}
|
||||
};
|
||||
curWindow.addEventListener('mozbrowserclose', this.mozBrowserClose, true);
|
||||
|
Loading…
Reference in New Issue
Block a user