Closed Bug 1682866 Opened 3 years ago Closed 3 years ago

Alert sticks around after you navigate away from the page

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

Firefox 86
Unspecified
All
defect

Tracking

(firefox-esr78 unaffected, firefox84 unaffected, firefox85 unaffected, firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

(Reporter: bj, Assigned: sefeng)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

Attached file alertAndRun.html

Steps to reproduce:

  1. Load the attached file.
  2. Type "https://www.foxnews.com/" in the URL bar and press enter.

Expected:
2) No more alert.

Actual:
2) The alert is still present on the new page.

Only happens for me with fission.autostart = true. The alert is not permanent and goes away when the page has finished loading and the focus switches from the location bar to the page content.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2639768bd77f2b1fe89f62a5a286153cd922639c&tochange=778e524a9f31eb873be112dab17b8b272ba56dde

Regressed by Bug 1662265.

Keywords: regression
Regressed by: 1662265
Version: Trunk → Firefox 86
Has Regression Range: --- → yes
Flags: needinfo?(sefeng)

I'll fix it, thanks for the report!

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Attachment #9194015 - Attachment is obsolete: true

DelayedDeleteRunnable would schedule itself twice and use input priority
for the second time because it only wants to run after everything
that could possibly touch this tab. This was needed because we were
strict with IPC messages. However, this is no longer needed because
IPC messages with destroyed actors will be discarded nowadays, so
we don't have to use input priority anymore.

Another reason for making this change is that input events could be
suspended when the runnable is about to run, so we need to either
use a different priority or resume input events.

Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f64228de0b3
Always use normal priority for DelayedDeleteRunnable r=smaug
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch

This is now fixed.

Flags: needinfo?(sefeng)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: