Pages with onbeforeunload event can cancel the restart after changing multiprocess mode (on/off)

NEW
Unassigned

Status

()

Firefox
Preferences
3 years ago
2 years ago

People

(Reporter: arni2033, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox43 affected)

Details

(URL)

(Reporter)

Description

3 years ago
STR:   (Win7_64, Nightly 43, 32bit, ID 20150905030205, new profile, safe mode)
1. Open page   data:text/html,<body onbeforeunload="return 1">
2. Open about:preferences#general
3. Click on "Enable multi-process Nightly" checkbox to change its state
4. Click "Stay on page" in the alert message

Result:       Checkbox "Enable multi-process Nightly" changed its state, but browser hasn't restarted
Expectations: Either (A) or (B), or (C) should happen:
             A) Browser restarts after clicking "Stay on page"
             B) Browser suggests the button on about:preferences#general to restart, if
                multiprocess state has changed (reference: button near installed add-on from AMO).
             C) Or clicking on "OK" should do nothing.
Comment hidden (obsolete)
Comment hidden (obsolete)
(Reporter)

Updated

3 years ago
Has STR: --- → yes
(Reporter)

Comment 3

2 years ago
str
Now, to reproduce the bug, you have to click on the opened page in Step 1 (according to bug 636905)
Corrected STR:
 1. Open page   data:text/html,<body onbeforeunload="return 1">   in a new tab. Click on the page.
 2. Open about:preferences#general in a new tab
 3. Click on "Enable multi-process Nightly" checkbox to change its state. Click "OK" (maybe twice)
 4. Click "Stay on page" in the alert message on the page from Step 1.
Results in Comment 0.
You need to log in before you can comment on or make changes to this bug.