Bug 951616 - Use docshell to get manifest url. r=ochameau

This commit is contained in:
Paul Rouget 2013-12-19 11:32:13 -05:00
Родитель 7522d5a090
Коммит 54ca95f7e8
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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