Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.

This commit is contained in:
Florian Quèze
2017-01-27 10:51:03 +01:00
parent ca51131957
commit c8cf49999e
123 changed files with 232 additions and 238 deletions

View File

@@ -52,7 +52,7 @@ MainProcessSingleton.prototype = {
var title = searchBundle.GetStringFromName("error_invalid_engine_title");
var msg = searchBundle.formatStringFromName("error_invalid_engine_msg",
[brandName], 1);
Services.ww.getNewPrompter(browser.ownerDocument.defaultView).alert(title, msg);
Services.ww.getNewPrompter(browser.ownerGlobal).alert(title, msg);
return;
}