Closed
Bug 1448119
Opened 8 years ago
Closed 2 years ago
window.open() should do something diferent than it does when passed a feature string
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rico.masseran, Unassigned)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180314095556
Steps to reproduce:
var windowObjectReference;
var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";
function openRequestedPopup() {
windowObjectReference = window.open("http://www.cnn.com/", "CNN_WindowName", strWindowFeatures);
}
openRequestedPopup()
Actual results:
The opened window is very similar to the popup type window except it has a navigation bar. However, the opened window if of type "normal".
Expected results:
A window opened without a tabbar (aka a single page window) should be declared of type "popup" instead of "normal".
https://github.com/Morikko/sync-tab-groups/issues/71
The users of my extension and myself saw those windows as popup (temporary) windows. As it is often bank account page, notifications... So declaring them as "popup" would make the detection easier to behave differently on those windows.
Also, Chromium set those windows with "popup" type.
Comment 1•8 years ago
|
||
I'm not familiar with this area, but AIUI, this is more like an enhancement request and as for initial triage, I believe that webextensions is a good place to start.
Severity: normal → enhancement
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Updated•8 years ago
|
Component: WebExtensions: Untriaged → DOM
Product: Toolkit → Core
Summary: window open tabbar → window.open() should do something diferent than it does when passed a feature string
Updated•8 years ago
|
Priority: -- → P3
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Comment 2•6 years ago
|
||
What do you mean by "type" ?
Are you referring some property accessible to JavaScript?
fwiw, UI-visibility-related features items have been changed to a condition for whether to open popup or not
https://bugzilla.mozilla.org/show_bug.cgi?id=1507375
Flags: needinfo?(rico.masseran)
Updated•4 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Attachment #9384229 -
Attachment is obsolete: true
Comment 4•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:sefeng, since the bug has recent activity, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(rico.masseran) → needinfo?(sefeng)
Comment 5•2 years ago
|
||
I am going to close this bug given this is a 6 years old bug and there's not enough interests to pursue this further.
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(sefeng)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•