Closed
Bug 1979965
Opened 1 year ago
Closed 3 months ago
Update PreserveWrapperCallback signature to reflect the present reality that it's infallible
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: alexical, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1979965 part 4 - Assert pending wrapper preservations are never CCWs. r?#spidermonkey-reviewers!
48 bytes,
text/x-phabricator-request
|
Details | Review |
Currently the callback signature has a bool return value suggesting it can fail, but in practice it cannot, so we should just clean that up.
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P3
Updated•1 year ago
|
Comment 1•5 months ago
|
||
This change would have marginally simplified my code review experience for bug 2038575.
| Assignee | ||
Comment 2•3 months ago
|
||
Stealing because this also comes up in code audits sometimes.
Assignee: dothayer → jdemooij
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
We already asserted this; the patch just makes it explicit.
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Comment 6•3 months ago
|
||
Pushed by jdemooij@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/343c90b97936
https://hg.mozilla.org/integration/autoland/rev/825bf4f2cc1e
part 1 - Make dom::TryPreserveWrapper infallible. r=spidermonkey-reviewers,dom-worker-reviewers,mccr8,mgaudet,asuth
https://github.com/mozilla-firefox/firefox/commit/3becbccee3d6
https://hg.mozilla.org/integration/autoland/rev/7c952600ea00
part 2 - Make PreserveWrapperCallback infallible. r=spidermonkey-reviewers,dom-worker-reviewers,mccr8,mgaudet,asuth
https://github.com/mozilla-firefox/firefox/commit/58c8e6098067
https://hg.mozilla.org/integration/autoland/rev/72881acbe1a5
part 3 - Inline WeakRefObject::preserveDOMWrapper and FinalizationRegistryObject::preserveDOMWrapper. r=spidermonkey-reviewers,mgaudet
https://github.com/mozilla-firefox/firefox/commit/8a335fb54823
https://hg.mozilla.org/integration/autoland/rev/6cf788dbc3c3
part 4 - Assert pending wrapper preservations are never CCWs. r=spidermonkey-reviewers,mgaudet
Comment 8•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/825bf4f2cc1e
https://hg.mozilla.org/mozilla-central/rev/7c952600ea00
https://hg.mozilla.org/mozilla-central/rev/72881acbe1a5
https://hg.mozilla.org/mozilla-central/rev/6cf788dbc3c3
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in
before you can comment on or make changes to this bug.
Description
•