mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 909640 - Fix js warnings in shell.js r=gwagner
This commit is contained in:
parent
1ec088e656
commit
86a5ba6cdd
@ -757,6 +757,9 @@ var AlertsHelper = {
|
||||
return helper.resolveFromOrigin(message["notification"]);
|
||||
}
|
||||
}
|
||||
|
||||
// No message found...
|
||||
return null;
|
||||
}
|
||||
|
||||
listener.target = getNotificationURLFor(manifest.messages);
|
||||
@ -833,7 +836,7 @@ var AlertsHelper = {
|
||||
if (!aMessage.target.assertAppHasPermission("desktop-notification")) {
|
||||
Cu.reportError("Desktop-notification message " + aMessage.name +
|
||||
" from a content process with no desktop-notification privileges.");
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
let data = aMessage.data;
|
||||
|
Loading…
Reference in New Issue
Block a user