js: existing conformance programs in js.allow and torb run/check for browser-js (remainder of #678) #682
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Remainder of #678 (slice 1 of the JavaScript back end, docs/design/JAVASCRIPT-BACKEND.md section 6). PR #679 landed the narrower slice:
Architecture.JavaScript, thebrowser-jstarget, the emitter, the runtime,torb build --target browser-js,tests/conformance/javascript_first.trb,js.allowwith that one program,tools/conformance.sh --jsand the CI jobconformance-js.What
browser-jsusing only the slice-1 constructs totests/conformance/js.allow(theconformance-jsjob proves each one).torb runandtorb checkaccept--target browser-jswithout--emit-c.node --testfile pinning the integer tables ofruntime/javascript/int64.mjs; narrow theRangeErrorcheck intorb_runso a non-panic RangeError is not reported as stack overflow.Acceptance criteria
js.allowholds the existing programs that use only the slice-1 constructstorb run --target browser-jsandtorb check --target browser-jswork without--emit-ctorb format --checkandtorb docs checkare greenPart of the epic #63. Refs #678, #679.