Closed
Bug 1781008
Opened 7 months ago
Closed 6 months 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
(Blocks 1 open bug)
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•7 months ago
|
||
The error reporting part needs bug 1773324 patches.
Depends on: 1773324
Assignee | ||
Updated•7 months ago
|
Priority: -- → P1
Assignee | ||
Comment 2•7 months ago
|
||
bug 1781183 will handle the stack limit part.
error reporting part will be handled here.
Assignee | ||
Comment 3•7 months ago
|
||
Depends on D152778
Updated•7 months ago
|
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•7 months ago
|
||
Depends on D152779
Assignee | ||
Comment 5•7 months ago
|
||
Depends on D152780
Assignee | ||
Comment 6•7 months 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•7 months 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•6 months ago
|
Keywords: leave-open
Assignee | ||
Comment 9•6 months ago
|
||
Comment 10•6 months ago
|
||
bugherder |
Comment 11•6 months 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•6 months ago
|
||
bugherder |
Assignee | ||
Updated•6 months ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 months 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
•