From c0fd89c3c089e888c4f4e8582e56db7066fa779b Mon Sep 17 00:00:00 2001 From: Patrick Thier Date: Thu, 17 Jun 2021 11:15:41 +0000 Subject: [PATCH] Reland "Reland "Reland "Improve error messages for property access on null/undefined""" This is a reland of 819c3ae2f87fc7ad634fe4356de6653bb3cb3b87 Original change's description: > Reland "Reland "Improve error messages for property access on null/undefined"" > > This is a reland of 8b18c5e6a534d7c459a16aebdd4fe05133db6dea > > Original change's description: > > Reland "Improve error messages for property access on null/undefined" > > > > This is a reland of 24c626c1f7809ce725e56152ab2928696a2f8e9e > > > > Original change's description: > > > Improve error messages for property access on null/undefined > > > > > > Only print the property name when accessing null/undefined if we can > > > convert it to a string without causing side effects. > > > If we can't, omit the property name in the error message. > > > This should avoid confusion when the key is an object with toString(). > > > E.g. undefined[{toString:()=>'a'}] doesn't print 'read property [object > > > Object]' anymore, which was misleading since the property accessed would > > > be 'a', but we can't evaluate the key without side effects. > > > > > > Bug: v8:11365 > > > Change-Id: If82d1adb42561d4851e2bd2ca297a1c71738aee8 > > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2960211 > > > Reviewed-by: Toon Verwaest > > > Commit-Queue: Patrick Thier > > > Cr-Commit-Position: refs/heads/master@{#75250} > > > > Bug: v8:11365 > > Change-Id: Ie2312337f4f1915faa31528a728d90833d80dbd1 > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2979599 > > Reviewed-by: Toon Verwaest > > Commit-Queue: Patrick Thier > > Cr-Commit-Position: refs/heads/master@{#75571} > > Bug: v8:11365 > Change-Id: I90360641ecd870bd93247aa6d91dfb0ad049cfb8 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3008219 > Auto-Submit: Patrick Thier > Commit-Queue: Toon Verwaest > Reviewed-by: Toon Verwaest > Cr-Commit-Position: refs/heads/master@{#75604} Bug: v8:11365 Change-Id: I002b537144f328ccbbdcd655e26e5dc87c49c6f5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3013935 Reviewed-by: Toon Verwaest Commit-Queue: Patrick Thier Cr-Commit-Position: refs/heads/master@{#75645} --- src/common/message-template.h | 8 +- src/execution/messages.cc | 15 +- src/ic/ic.cc | 3 +- src/objects/objects.cc | 18 +- src/objects/objects.h | 3 + src/runtime/runtime-classes.cc | 9 +- src/runtime/runtime-object.cc | 19 +- .../PrivateAccessorAccess.golden | 8 +- .../PrivateMethodAccess.golden | 4 +- .../StaticPrivateMethodAccess.golden | 20 +- .../debug-evaluate-receiver-before-super.js | 2 +- ...estructuring-undefined-number-property.out | 6 +- test/message/fail/overwritten-builtins.out | 4 +- .../fail/undefined-keyed-computed-property.js | 6 + .../undefined-keyed-computed-property.out | 9 + .../fail/undefined-keyed-number-property.js | 6 + .../fail/undefined-keyed-number-property.out | 9 + .../fail/undefined-keyed-string-property.js | 6 + .../fail/undefined-keyed-string-property.out | 9 + .../delete-getters-setters-expected.txt | 32 +- ...ture-elimination-for-non-cell-expected.txt | 2 +- ...when-both-proven-final-object-expected.txt | 100 ++--- ...ther-when-proven-final-object-expected.txt | 100 ++--- ...se-from-all-the-places-broken-expected.txt | 400 +++++++++--------- ...when-both-proven-final-object-expected.txt | 100 ++--- ...ther-when-proven-final-object-expected.txt | 100 ++--- test/webkit/fast/js/arguments-expected.txt | 2 +- .../array-prototype-properties-expected.txt | 2 +- .../fast/js/basic-strict-mode-expected.txt | 8 +- .../fast/js/date-toisostring-expected.txt | 4 +- 30 files changed, 549 insertions(+), 465 deletions(-) create mode 100644 test/message/fail/undefined-keyed-computed-property.js create mode 100644 test/message/fail/undefined-keyed-computed-property.out create mode 100644 test/message/fail/undefined-keyed-number-property.js create mode 100644 test/message/fail/undefined-keyed-number-property.out create mode 100644 test/message/fail/undefined-keyed-string-property.js create mode 100644 test/message/fail/undefined-keyed-string-property.out diff --git a/src/common/message-template.h b/src/common/message-template.h index dd1bfbdb90..89ef319db1 100644 --- a/src/common/message-template.h +++ b/src/common/message-template.h @@ -129,8 +129,12 @@ namespace internal { T(NonObjectAssertOption, "The 'assert' option must be an object") \ T(NonObjectInInstanceOfCheck, \ "Right-hand side of 'instanceof' is not an object") \ - T(NonObjectPropertyLoad, "Cannot read property '%' of %") \ - T(NonObjectPropertyStore, "Cannot set property '%' of %") \ + T(NonObjectPropertyLoad, "Cannot read properties of %") \ + T(NonObjectPropertyLoadWithProperty, \ + "Cannot read properties of % (reading '%')") \ + T(NonObjectPropertyStore, "Cannot set properties of %") \ + T(NonObjectPropertyStoreWithProperty, \ + "Cannot set properties of % (setting '%')") \ T(NonObjectImportArgument, \ "The second argument to import() must be an object") \ T(NonStringImportAssertionValue, "Import assertion value must be a string") \ diff --git a/src/execution/messages.cc b/src/execution/messages.cc index dc12b0186d..ad530e1f2a 100644 --- a/src/execution/messages.cc +++ b/src/execution/messages.cc @@ -896,6 +896,9 @@ Object ErrorUtils::ThrowLoadFromNullOrUndefined(Isolate* isolate, if (key.ToHandle(&key_handle)) { if (key_handle->IsString()) { maybe_property_name = Handle::cast(key_handle); + } else { + maybe_property_name = + Object::NoSideEffectsToMaybeString(isolate, key_handle); } } @@ -969,14 +972,16 @@ Object ErrorUtils::ThrowLoadFromNullOrUndefined(Isolate* isolate, } } else { Handle key_handle; - if (!key.ToHandle(&key_handle)) { - key_handle = ReadOnlyRoots(isolate).undefined_value_handle(); - } - if (*key_handle == ReadOnlyRoots(isolate).iterator_symbol()) { + if (!key.ToHandle(&key_handle) || + !maybe_property_name.ToHandle(&property_name)) { + error = isolate->factory()->NewTypeError( + MessageTemplate::kNonObjectPropertyLoad, object); + } else if (*key_handle == ReadOnlyRoots(isolate).iterator_symbol()) { error = NewIteratorError(isolate, object); } else { error = isolate->factory()->NewTypeError( - MessageTemplate::kNonObjectPropertyLoad, key_handle, object); + MessageTemplate::kNonObjectPropertyLoadWithProperty, object, + property_name); } } diff --git a/src/ic/ic.cc b/src/ic/ic.cc index 9c46804cd8..047a74cfd3 100644 --- a/src/ic/ic.cc +++ b/src/ic/ic.cc @@ -1726,7 +1726,8 @@ MaybeHandle StoreIC::Store(Handle object, Handle name, SetCache(name, StoreHandler::StoreSlow(isolate())); TraceIC("StoreIC", name); } - return TypeError(MessageTemplate::kNonObjectPropertyStore, object, name); + return TypeError(MessageTemplate::kNonObjectPropertyStoreWithProperty, name, + object); } JSObject::MakePrototypesFast(object, kStartAtPrototype, isolate()); diff --git a/src/objects/objects.cc b/src/objects/objects.cc index f6489a5f7b..d86438dde0 100644 --- a/src/objects/objects.cc +++ b/src/objects/objects.cc @@ -464,8 +464,8 @@ Handle NoSideEffectsErrorToString(Isolate* isolate, } // namespace // static -Handle Object::NoSideEffectsToString(Isolate* isolate, - Handle input) { +MaybeHandle Object::NoSideEffectsToMaybeString(Isolate* isolate, + Handle input) { DisallowJavascriptExecution no_js(isolate); if (input->IsString() || input->IsNumber() || input->IsOddball()) { @@ -562,6 +562,20 @@ Handle Object::NoSideEffectsToString(Isolate* isolate, } } } + return MaybeHandle(kNullMaybeHandle); +} + +// static +Handle Object::NoSideEffectsToString(Isolate* isolate, + Handle input) { + DisallowJavascriptExecution no_js(isolate); + + // Try to convert input to a meaningful string. + MaybeHandle maybe_string = NoSideEffectsToMaybeString(isolate, input); + Handle string_handle; + if (maybe_string.ToHandle(&string_handle)) { + return string_handle; + } // At this point, input is either none of the above or a JSReceiver. diff --git a/src/objects/objects.h b/src/objects/objects.h index 7be9c731e8..92cd9aff4e 100644 --- a/src/objects/objects.h +++ b/src/objects/objects.h @@ -410,6 +410,9 @@ class Object : public TaggedImpl { V8_WARN_UNUSED_RESULT static inline MaybeHandle ToString( Isolate* isolate, Handle input); + V8_EXPORT_PRIVATE static MaybeHandle NoSideEffectsToMaybeString( + Isolate* isolate, Handle input); + V8_EXPORT_PRIVATE static Handle NoSideEffectsToString( Isolate* isolate, Handle input); diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc index 436db16a8f..ecdab593b2 100644 --- a/src/runtime/runtime-classes.cc +++ b/src/runtime/runtime-classes.cc @@ -675,11 +675,12 @@ MaybeHandle GetSuperHolder(Isolate* isolate, PrototypeIterator iter(isolate, home_object); Handle proto = PrototypeIterator::GetCurrent(iter); if (!proto->IsJSReceiver()) { - MessageTemplate message = mode == SuperMode::kLoad - ? MessageTemplate::kNonObjectPropertyLoad - : MessageTemplate::kNonObjectPropertyStore; + MessageTemplate message = + mode == SuperMode::kLoad + ? MessageTemplate::kNonObjectPropertyLoadWithProperty + : MessageTemplate::kNonObjectPropertyStoreWithProperty; Handle name = key->GetName(isolate); - THROW_NEW_ERROR(isolate, NewTypeError(message, name, proto), JSReceiver); + THROW_NEW_ERROR(isolate, NewTypeError(message, proto, name), JSReceiver); } return Handle::cast(proto); } diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc index b47c3f8781..7a0635ea04 100644 --- a/src/runtime/runtime-object.cc +++ b/src/runtime/runtime-object.cc @@ -525,10 +525,21 @@ MaybeHandle Runtime::SetObjectProperty( Handle value, StoreOrigin store_origin, Maybe should_throw) { if (object->IsNullOrUndefined(isolate)) { - THROW_NEW_ERROR( - isolate, - NewTypeError(MessageTemplate::kNonObjectPropertyStore, key, object), - Object); + MaybeHandle maybe_property = + Object::NoSideEffectsToMaybeString(isolate, key); + Handle property_name; + if (maybe_property.ToHandle(&property_name)) { + THROW_NEW_ERROR( + isolate, + NewTypeError(MessageTemplate::kNonObjectPropertyStoreWithProperty, + object, property_name), + Object); + } else { + THROW_NEW_ERROR( + isolate, + NewTypeError(MessageTemplate::kNonObjectPropertyStore, object), + Object); + } } // Check if the given key is an array index. diff --git a/test/cctest/interpreter/bytecode_expectations/PrivateAccessorAccess.golden b/test/cctest/interpreter/bytecode_expectations/PrivateAccessorAccess.golden index dac17a4252..819338ad80 100644 --- a/test/cctest/interpreter/bytecode_expectations/PrivateAccessorAccess.golden +++ b/test/cctest/interpreter/bytecode_expectations/PrivateAccessorAccess.golden @@ -83,7 +83,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 48 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 53 S> */ B(Wide), B(LdaSmi), I16(279), + /* 53 S> */ B(Wide), B(LdaSmi), I16(281), B(Star3), B(LdaConstant), U8(0), B(Star4), @@ -114,7 +114,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 41 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 46 S> */ B(Wide), B(LdaSmi), I16(278), + /* 46 S> */ B(Wide), B(LdaSmi), I16(280), B(Star3), B(LdaConstant), U8(0), B(Star4), @@ -145,7 +145,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 48 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 53 S> */ B(Wide), B(LdaSmi), I16(279), + /* 53 S> */ B(Wide), B(LdaSmi), I16(281), B(Star3), B(LdaConstant), U8(0), B(Star4), @@ -176,7 +176,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 41 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 46 S> */ B(Wide), B(LdaSmi), I16(278), + /* 46 S> */ B(Wide), B(LdaSmi), I16(280), B(Star4), B(LdaConstant), U8(0), B(Star5), diff --git a/test/cctest/interpreter/bytecode_expectations/PrivateMethodAccess.golden b/test/cctest/interpreter/bytecode_expectations/PrivateMethodAccess.golden index 424bc6c8e4..855d8919f3 100644 --- a/test/cctest/interpreter/bytecode_expectations/PrivateMethodAccess.golden +++ b/test/cctest/interpreter/bytecode_expectations/PrivateMethodAccess.golden @@ -56,7 +56,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 44 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 49 S> */ B(Wide), B(LdaSmi), I16(277), + /* 49 S> */ B(Wide), B(LdaSmi), I16(279), B(Star3), B(LdaConstant), U8(0), B(Star4), @@ -88,7 +88,7 @@ bytecodes: [ B(Mov), R(this), R(0), B(Mov), R(context), R(2), /* 44 E> */ B(CallRuntime), U16(Runtime::kAddPrivateBrand), R(0), U8(3), - /* 49 S> */ B(Wide), B(LdaSmi), I16(277), + /* 49 S> */ B(Wide), B(LdaSmi), I16(279), B(Star3), B(LdaConstant), U8(0), B(Star4), diff --git a/test/cctest/interpreter/bytecode_expectations/StaticPrivateMethodAccess.golden b/test/cctest/interpreter/bytecode_expectations/StaticPrivateMethodAccess.golden index 72a5e3d9f6..df2bdc2a09 100644 --- a/test/cctest/interpreter/bytecode_expectations/StaticPrivateMethodAccess.golden +++ b/test/cctest/interpreter/bytecode_expectations/StaticPrivateMethodAccess.golden @@ -24,7 +24,7 @@ bytecodes: [ B(TestReferenceEqual), R(this), B(Mov), R(this), R(1), B(JumpIfTrue), U8(16), - B(Wide), B(LdaSmi), I16(275), + B(Wide), B(LdaSmi), I16(277), B(Star2), B(LdaConstant), U8(0), B(Star3), @@ -55,7 +55,7 @@ frame size: 2 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 56 S> */ B(Wide), B(LdaSmi), I16(277), + /* 56 S> */ B(Wide), B(LdaSmi), I16(279), B(Star0), B(LdaConstant), U8(0), B(Star1), @@ -82,7 +82,7 @@ frame size: 2 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 56 S> */ B(Wide), B(LdaSmi), I16(277), + /* 56 S> */ B(Wide), B(LdaSmi), I16(279), B(Star0), B(LdaConstant), U8(0), B(Star1), @@ -121,7 +121,7 @@ bytecodes: [ B(TestReferenceEqual), R(this), B(Mov), R(this), R(0), B(JumpIfTrue), U8(16), - B(Wide), B(LdaSmi), I16(275), + B(Wide), B(LdaSmi), I16(277), B(Star2), B(LdaConstant), U8(0), B(Star3), @@ -143,7 +143,7 @@ bytecodes: [ B(TestReferenceEqual), R(this), B(Mov), R(this), R(1), B(JumpIfTrue), U8(16), - B(Wide), B(LdaSmi), I16(276), + B(Wide), B(LdaSmi), I16(278), B(Star3), B(LdaConstant), U8(0), B(Star4), @@ -158,7 +158,7 @@ bytecodes: [ B(TestReferenceEqual), R(this), B(Mov), R(this), R(0), B(JumpIfTrue), U8(16), - B(Wide), B(LdaSmi), I16(275), + B(Wide), B(LdaSmi), I16(277), B(Star2), B(LdaConstant), U8(0), B(Star3), @@ -188,7 +188,7 @@ frame size: 2 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 60 S> */ B(Wide), B(LdaSmi), I16(279), + /* 60 S> */ B(Wide), B(LdaSmi), I16(281), B(Star0), B(LdaConstant), U8(0), B(Star1), @@ -214,7 +214,7 @@ frame size: 2 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 53 S> */ B(Wide), B(LdaSmi), I16(278), + /* 53 S> */ B(Wide), B(LdaSmi), I16(280), B(Star0), B(LdaConstant), U8(0), B(Star1), @@ -240,7 +240,7 @@ frame size: 2 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 60 S> */ B(Wide), B(LdaSmi), I16(279), + /* 60 S> */ B(Wide), B(LdaSmi), I16(281), B(Star0), B(LdaConstant), U8(0), B(Star1), @@ -266,7 +266,7 @@ frame size: 3 parameter count: 1 bytecode array length: 14 bytecodes: [ - /* 46 S> */ B(Wide), B(LdaSmi), I16(278), + /* 46 S> */ B(Wide), B(LdaSmi), I16(280), B(Star1), B(LdaConstant), U8(0), B(Star2), diff --git a/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js b/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js index 8fa8645baf..0c1b21e4fa 100644 --- a/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js +++ b/test/debugger/debug/es6/debug-evaluate-receiver-before-super.js @@ -27,7 +27,7 @@ class A { constructor () { this.a = 239; } } class B extends A { constructor () { debugger; - assertTrue(result.indexOf("Cannot read property 'a' of undefined") >= 0); + assertTrue(result.indexOf("Cannot read properties of undefined (reading 'a')") >= 0); super(); debugger; assertEquals(239, result); diff --git a/test/message/fail/destructuring-undefined-number-property.out b/test/message/fail/destructuring-undefined-number-property.out index 1fb13a6f00..5b19c6a756 100644 --- a/test/message/fail/destructuring-undefined-number-property.out +++ b/test/message/fail/destructuring-undefined-number-property.out @@ -1,5 +1,5 @@ -*%(basename)s:5: TypeError: Cannot destructure 'undefined' as it is undefined. +*%(basename)s:5: TypeError: Cannot destructure property '1' of 'undefined' as it is undefined. var { 1: x } = undefined; - ^ -TypeError: Cannot destructure 'undefined' as it is undefined. + ^ +TypeError: Cannot destructure property '1' of 'undefined' as it is undefined. at *%(basename)s:5:10 diff --git a/test/message/fail/overwritten-builtins.out b/test/message/fail/overwritten-builtins.out index 1b5c007723..790cc146b7 100644 --- a/test/message/fail/overwritten-builtins.out +++ b/test/message/fail/overwritten-builtins.out @@ -25,9 +25,9 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*%(basename)s:31: TypeError: Cannot read property 'x' of undefined +*%(basename)s:31: TypeError: Cannot read properties of undefined (reading 'x') undefined.x ^ -TypeError: Cannot read property 'x' of undefined +TypeError: Cannot read properties of undefined (reading 'x') at *%(basename)s:31:11 diff --git a/test/message/fail/undefined-keyed-computed-property.js b/test/message/fail/undefined-keyed-computed-property.js new file mode 100644 index 0000000000..1cc22db9d1 --- /dev/null +++ b/test/message/fail/undefined-keyed-computed-property.js @@ -0,0 +1,6 @@ +// Copyright 2021 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +var x = undefined; +x[{toString:()=>'a'}]; diff --git a/test/message/fail/undefined-keyed-computed-property.out b/test/message/fail/undefined-keyed-computed-property.out new file mode 100644 index 0000000000..262fd82145 --- /dev/null +++ b/test/message/fail/undefined-keyed-computed-property.out @@ -0,0 +1,9 @@ +# Copyright 2021 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +*%(basename)s:6: TypeError: Cannot read properties of undefined +x[{toString:()=>'a'}]; + ^ +TypeError: Cannot read properties of undefined + at *%(basename)s:6:2 diff --git a/test/message/fail/undefined-keyed-number-property.js b/test/message/fail/undefined-keyed-number-property.js new file mode 100644 index 0000000000..38519b5cb1 --- /dev/null +++ b/test/message/fail/undefined-keyed-number-property.js @@ -0,0 +1,6 @@ +// Copyright 2021 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +var x = undefined; +x[4711]; diff --git a/test/message/fail/undefined-keyed-number-property.out b/test/message/fail/undefined-keyed-number-property.out new file mode 100644 index 0000000000..9a5f4cb3c3 --- /dev/null +++ b/test/message/fail/undefined-keyed-number-property.out @@ -0,0 +1,9 @@ +# Copyright 2021 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +*%(basename)s:6: TypeError: Cannot read properties of undefined (reading '4711') +x[4711]; + ^ +TypeError: Cannot read properties of undefined (reading '4711') + at *%(basename)s:6:2 diff --git a/test/message/fail/undefined-keyed-string-property.js b/test/message/fail/undefined-keyed-string-property.js new file mode 100644 index 0000000000..1a79c8fd78 --- /dev/null +++ b/test/message/fail/undefined-keyed-string-property.js @@ -0,0 +1,6 @@ +// Copyright 2021 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +var x = undefined; +x['a']; diff --git a/test/message/fail/undefined-keyed-string-property.out b/test/message/fail/undefined-keyed-string-property.out new file mode 100644 index 0000000000..a8c1294b1b --- /dev/null +++ b/test/message/fail/undefined-keyed-string-property.out @@ -0,0 +1,9 @@ +# Copyright 2021 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +*%(basename)s:6: TypeError: Cannot read properties of undefined (reading 'a') +x['a']; + ^ +TypeError: Cannot read properties of undefined (reading 'a') + at *%(basename)s:6:2 diff --git a/test/webkit/delete-getters-setters-expected.txt b/test/webkit/delete-getters-setters-expected.txt index 4ade6ba85e..e39ddfed25 100644 --- a/test/webkit/delete-getters-setters-expected.txt +++ b/test/webkit/delete-getters-setters-expected.txt @@ -26,22 +26,22 @@ This test checks that deletion of properties works properly with getters and set On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS b1.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS a2.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS b3.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS a4.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS b5.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS a6.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS b7.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS a8.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o1.b.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o1.a.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o3.b.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o4.a.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o5.b.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o6.a.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o7.b.property threw exception TypeError: Cannot read property 'property' of undefined. -PASS o8.a.property threw exception TypeError: Cannot read property 'property' of undefined. +PASS b1.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS a2.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS b3.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS a4.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS b5.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS a6.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS b7.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS a8.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o1.b.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o1.a.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o3.b.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o4.a.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o5.b.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o6.a.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o7.b.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). +PASS o8.a.property threw exception TypeError: Cannot read properties of undefined (reading 'property'). PASS successfullyParsed is true TEST COMPLETE diff --git a/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt b/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt index 5a0941dd39..20bfbed09f 100644 --- a/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt +++ b/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt @@ -216,7 +216,7 @@ PASS baz(i) is 66 PASS baz(i) is 66 PASS baz(i) is 66 PASS baz(i) is 66 -Caught exception: TypeError: Cannot read property 'g' of null +Caught exception: TypeError: Cannot read properties of null (reading 'g') PASS baz(i) is "ERROR" PASS baz(i) is 66 PASS baz(i) is 66 diff --git a/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt b/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt index 71c2f6be78..8d19dc0ded 100644 --- a/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt +++ b/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt @@ -26,105 +26,105 @@ Tests that the CompareEq optimization for the case where one side is predicted f On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] PASS successfullyParsed is true diff --git a/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt b/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt index c288823e5a..9b13adbdf9 100644 --- a/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt +++ b/test/webkit/dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt @@ -26,105 +26,105 @@ Tests that the CompareEq optimization for the case where one side is predicted f On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] PASS successfullyParsed is true diff --git a/test/webkit/dfg-inline-arguments-use-from-all-the-places-broken-expected.txt b/test/webkit/dfg-inline-arguments-use-from-all-the-places-broken-expected.txt index e5ff607abe..b8b5714cf7 100644 --- a/test/webkit/dfg-inline-arguments-use-from-all-the-places-broken-expected.txt +++ b/test/webkit/dfg-inline-arguments-use-from-all-the-places-broken-expected.txt @@ -26,206 +26,206 @@ This attempts to test that inlining preserves basic function.arguments functiona On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. -PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read property 'length' of undefined. +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). +PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read properties of undefined (reading 'length'). PASS successfullyParsed is true TEST COMPLETE diff --git a/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt b/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt index fb9ff074cc..9e7fab7b2f 100644 --- a/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt +++ b/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt @@ -26,105 +26,105 @@ Tests that the peephole CompareEq optimization for the case where one side is pr On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, 42, true] PASS successfullyParsed is true diff --git a/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt b/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt index 52ca1ea27d..a647927778 100644 --- a/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt +++ b/test/webkit/dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt @@ -26,105 +26,105 @@ Tests that the peephole CompareEq optimization for the case where one side is pr On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] -PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. +PASS foo({f:42}, null) threw exception TypeError: Cannot read properties of null (reading 'f'). PASS foo(o, o) is [42, true] PASS successfullyParsed is true diff --git a/test/webkit/fast/js/arguments-expected.txt b/test/webkit/fast/js/arguments-expected.txt index 92ef56ed2d..cc50399260 100644 --- a/test/webkit/fast/js/arguments-expected.txt +++ b/test/webkit/fast/js/arguments-expected.txt @@ -160,7 +160,7 @@ PASS argumentsVarUndefined() is '[object Arguments]' PASS argumentCalleeInException() is argumentCalleeInException PASS shadowedArgumentsApply([true]) is true PASS shadowedArgumentsLength([]) is 0 -PASS shadowedArgumentsLength() threw exception TypeError: Cannot read property 'length' of undefined. +PASS shadowedArgumentsLength() threw exception TypeError: Cannot read properties of undefined (reading 'length'). PASS shadowedArgumentsCallee([]) is undefined. PASS shadowedArgumentsIndex([true]) is true PASS descriptor.value is "one" diff --git a/test/webkit/fast/js/array-prototype-properties-expected.txt b/test/webkit/fast/js/array-prototype-properties-expected.txt index 4ebd4cd97f..9dbea118cf 100644 --- a/test/webkit/fast/js/array-prototype-properties-expected.txt +++ b/test/webkit/fast/js/array-prototype-properties-expected.txt @@ -42,7 +42,7 @@ PASS Array.prototype.every.call(undefined, toString) threw exception TypeError: PASS Array.prototype.forEach.call(undefined, toString) threw exception TypeError: Array.prototype.forEach called on null or undefined. PASS Array.prototype.some.call(undefined, toString) threw exception TypeError: Array.prototype.some called on null or undefined. PASS Array.prototype.indexOf.call(undefined, 0) threw exception TypeError: Array.prototype.indexOf called on null or undefined. -PASS Array.prototype.indlastIndexOfexOf.call(undefined, 0) threw exception TypeError: Cannot read property 'call' of undefined. +PASS Array.prototype.indlastIndexOfexOf.call(undefined, 0) threw exception TypeError: Cannot read properties of undefined (reading 'call'). PASS Array.prototype.filter.call(undefined, toString) threw exception TypeError: Array.prototype.filter called on null or undefined. PASS Array.prototype.reduce.call(undefined, toString) threw exception TypeError: Array.prototype.reduce called on null or undefined. PASS Array.prototype.reduceRight.call(undefined, toString) threw exception TypeError: Array.prototype.reduceRight called on null or undefined. diff --git a/test/webkit/fast/js/basic-strict-mode-expected.txt b/test/webkit/fast/js/basic-strict-mode-expected.txt index 8d31cf32de..dd6bc07845 100644 --- a/test/webkit/fast/js/basic-strict-mode-expected.txt +++ b/test/webkit/fast/js/basic-strict-mode-expected.txt @@ -35,14 +35,14 @@ PASS testLineContinuation.call(undefined) === undefined is false PASS testEscapeSequence.call(undefined) === undefined is false PASS testThis.call('a string') is 'a string' PASS testThisDotAccess.call('a string') is 'a string'.length -PASS testThisDotAccess.call(null) threw exception TypeError: Cannot read property 'length' of null. -PASS testThisDotAccess.call(undefined) threw exception TypeError: Cannot read property 'length' of undefined. +PASS testThisDotAccess.call(null) threw exception TypeError: Cannot read properties of null (reading 'length'). +PASS testThisDotAccess.call(undefined) threw exception TypeError: Cannot read properties of undefined (reading 'length'). PASS testThisDotAccess.call(true) is undefined. PASS testThisDotAccess.call(false) is undefined. PASS testThisDotAccess.call(1) is undefined. PASS testThisBracketAccess.call('a string', 'length') is 'a string'.length -PASS testThisBracketAccess.call(null, 'length') threw exception TypeError: Cannot read property 'length' of null. -PASS testThisBracketAccess.call(undefined, 'length') threw exception TypeError: Cannot read property 'length' of undefined. +PASS testThisBracketAccess.call(null, 'length') threw exception TypeError: Cannot read properties of null (reading 'length'). +PASS testThisBracketAccess.call(undefined, 'length') threw exception TypeError: Cannot read properties of undefined (reading 'length'). PASS testThisBracketAccess.call(true, 'length') is undefined. PASS testThisBracketAccess.call(false, 'length') is undefined. PASS testThisBracketAccess.call(1, 'length') is undefined. diff --git a/test/webkit/fast/js/date-toisostring-expected.txt b/test/webkit/fast/js/date-toisostring-expected.txt index 26517264ae..17f8a09276 100644 --- a/test/webkit/fast/js/date-toisostring-expected.txt +++ b/test/webkit/fast/js/date-toisostring-expected.txt @@ -26,8 +26,8 @@ Tests for Date.toISOString On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS Date.toISOString.call({}) threw exception TypeError: Cannot read property 'call' of undefined. -PASS Date.toISOString.call(0) threw exception TypeError: Cannot read property 'call' of undefined. +PASS Date.toISOString.call({}) threw exception TypeError: Cannot read properties of undefined (reading 'call'). +PASS Date.toISOString.call(0) threw exception TypeError: Cannot read properties of undefined (reading 'call'). PASS new Date(-400).toISOString() is '1969-12-31T23:59:59.600Z' PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z' PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z'