alert() spins the event loop, which can cause other alert() calls to happen and cover up the older alert
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: tcaudilllg, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: parity-chrome, parity-edge, Whiteboard: DUPEME)
Reporter | ||
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Reporter | ||
Comment 5•9 years ago
|
||
Reporter | ||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 16•9 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
Comment 18•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•2 years ago
|
Comment 19•1 year ago
|
||
Hello, can I try to solve this bug?
also I want to ask which file should I look to reproduce and solve this bug?
Comment 20•1 year ago
|
||
This is a really complicated issue to fix.
Alert is implemented here https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/dom/base/nsGlobalWindowInner.cpp#3870-3880 but the issue is more about spinning event loop.
We should somehow block running tasks which might trigger any JS on the web page to run while still spinning the event loop so that underlying privileged code (native C++ and JS) can still run.
This is definitely not a good first bug ;)
https://bugzilla.mozilla.org/buglist.cgi?keywords_type=allwords&query_format=advanced&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&list_id=16580470&keywords=good-first-bug%2C%20&resolution=--- has a list of possibly easier bugs.
Comment 21•1 year ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:edgar, since the bug has recent activity, could you have a look please?
For more information, please visit BugBot documentation.
I think comment #20 already provides enough information.
Description
•