mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 627670 - "The argument of callback function of PopupNotifications is only event name." [r+a-2.0=dtownsend]
This commit is contained in:
parent
4ed3de15f4
commit
c4d8ba71b1
@ -719,11 +719,11 @@ const gXPInstallObserver = {
|
||||
options.installs = installInfo.installs;
|
||||
options.contentWindow = browser.contentWindow;
|
||||
options.sourceURI = browser.currentURI;
|
||||
options.eventCallback = function(aNotification, aEvent) {
|
||||
options.eventCallback = function(aEvent) {
|
||||
if (aEvent != "removed")
|
||||
return;
|
||||
aNotification.options.contentWindow = null;
|
||||
aNotification.options.sourceURI = null;
|
||||
options.contentWindow = null;
|
||||
options.sourceURI = null;
|
||||
};
|
||||
PopupNotifications.show(browser, notificationID, messageString, anchorID,
|
||||
null, null, options);
|
||||
|
Loading…
Reference in New Issue
Block a user