Closed
Bug 1329465
Opened 8 years ago
Closed 8 years ago
Add limit to window.open()
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1310659
People
(Reporter: mystiquewolf, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507
Steps to reproduce:
Make an HTML document with the following code: http://pastebin.com/2qKd149H
Click the button.
Imagine if it were 300. Guess you will need much RAM.
Chrome opens only the first tab.
Actual results:
Many tabs opened.
Expected results:
Maybe there should be a limit like (not Chrome's one) 10 tabs or 7 tabs. What site would need more than that?
Updated•8 years ago
|
Component: Untriaged → DOM
Product: Firefox → Core
Updated•8 years ago
|
Group: core-security → dom-core-security
Comment 1•8 years ago
|
||
Pretty sure adding a limit is a dupe of one of the "eviltraps" mitigations. Would be a great idea.
Updated•8 years ago
|
Priority: -- → P3
Comment 2•8 years ago
|
||
We have a limit if window.open() opens popups rather than tabs. We should apply the same limit to tabs.
Comment 3•8 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #2)
> We have a limit if window.open() opens popups rather than tabs. We should
> apply the same limit to tabs.
Hm, popup blocker didn't block the popup somehow.
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•