The default bug view has changed. See this FAQ.

WebExtension popups include the page URL in the window title

NEW
Unassigned

Status

()

Toolkit
WebExtensions: Frontend
P5
normal
7 months ago
3 months ago

People

(Reporter: Gabe O'Leary, Unassigned)

Tracking

48 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

7 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.
chrome.windows.create({ url: chrome.extension.getURL('compare.html'), type: "popup", state: 'maximized' });

compare.html include:
<html>
<head>
<title>Compare</title>
...
</head>
...
</html>



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'
(Reporter)

Updated

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

Updated

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

Updated

7 months ago
Status: UNCONFIRMED → NEW
Component: WebExtensions → WebExtensions: Frontend
Ever confirmed: true
Whiteboard: [design-decision-needed]

Updated

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

Updated

6 months ago
Duplicate of this bug: 1305032

Comment 2

4 months ago
To be discussed at Dec. 13, 2016 WE triage meeting. 

Agenda: https://docs.google.com/document/d/1S1QrBK1hrulE7dlLiQzjMupHUUSwDYRYAOXiqtMHe-k/edit#

Comment 3

4 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 window.open() 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

3 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.

Updated

3 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.