Skip to content

Commit 4b848d8

Browse files
committed
[GR-50079] Removing v8-compat mode related deviation in Array.prototype.toLocaleString().
PullRequest: js/2982
2 parents 04fd337 + f9c91bb commit 4b848d8

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/builtins/ArrayPrototypeBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ public abstract static class JSArrayToLocaleStringNode extends JSArrayOperation
18791879

18801880
public JSArrayToLocaleStringNode(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation) {
18811881
super(context, builtin, isTypedArrayImplementation);
1882-
this.passArguments = context.isOptionIntl402() && !context.isOptionV8CompatibilityMode();
1882+
this.passArguments = context.isOptionIntl402();
18831883
this.stringBuilderProfile = StringBuilderProfile.create(context.getStringLengthLimit());
18841884
}
18851885

graal-js/test/testV8.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@
260260
"filePath" : "mjsunit/array-tolocalestring.js",
261261
"status" : "FAIL",
262262
"comment" : "new failures 2023-10-09"
263-
}, {
264-
"filePath" : "mjsunit/array-tostring.js",
265-
"status" : "FAIL",
266-
"comment" : "new failures 2023-10-09"
267263
}, {
268264
"filePath" : "mjsunit/asm/asm-heap.js",
269265
"runInIsolation" : true,
@@ -725,10 +721,6 @@
725721
"filePath" : "mjsunit/es6/typedarray-set-bytelength-not-smi.js",
726722
"status" : "FAIL",
727723
"comment" : "TODO: evaluate (V8 tests update 2018-10-29)"
728-
}, {
729-
"filePath" : "mjsunit/es6/typedarray-tostring.js",
730-
"status" : "FAIL",
731-
"comment" : "new failures 2023-10-09"
732724
}, {
733725
"filePath" : "mjsunit/es6/typedarray.js",
734726
"status" : "FAIL",

0 commit comments

Comments
 (0)