зеркало из https://github.com/mozilla/gecko-dev.git
Backing out the fix for bug 235457 since it made typing URLs, and autocomplete in the the URL bar not work.
This commit is contained in:
Родитель
3dc785e363
Коммит
c4fbfd6c28
|
@ -2239,10 +2239,7 @@ function createShowPopupsMenu(parent) {
|
|||
function popupBlockerMenuCommand(target) {
|
||||
var uri = target.getAttribute("uri");
|
||||
if (uri) {
|
||||
// Make sure we use the content window to open the popup to
|
||||
// prevent it from being able to set flags it shoudn't be able to
|
||||
// set.
|
||||
window.content.open(uri, "", target.getAttribute("features"));
|
||||
window.open(uri, "", target.getAttribute("features"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче