summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-05-11 20:50:29 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-05-11 20:50:29 -0400
commit3f256fab9a5482938f8834256cfdab0162bf466a (patch)
tree431d04724684a3c871294e19d26c3b51e075b5fc /base
parentd20ec361e03ec7f0a0c9931b451bbdd06539f87e (diff)
downloadiceweasel-uxp-3f256fab9a5482938f8834256cfdab0162bf466a.tar.gz
Backport UXP #1066 - Restore BROWSER_NEW_TAB_URL check
Fixes address bar focus in new tab of private window
Diffstat (limited to 'base')
-rw-r--r--base/content/utilityOverlay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/content/utilityOverlay.js b/base/content/utilityOverlay.js
index c8d8521..cf39016 100644
--- a/base/content/utilityOverlay.js
+++ b/base/content/utilityOverlay.js
@@ -34,7 +34,7 @@ var gBidiUI = false;
* Determines whether the given url is considered a special URL for new tabs.
*/
function isBlankPageURL(aURL) {
- return aURL == "about:blank" || aURL == "about:newtab" || aURL == "about:logopage";
+ return aURL == "about:blank" || aURL == BROWSER_NEW_TAB_URL || aURL == "about:logopage";
}
function getBrowserURL()