mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 495058 - Location bar emptyText not shown when deteaching blank tab or about:privatebrowsing into a new window. r=gavin
This commit is contained in:
parent
9d8fa4032b
commit
b3741649cc
@ -1237,7 +1237,7 @@ function delayedStartup(isLoadingBlank, mustLoadSidebar) {
|
||||
focusElement(content);
|
||||
|
||||
if (gURLBar)
|
||||
gURLBar.setAttribute("emptytext", gURLBarEmptyText.value);
|
||||
gURLBar.emptyText = gURLBarEmptyText.value;
|
||||
|
||||
gNavToolbox.customizeDone = BrowserToolboxCustomizeDone;
|
||||
gNavToolbox.customizeChange = BrowserToolboxCustomizeChange;
|
||||
|
@ -38,7 +38,7 @@ function next() {
|
||||
is(win.document.activeElement, win.gBrowser.selectedBrowser, uri + ": browser is focused");
|
||||
is(win.gURLBar.value, "", uri + ": urlbar is empty");
|
||||
ok(win.gURLBar.emptyText, uri + ": emptytext is present");
|
||||
todo(win.gURLBar.hasAttribute("isempty"), uri + ": emptytext is displayed");
|
||||
ok(win.gURLBar.hasAttribute("isempty"), uri + ": emptytext is displayed");
|
||||
|
||||
win.close();
|
||||
if (uris.length)
|
||||
|
Loading…
Reference in New Issue
Block a user