зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 0ffcaeada9fc (bug 1454045) for devtools failures on browser_rules_edit-value-after-name_04.js on a CLOSED TREE
--HG-- extra : histedit_source : f98131a3bbea2c364e5e20037f4e17dfe8dde783
This commit is contained in:
Родитель
e40927b5de
Коммит
a49de7679a
|
@ -298,7 +298,7 @@ TextPropertyEditor.prototype = {
|
|||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
let browserWin = this.ruleView.inspector.target.tab.ownerDocument.defaultView;
|
||||
browserWin.openWebLinkIn(target.href, "tab");
|
||||
browserWin.openTrustedLinkIn(target.href, "tab");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ exports.menuitems = [
|
|||
l10nKey: "getMoreDevtoolsCmd",
|
||||
oncommand(event) {
|
||||
let window = event.target.ownerDocument.defaultView;
|
||||
window.openWebLinkIn("https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/", "tab");
|
||||
window.openTrustedLinkIn("https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/", "tab");
|
||||
}
|
||||
},
|
||||
];
|
||||
|
|
|
@ -1982,7 +1982,7 @@ var Scratchpad = {
|
|||
*/
|
||||
openDocumentationPage: function SP_openDocumentationPage() {
|
||||
let url = this.strings.GetStringFromName("help.openDocumentationPage");
|
||||
this.browserWindow.openWebLinkIn(url, "tab");
|
||||
this.browserWindow.openTrustedLinkIn(url, "tab");
|
||||
this.browserWindow.focus();
|
||||
},
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче