зеркало из https://github.com/mozilla/gecko-dev.git
Bug 951616 - Use docshell to get manifest url. r=ochameau
This commit is contained in:
Родитель
7522d5a090
Коммит
54ca95f7e8
|
@ -947,8 +947,7 @@ WebappsActor.prototype = {
|
||||||
let manifestURL;
|
let manifestURL;
|
||||||
switch(event.type) {
|
switch(event.type) {
|
||||||
case "appwillopen":
|
case "appwillopen":
|
||||||
let frame = event.target;
|
manifestURL = event.detail.manifestURL;
|
||||||
manifestURL = frame.getAttribute("mozapp")
|
|
||||||
|
|
||||||
// Ignore the event if we already received an appwillopen for this app
|
// Ignore the event if we already received an appwillopen for this app
|
||||||
// (appwillopen is also fired when the app has been moved to background
|
// (appwillopen is also fired when the app has been moved to background
|
||||||
|
|
Загрузка…
Ссылка в новой задаче