| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | throw.yaml | 20 .record panda.Exception <external> 37 title: Throw exception 38 description: Throw an exception located in register. 202 description: Throw an exception located in register. 255 description: Throw an exception located in register. 309 …n: Throw an exception located in register. The current method is searched for the first exception … 394 …n: Throw an exception located in register. The current method is searched for the first exception … 450 isinstance panda.Exception 468 .catch panda.Exception, try_begin, try_end, catch_Ex_block_begin 473 - values: [1, 2, 3, 0, panda.Exception] [all …]
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | cflow_checks.md | 10 exception 19 exception 36 I.e. layout of exception handlers is rather flexible, even 50 exception 69 exception 87 exception 105 ### Code to exception handler 119 exception 137 exception 145 fallthrough on beginning of exception handler are allowed. [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_dataview.cpp | 37 // 1. If NewTarget is undefined, throw a TypeError exception. in DataViewConstructor() 39 THROW_TYPE_ERROR_AND_RETURN(thread, "newtarget is undefined", JSTaggedValue::Exception()); in DataViewConstructor() 42 // 2. If Type(buffer) is not Object, throw a TypeError exception. in DataViewConstructor() 44 THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is not Object", JSTaggedValue::Exception()); in DataViewConstructor() 46 // 3. If buffer does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in DataViewConstructor() 48 … THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is not ArrayBuffer", JSTaggedValue::Exception()); in DataViewConstructor() 56 // 7. If numberOffset ≠ offset or offset < 0, throw a RangeError exception. in DataViewConstructor() 58 THROW_RANGE_ERROR_AND_RETURN(thread, "Offset out of range", JSTaggedValue::Exception()); in DataViewConstructor() 61 // 8. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. in DataViewConstructor() 63 … THROW_TYPE_ERROR_AND_RETURN(thread, "buffer is Detached Buffer", JSTaggedValue::Exception()); in DataViewConstructor() [all …]
|
| D | builtins_weak_map.cpp | 35 // 1.If NewTarget is undefined, throw a TypeError exception in WeakMapConstructor() 39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in WeakMapConstructor() 60 THROW_TYPE_ERROR_AND_RETURN(thread, "iterable is not object", JSTaggedValue::Exception()); in WeakMapConstructor() 68 // If IsCallable(adder) is false, throw a TypeError exception in WeakMapConstructor() 82 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete() 83 // 3.If S does not have a [[WeakMapData]] internal slot, throw a TypeError exception. in Delete() 85 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakMap.", JSTaggedValue::Exception()); in Delete() 104 // 2.If Type(S) is not Object, throw a TypeError exception. in Has() 105 // 3.If S does not have a [[WeakMapData]] internal slot, throw a TypeError exception. in Has() 107 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakMap.", JSTaggedValue::Exception()); in Has() [all …]
|
| D | builtins_reflect.cpp | 29 // 1. If IsCallable(target) is false, throw a TypeError exception. in ReflectApply() 32 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.apply target is not callable", JSTaggedValue::Exception()); in ReflectApply() 59 // 1. If IsConstructor(target) is false, throw a TypeError exception. in ReflectConstruct() 62 …RROR_AND_RETURN(thread, "Reflect.construct target is not constructor", JSTaggedValue::Exception()); in ReflectConstruct() 67 // 3. Else if IsConstructor(newTarget) is false, throw a TypeError exception. in ReflectConstruct() 70 JSTaggedValue::Exception()); in ReflectConstruct() 93 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDefineProperty() 96 …RROR_AND_RETURN(thread, "Reflect.defineProperty target is not object", JSTaggedValue::Exception()); in ReflectDefineProperty() 117 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDeleteProperty() 120 …RROR_AND_RETURN(thread, "Reflect.deleteProperty target is not object", JSTaggedValue::Exception()); in ReflectDeleteProperty() [all …]
|
| D | builtins_finalization_registry.cpp | 33 // 1. If NewTarget is undefined, throw a TypeError exception. in FinalizationRegistryConstructor() 35 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in FinalizationRegistryConstructor() 37 // 2. If IsCallable(cleanupCallback) is false, throw a TypeError exception. in FinalizationRegistryConstructor() 40 … THROW_TYPE_ERROR_AND_RETURN(thread, "cleanupCallback not Callable", JSTaggedValue::Exception()); in FinalizationRegistryConstructor() 76 JSTaggedValue::Exception()); in Register() 78 // 3. If Type(target) is not Object, throw a TypeError exception. in Register() 80 THROW_TYPE_ERROR_AND_RETURN(thread, "target is not object", JSTaggedValue::Exception()); in Register() 82 // 4. If SameValue(target, heldValue) is true, throw a TypeError exception. in Register() 84 …E_ERROR_AND_RETURN(thread, "target and heldValue should not be equal", JSTaggedValue::Exception()); in Register() 87 // a. If unregisterToken is not undefined, throw a TypeError exception. in Register() [all …]
|
| D | builtins_map.cpp | 33 // 1.If NewTarget is undefined, throw a TypeError exception in MapConstructor() 37 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in MapConstructor() 58 THROW_TYPE_ERROR_AND_RETURN(thread, "iterable is not object", JSTaggedValue::Exception()); in MapConstructor() 75 // 2.If Type(S) is not Object, throw a TypeError exception. in Set() 76 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Set() 78 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Set() 97 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear() 98 // 3.If S does not have a [[MapData]] internal slot, throw a TypeError exception. in Clear() 100 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSMap", JSTaggedValue::Exception()); in Clear() 113 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete() [all …]
|
| D | builtins_set.cpp | 35 // 1.If NewTarget is undefined, throw a TypeError exception in SetConstructor() 39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in SetConstructor() 66 // If IsCallable(adder) is false, throw a TypeError exception in SetConstructor() 113 // 2.If Type(S) is not Object, throw a TypeError exception. in Add() 114 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Add() 116 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Add() 134 // 2.If Type(S) is not Object, throw a TypeError exception. in Clear() 135 // 3.If S does not have a [[SetData]] internal slot, throw a TypeError exception. in Clear() 137 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSSet", JSTaggedValue::Exception()); in Clear() 151 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete() [all …]
|
| D | builtins_sharedarraybuffer.cpp | 40 // 1. If NewTarget is undefined, throw a TypeError exception. in SharedArrayBufferConstructor() 42 THROW_TYPE_ERROR_AND_RETURN(thread, "newtarget is undefined", JSTaggedValue::Exception()); in SharedArrayBufferConstructor() 113 THROW_RANGE_ERROR_AND_RETURN(thread, "Out of range", JSTaggedValue::Exception()); in AllocateSharedArrayBuffer() 142 // 2. If Type(O) is not Object, throw a TypeError exception. in GetByteLength() 144 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in GetByteLength() 146 // 3. If O does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in GetByteLength() 148 THROW_TYPE_ERROR_AND_RETURN(thread, "don't have internal slot", JSTaggedValue::Exception()); in GetByteLength() 168 // 2. If Type(O) is not Object, throw a TypeError exception. in Slice() 170 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in Slice() 173 // 3. If O does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in Slice() [all …]
|
| D | builtins_symbol.cpp | 37 // 1.If NewTarget is not undefined, throw a TypeError exception. in SymbolConstructor() 42 JSTaggedValue::Exception()); in SymbolConstructor() 53 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, JSTaggedValue::Exception()); in SymbolConstructor() 74 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ToString() 75 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: no [[SymbolData]]", JSTaggedValue::Exception()); in ToString() 82 // If Type(s) is not Object, throw a TypeError exception. in ToString() 83 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: s is not Object", JSTaggedValue::Exception()); in ToString() 133 // If Type(s) is not Object, throw a TypeError exception. in ValueOf() 136 THROW_TYPE_ERROR_AND_RETURN(thread, "ValueOf: s is not Object", JSTaggedValue::Exception()); in ValueOf() 138 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ValueOf() [all …]
|
| D | builtins_date_time_format.cpp | 108 // 2. If Type(dtf) is not Object, throw a TypeError exception. in Format() 110 THROW_TYPE_ERROR_AND_RETURN(thread, "dtf is not object", JSTaggedValue::Exception()); in Format() 117 THROW_TYPE_ERROR_AND_RETURN(thread, "dtfValue is not object", JSTaggedValue::Exception()); in Format() 181 THROW_TYPE_ERROR_AND_RETURN(thread, "is not JSDateTimeFormat", JSTaggedValue::Exception()); in FormatToParts() 200 THROW_RANGE_ERROR_AND_RETURN(thread, "Invalid time value", JSTaggedValue::Exception()); in FormatToParts() 217 // 2. If Type(dtf) is not Object, throw a TypeError exception. in ResolvedOptions() 219 THROW_TYPE_ERROR_AND_RETURN(thread, "this is not object", JSTaggedValue::Exception()); in ResolvedOptions() 243 // 2. If Type(dtf) is not Object, throw a TypeError exception. in FormatRange() 245 THROW_TYPE_ERROR_AND_RETURN(thread, "this is not object", JSTaggedValue::Exception()); in FormatRange() 248 …. If dtf does not have an [[InitializedDateTimeFormat]] internal slot, throw a TypeError exception. in FormatRange() [all …]
|
| D | builtins_weak_set.cpp | 34 // 1.If NewTarget is undefined, throw a TypeError exception in WeakSetConstructor() 38 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in WeakSetConstructor() 65 // If IsCallable(adder) is false, throw a TypeError exception in WeakSetConstructor() 116 // 2.If Type(S) is not Object, throw a TypeError exception. in Add() 117 // 3.If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception. in Add() 119 THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSWeakSet", JSTaggedValue::Exception()); in Add() 124 THROW_TYPE_ERROR_AND_RETURN(thread, "value is not an object", JSTaggedValue::Exception()); in Add() 127 … THROW_TYPE_ERROR_AND_RETURN(thread, "value is Symblol or String", JSTaggedValue::Exception()); in Add() 143 // 2.If Type(S) is not Object, throw a TypeError exception. in Delete() 144 // 3.If S does not have a [[WeakSetData]] internal slot, throw a TypeError exception. in Delete() [all …]
|
| D | builtins_generator.cpp | 28 JSTaggedValue::Exception()); in GeneratorFunctionConstructor() 40 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeNext() 60 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeReturn() 76 // 26.4.1.4 Generator.prototype.throw(exception) 85 THROW_TYPE_ERROR_AND_RETURN(thread, "Not a generator object.", JSTaggedValue::Exception()); in GeneratorPrototypeThrow() 89 // 2.Let C be ThrowCompletion(exception). in GeneratorPrototypeThrow() 90 JSHandle<JSTaggedValue> exception = GetCallArg(argv, 0); in GeneratorPrototypeThrow() local 93 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
|
| /arkcompiler/ets_runtime/test/quickfix/multi_patch/ |
| D | expect_output.txt | 18 QuickFix start check exception 19 QuickFix have no exception 26 QuickFix start check exception 27 QuickFix have no exception 34 QuickFix start check exception 35 QuickFix have no exception
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/ |
| D | runner.rb | 57 def self.print_exception(exception) argument 58 puts "Exception: exception class : #{exception.class}" 59 puts " exception message : #{exception.message}" 60 exception.backtrace.each do |t| 93 output << "\nUnexpected exception when reading from pipe: #{e.class.name}, #{e.message}" 119 rescue Exception => e
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 49 // 2. If NewTarget is undefined, throw a TypeError exception. in TypedArrayConstructor() 51 … THROW_TYPE_ERROR_AND_RETURN(thread, "The NewTarget is undefined.", JSTaggedValue::Exception()); in TypedArrayConstructor() 189 // 7. If IsDetachedBuffer(srcData) is true, throw a TypeError exception. in CreateFromTypedArray() 191 …THROW_TYPE_ERROR_AND_RETURN(thread, "The srcData is detached buffer.", JSTaggedValue::Exception()); in CreateFromTypedArray() 229 // b. If IsDetachedBuffer(srcData) is true, throw a TypeError exception. in CreateFromTypedArray() 231 …THROW_TYPE_ERROR_AND_RETURN(thread, "The srcData is detached buffer.", JSTaggedValue::Exception()); in CreateFromTypedArray() 237 JSTaggedValue::Exception()); in CreateFromTypedArray() 290 // 7. If offset modulo elementSize ≠ 0, throw a RangeError exception. in CreateFromArrayBuffer() 293 JSTaggedValue::Exception()); in CreateFromArrayBuffer() 304 // 9. If IsDetachedBuffer(buffer) is true, throw a TypeError exception. in CreateFromArrayBuffer() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_vector.cpp | 39 … THROW_TYPE_ERROR_AND_RETURN(thread, "new target can't be undefined", JSTaggedValue::Exception()); in VectorConstructor() 63 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIVector", JSTaggedValue::Exception()); in Add() 85 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIVector", JSTaggedValue::Exception()); in Insert() 91 …YPE_ERROR_AND_RETURN(thread, "The passed in index needs to be number", JSTaggedValue::Exception()); in Insert() 112 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIVector", JSTaggedValue::Exception()); in SetLength() 117 …ERROR_AND_RETURN(thread, "The passed in parameter needs to be number", JSTaggedValue::Exception()); in SetLength() 120 … THROW_RANGE_ERROR_AND_RETURN(thread, "An incorrect size was set", JSTaggedValue::Exception()); in SetLength() 139 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIVector", JSTaggedValue::Exception()); in GetCapacity() 160 … THROW_TYPE_ERROR_AND_RETURN(thread, "obj is not JSAPIVector", JSTaggedValue::Exception()); in IncreaseCapacityTo() 165 …ERROR_AND_RETURN(thread, "The passed in parameter needs to be number", JSTaggedValue::Exception()); in IncreaseCapacityTo() [all …]
|
| D | containers_plainarray.cpp | 38 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in PlainArrayConstructor() 66 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Add() 76 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Add() 95 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Clear() 116 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Clone() 137 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Has() 146 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Has() 167 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Get() 176 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Get() 197 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in GetIteratorObj() [all …]
|
| D | containers_arraylist.cpp | 43 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in ArrayListConstructor() 67 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Add() 89 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Insert() 99 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Insert() 121 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Clear() 144 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Clone() 167 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in Has() 191 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in GetCapacity() 214 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in IncreaseCapacityTo() 224 THROW_NEW_ERROR_AND_RETURN_VALUE(thread, error, JSTaggedValue::Exception()); in IncreaseCapacityTo() [all …]
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | exception_test.cpp | 105 .record panda.Exception <external> in TEST_F() 139 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F() 171 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F() 188 .record panda.Exception <external> in TEST_F() 222 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F() 254 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F() 271 .record panda.Exception <external> in TEST_F() 308 .catch panda.Exception, try_begin, try_end, handler_begin_incorrect in TEST_F() 340 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F() 357 .record panda.Exception <external> in TEST_F() [all …]
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_exception_test.h | 41 exception = [this](const JSPtLocation &location) { in JsExceptionTest() 43 ASSERT_EQ(sourceLocation.line, 17); // 17 : exception line in JsExceptionTest() 44 ASSERT_EQ(sourceLocation.column, 27); // 27 : exception column in JsExceptionTest() 51 ASSERT_EQ(jsLocation->GetLine(), 17); // 17 : exception line in JsExceptionTest() 52 ASSERT_EQ(jsLocation->GetColumn(), 27); // 27 : exception column in JsExceptionTest() 53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsExceptionTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsExceptionTest() 96 std::string pandaFile_ = DEBUGGER_ABC_DIR "exception.abc";
|
| D | js_syntax_exception_test.h | 41 exception = [this](const JSPtLocation &location) { in JsSyntaxExceptionTest() 43 ASSERT_EQ(sourceLocation.line, 18); // 18: exception line in JsSyntaxExceptionTest() 44 ASSERT_EQ(sourceLocation.column, 8); // 8: exception column in JsSyntaxExceptionTest() 51 ASSERT_EQ(jsLocation->GetLine(), 18); // 18: exception line in JsSyntaxExceptionTest() 52 ASSERT_EQ(jsLocation->GetColumn(), 8); // 8: exception column in JsSyntaxExceptionTest() 53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsSyntaxExceptionTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsSyntaxExceptionTest()
|
| D | js_range_error_test.h | 41 exception = [this](const JSPtLocation &location) { in JsRangeErrorTest() 43 ASSERT_EQ(sourceLocation.line, 16); // 16: exception line in JsRangeErrorTest() 44 ASSERT_EQ(sourceLocation.column, 12); // 12: exception column in JsRangeErrorTest() 51 ASSERT_EQ(jsLocation->GetLine(), 16); // 16: exception line in JsRangeErrorTest() 52 ASSERT_EQ(jsLocation->GetColumn(), 12); // 12: exception column in JsRangeErrorTest() 53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsRangeErrorTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsRangeErrorTest()
|
| D | js_throw_exception_test.h | 41 exception = [this](const JSPtLocation &location) { in JsThrowExceptionTest() 43 ASSERT_EQ(sourceLocation.line, 19); // 19: exception line in JsThrowExceptionTest() 44 ASSERT_EQ(sourceLocation.column, 8); // 8: exception column in JsThrowExceptionTest() 51 ASSERT_EQ(jsLocation->GetLine(), 19); // 19: exception line in JsThrowExceptionTest() 52 ASSERT_EQ(jsLocation->GetColumn(), 8); // 8: exception column in JsThrowExceptionTest() 54 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsThrowExceptionTest() 87 ASSERT_EQ(exceptionCounter_, 2U); // 2: exception counter in JsThrowExceptionTest()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_proxy.cpp | 30 // 1. If Type(target) is not Object, throw a TypeError exception. in ProxyCreate() 33 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate() 36 // 2. If Type(handler) is not Object, throw a TypeError exception. in ProxyCreate() 39 JSHandle<JSProxy>(thread, JSTaggedValue::Exception())); in ProxyCreate() 55 // 2. If handler is null, throw a TypeError exception. in GetPrototype() 57 …YPE_ERROR_AND_RETURN(thread, "JSProxy::GetPrototype: handler is null", JSTaggedValue::Exception()); in GetPrototype() 82 // 10. If Type(handlerProto) is neither Object nor Null, throw a TypeError exception. in GetPrototype() 85 JSTaggedValue::Exception()); in GetPrototype() 99 // 16. If SameValue(handlerProto, targetProto) is false, throw a TypeError exception. in GetPrototype() 102 JSTaggedValue::Exception()); in GetPrototype() [all …]
|