Closed
Bug 1732953
Opened 3 years ago
Closed 3 years ago
user-interaction flag isn't inherited if the result promise is optimized out
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
Promise.prototype.then
optimizes out the result promise if the value isn't in JS code,
but user-interaction code uses the promise internally.
we should check the user-interaction flag and do not optimize the result promise if the flag has non-default value.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/0b9d47b0584a
Do not optimize out the Promise.prototype.{then,catch} return value if user-interaction flag is set. r=yulia
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•