Closed
Bug 1781008
Opened 3 years ago
Closed 3 years ago
Add JSContext-free variant of AutoCheckRecursionLimit
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
105 Branch
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(6 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 | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
js::AutoCheckRecursionLimit is used for checking stack limit inside frontend, and it uses JSContext
to access JS::RootingContext::nativeStackLimit
That part needs to be refactored in order to remove the JSContext
dependency
Assignee | ||
Comment 1•3 years ago
|
||
The error reporting part needs bug 1773324 patches.
Depends on: 1773324
Assignee | ||
Updated•3 years ago
|
Priority: -- → P1
Assignee | ||
Comment 2•3 years ago
|
||
bug 1781183 will handle the stack limit part.
error reporting part will be handled here.
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D152778
Updated•3 years ago
|
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D152779
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D152780
Assignee | ||
Comment 6•3 years ago
|
||
WASI uses extra JSContext fields to track the recursion depth.
Given WASI doesn't support thread, move it to JSContext and
MainThreadErrorContext.
Depends on D152781
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D152782
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/9c5f59e32d19
Part 1: Move ReportOverRecursed implementation to JSContext and ErrorContext. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/dd0966996f42
Part 2: Add BytecodeEmitter::ec. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/241f5f4edede
Part 3: Use ErrorContext instead of JSContext for error reporting in AutoCheckRecursionLimit in frontend. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/65f1ba1ea8b0
Part 4: Wrap WASI recursion check with JSContext and ErrorContext functions. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/a39537ee543a
Part 5: Use JSContext-free variant of AutoCheckRecursionLimit in frontend. r=bthrall
Assignee | ||
Updated•3 years ago
|
Keywords: leave-open
Assignee | ||
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
bugherder |
Comment 11•3 years ago
|
||
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/b8d281829ff6
Part 6: Move comment about WASI recursion limit. r=bthrall
Comment 12•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox105:
--- → fixed
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•