11diff --git a/harness/atomicsHelper.js b/harness/atomicsHelper.js
2- index 9c1217351e..3c24755558 100644
2+ index 9828b15..4a5919d 100644
33--- a/harness/atomicsHelper.js
44+++ b/harness/atomicsHelper.js
5- @@ -227 ,10 +227 ,14 @@ $262.agent.waitUntil = function(typedArray, index, expected) {
5+ @@ -272 ,10 +272 ,14 @@ $262.agent.waitUntil = function(typedArray, index, expected) {
66 * }
77 */
88 $262.agent.timeouts = {
@@ -22,13 +22,13 @@ index 9c1217351e..3c24755558 100644
2222
2323 /**
2424diff --git a/harness/regExpUtils.js b/harness/regExpUtils.js
25- index be7039fda0..7b38abf8df 100644
25+ index b55f3c6..396bad4 100644
2626--- a/harness/regExpUtils.js
2727+++ b/harness/regExpUtils.js
28- @@ -6,24 +6,27 @@ description: |
29- defines: [buildString, testPropertyEscapes, matchValidator]
28+ @@ -6,27 +6,30 @@ description: |
29+ defines: [buildString, testPropertyEscapes, testPropertyOfStrings, testExtendedCharacterClass, matchValidator]
3030 ---*/
31-
31+
3232+ if ($262 && typeof $262.codePointRange === "function") {
3333+ /* use C function to build the codePointRange (much faster with
3434+ slow JS engines) */
@@ -44,7 +44,12 @@ index be7039fda0..7b38abf8df 100644
4444+ }
4545+ }
4646+
47- function buildString({ loneCodePoints, ranges }) {
47+ function buildString(args) {
48+ // Use member expressions rather than destructuring `args` for improved
49+ // compatibility with engines that only implement assignment patterns
50+ // partially or not at all.
51+ const loneCodePoints = args.loneCodePoints;
52+ const ranges = args.ranges;
4853- const CHUNK_SIZE = 10000;
4954- let result = Reflect.apply(String.fromCodePoint, null, loneCodePoints);
5055- for (let i = 0; i < ranges.length; i++) {
@@ -58,14 +63,11 @@ index be7039fda0..7b38abf8df 100644
5863- result += Reflect.apply(String.fromCodePoint, null, codePoints);
5964- codePoints.length = length = 0;
6065- }
61- + let result = String.fromCodePoint.apply(null, loneCodePoints);
62- + for (const [start, end] of ranges) {
63- + result += codePointRange(start, end + 1);
64- }
66+ - }
6567- result += Reflect.apply(String.fromCodePoint, null, codePoints);
66- - }
67- - return result;
68- + return result;
68+ + let result = String.fromCodePoint.apply(null, loneCodePoints);
69+ + for (const [start, end] of ranges) {
70+ + result += codePointRange(start, end + 1);
71+ }
72+ return result;
6973 }
70-
71- function testPropertyEscapes(regex, string, expression) {
0 commit comments