Closed Bug 1377148 Opened 8 years ago Closed 8 years ago

New windows are not isolated

Categories

(Core :: General, enhancement)

56 Branch
x86_64
Windows
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ashley, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce: Visit this URL: https://www.scirra.com/labs/bugs/popup-isolation/ Try each of the four options to open a new tab/window. In the window that opens, click the "hang" button to hang for 3 seconds. Check if this action affects the original window. Actual results: In every case, the main thread is shared with the parent window, so clicking the button causes the parent window to freeze as well. Expected results: There should be isolation in at least some of these cases. At least the rel=noopener link, and the cross-origin popup window, should not be able to have any impact on the parent window. Chrome only isolates the rel=noopener case - I filed a bug for isolating the cross-origin popup case at crbug.com/738046. Edge does well on this and manages to isolate all four cases!
Component: Untriaged → DOM: Security
Product: Firefox → Core
How browsers allocate threads/processes to web content is not specified in any standard. Your "Expected" result is more of a "Desired" result, but the reality depends on how the browser is implemented. Not sure where to file this, but it's not "DOM: Security". Some architecture component?
Component: DOM: Security → Untriaged
I can reproduce this issue on Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0 I am thinking this is an e10s issue? I am not 100% sure.
Jim - where should something like this live?
Severity: normal → enhancement
Flags: needinfo?(jmathies)
OS: Unspecified → Windows
Hardware: Unspecified → x86_64
(In reply to ashley from comment #0) > User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 > (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 > > Steps to reproduce: > > Visit this URL: https://www.scirra.com/labs/bugs/popup-isolation/ > > Try each of the four options to open a new tab/window. In the window that > opens, click the "hang" button to hang for 3 seconds. Check if this action > affects the original window. > > > Actual results: > > In every case, the main thread is shared with the parent window, so clicking > the button causes the parent window to freeze as well. Good site isolation can be had by simply bumping up your processCount pref. I have about 15 tabs open and the "hang" button didn't jank any other tab in my browser. We'll be working on improving site isolation over time through various projects. This bug is not actionable on it's own, although it does have a good test case for qa.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jmathies)
Resolution: --- → INVALID
The default process count appears to be 4, and if the only Firefox window I have open is the repro URL, the popup still hangs the parent window. I tested the latest Nightly. Do I need to increase the process count above 4 to have 2 windows isolated? If so, how come? If not, is it still a bug?
Moving from Core::Untriaged to Core::General https://bugzilla.mozilla.org/show_bug.cgi?id=1407598
Component: Untriaged → General
You need to log in before you can comment on or make changes to this bug.