Note: There are a few cases of duplicates in user autocompletion which are being worked on.

WebExtension popups include the page URL in the window title




WebExtensions: Frontend
11 months ago
6 months ago


(Reporter: Gabe O'Leary, Unassigned)


48 Branch
Windows 10

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [design-decision-approved]triaged)



11 months ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce:

When I create a window with a local extension page the title of the window shows the url, and then the page title.{ url: chrome.extension.getURL('compare.html'), type: "popup", state: 'maximized' });

compare.html include:

Actual results:

Visible title of window is : 'moz-extension://extension-id - Compare'

Expected results:

The expected behavior from chrome is for window only display the page title, and not the url preceding: 'Compare'


11 months ago
Component: Untriaged → WebExtensions
OS: Unspecified → Windows 10
Product: Firefox → Toolkit
Hardware: Unspecified → x86_64


11 months ago
Summary: WebExtensions Title of page includes page url (ugly) → WebExtension popups include the page URL in the window title


11 months ago
Component: WebExtensions → WebExtensions: Frontend
Ever confirmed: true
Whiteboard: [design-decision-needed]


10 months ago
Priority: -- → P5
Whiteboard: [design-decision-needed] → [design-decision-needed]triaged


10 months ago
Duplicate of this bug: 1305032
To be discussed at Dec. 13, 2016 WE triage meeting. 


Comment 3

7 months ago
We've been trying to make it clear that when something happens, the reason for it is clear to the end user. The ability to create a popup with no URL bar means that there could be absolutely no info to the user. 

In bug 1266012 we show the add-on in the URL bar and in bug 1318144 we show the add-on in the ID. I think we should continue the trend and the page title should contain Extension: [Extension name] - Page title. Much nicer than showing moz-extension and more informative to the end user.

Just pinging dveditz to check that sounds right.
Flags: needinfo?(dveditz)
The main thing we're trying to accomplish with the URL bar for web page popups is to prevent spoofing/phishing by showing exactly where the content originated from. The URL for a web extension doesn't convey much to a user except "this is an extension" so we don't need to show that as long as the popup can't be confused with one from a web page. Your proposal sounds like it does that. If it's not explicitly it doesn't even really need a URL bar; a panel with some title text would do (plus the "Extension:" prefix), which seems to be what this bug is asking for.

bug 1318144 is not right; bug 1318114 is maybe what you meant?
Flags: needinfo?(dveditz)

Comment 5

7 months ago
> bug 1318144 is not right; bug 1318114 is maybe what you meant?

Thanks for the correction and clarity. Sounds like we are good to go with this.


6 months ago
Whiteboard: [design-decision-needed]triaged → [design-decision-approved]triaged
You need to log in before you can comment on or make changes to this bug.