Open
Bug 1749398
Opened 3 years ago
Updated 3 years ago
onPromptDismiss is not always invoked on page navigation
Categories
(GeckoView :: General, defect, P2)
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: jonalmeida, Assigned: m_kato)
References
Details
(Whiteboard: [geckoview:2022h2?])
Attachments
(1 file)
STR (from Arturo):
- Enable remote debugging
- Go to https://www.w3schools.com/jsref/met_win_alert.asp
- Click the button "Try it" an alert dialog should show.
- On your desktop browser, open that tab on
about:debugging
- Go to the console tab
- Navigate to another website while the dialog is opened
window.location = "http://www.mozilla.org";
Expected behavior
After 6 we expected a call to onPromptDismiss
Actual Behavior
onPromptDismiss
is not called
Reporter | ||
Comment 1•3 years ago
|
||
This stemmed from a sec bug that found these STRs were not covered by the onPromptDismiss
.
See Also: → CVE-2022-22762
Comment 2•3 years ago
|
||
FWIW I think this is a feature request more than a bug, this never worked before.
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P2
Updated•3 years ago
|
Whiteboard: [geckoview:2022h2?]
Assignee | ||
Comment 3•3 years ago
|
||
When modal dialog is shown then page navigation is invoked, onPromptDismiss
isn't called yet. We have to consider this situation.
Updated•3 years ago
|
Assignee: nobody → m_kato
Status: NEW → ASSIGNED
You need to log in
before you can comment on or make changes to this bug.
Description
•