Skip to content

Commit

Permalink
Add json-parse-with-source feature to boa_tester (#2778)
Browse files Browse the repository at this point in the history
This PR resolves the failing CI in #2777

It changes the following:

- Adds `json-parse-with-source` feature to `boa_tester`
- Bumps `test262` module to `be0abd9`
  • Loading branch information
HalidOdat committed Apr 3, 2023
1 parent 0771427 commit 0fb0558
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions boa_tester/src/edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ static FEATURE_EDITION: phf::Map<&'static str, SpecEdition> = phf::phf_map! {
// https://github.com/tc39/proposal-json-modules
"json-modules" => SpecEdition::ESNext,

// JSON.parse with source
// https://github.com/tc39/proposal-json-parse-with-source
"json-parse-with-source" => SpecEdition::ESNext,

// Resizable Arraybuffer
// https://github.com/tc39/proposal-resizablearraybuffer
"resizable-arraybuffer" => SpecEdition::ESNext,
Expand Down
2 changes: 1 addition & 1 deletion test262
Submodule test262 updated 50 files
+4 −0 features.txt
+1 −1 src/decorator/decorator-call-expr-identifier-reference-yield.case
+1 −1 src/decorator/decorator-call-expr-identifier-reference.case
+1 −1 src/decorator/decorator-member-expr-decorator-member-expr.case
+11 −9 src/decorator/decorator-member-expr-private-identifier.case
+2 −14 test/built-ins/ArrayBuffer/prototype/transfer/new-length-excessive.js
+23 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/descriptor.js
+15 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/extensible.js
+34 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-fixed-to-larger.js
+35 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-fixed-to-same.js
+32 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-fixed-to-smaller.js
+26 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-fixed-to-zero.js
+34 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-resizable-to-larger.js
+35 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-resizable-to-same.js
+32 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-resizable-to-smaller.js
+26 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/from-resizable-to-zero.js
+30 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/length.js
+27 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/name.js
+16 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/new-length-excessive.js
+39 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/new-length-non-number.js
+25 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/nonconstructor.js
+27 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/this-is-detached.js
+28 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/this-is-not-arraybuffer-object.js
+44 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/this-is-not-object.js
+20 −0 test/built-ins/ArrayBuffer/prototype/transferToFixedLength/this-is-sharedarraybuffer.js
+17 −14 test/built-ins/Object/prototype/toString/symbol-tag-non-str-builtin.js
+40 −0 test/built-ins/TypedArray/prototype/filter/BigInt/speciesctor-destination-resizable.js
+42 −0 ...pedArray/prototype/filter/BigInt/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+40 −0 test/built-ins/TypedArray/prototype/filter/speciesctor-destination-resizable.js
+42 −0 ...-ins/TypedArray/prototype/filter/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+40 −0 test/built-ins/TypedArray/prototype/map/BigInt/speciesctor-destination-resizable.js
+43 −0 .../TypedArray/prototype/map/BigInt/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+40 −0 test/built-ins/TypedArray/prototype/map/speciesctor-destination-resizable.js
+43 −0 ...ilt-ins/TypedArray/prototype/map/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+40 −0 test/built-ins/TypedArray/prototype/slice/BigInt/speciesctor-destination-resizable.js
+43 −0 ...ypedArray/prototype/slice/BigInt/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+40 −0 test/built-ins/TypedArray/prototype/slice/speciesctor-destination-resizable.js
+43 −0 ...t-ins/TypedArray/prototype/slice/speciesctor-get-species-custom-ctor-length-throws-resizable-arraybuffer.js
+11 −9 test/language/expressions/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js
+1 −1 test/language/expressions/class/decorator/syntax/valid/decorator-call-expr-identifier-reference-yield.js
+1 −1 test/language/expressions/class/decorator/syntax/valid/decorator-call-expr-identifier-reference.js
+1 −1 test/language/expressions/class/decorator/syntax/valid/decorator-member-expr-decorator-member-expr.js
+11 −9 test/language/statements/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js
+1 −1 .../language/statements/class/decorator/syntax/valid/class-element-decorator-call-expr-identifier-reference.js
+1 −1 ...nguage/statements/class/decorator/syntax/valid/class-element-decorator-member-expr-decorator-member-expr.js
+1 −1 test/language/statements/class/decorator/syntax/valid/decorator-call-expr-identifier-reference-yield.js
+1 −1 test/language/statements/class/decorator/syntax/valid/decorator-call-expr-identifier-reference.js
+1 −1 test/language/statements/class/decorator/syntax/valid/decorator-member-expr-decorator-member-expr.js
+94 −0 test/staging/JSON/json-parse-with-source-snapshot.js
+289 −0 test/staging/JSON/json-parse-with-source.js

0 comments on commit 0fb0558

Please sign in to comment.