Closed
Bug 1899717
Opened 1 year ago
Closed 1 year ago
Calls to @@dispose at the time of disposal should not be observable by user code
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: debadree333, Assigned: debadree333)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The following code is a bug
let called = 0;
{
using d = {
get [Symbol.dispose]() {
called++;
return () => {};
}
};
}
Comment 1•1 year ago
|
||
Given the code is not enabled anywhere, making it a task.
Severity: -- → N/A
Status: UNCONFIRMED → NEW
Type: defect → task
Ever confirmed: true
Priority: -- → P3
Assignee | ||
Comment 2•1 year ago
|
||
This patch brings all the error handling and checks surrounding AddDisposable
into the implementation of the AddDisposable bytecode and also updates the
implementation to use DisposableResource Records.
Updated•1 year ago
|
Assignee: nobody → debadree333
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/d5d4dd8af6a0
Make calls to @@dispose during disposal unobserveable to the user. r=arai
Comment 4•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•