/external/webkit/V8Binding/v8/test/mjsunit/ |
D | global-const-var-conflicts.js | 34 try { eval("var a"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 36 try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 40 try { eval("var b"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 42 try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 46 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 48 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 52 try { eval("const d"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 54 try { eval("const d = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
|
D | json.js | 34 assertThrows(function () { n2.toJSON(); }, TypeError); 37 assertThrows(function () { n3.toJSON(); }, TypeError, 'result_not_primitive'); 76 assertThrows(function () { n2.toJSON(); }, TypeError); 79 assertThrows(function () { n3.toJSON(); }, TypeError, "result_not_primitive"); 184 assertThrows(function () { JSON.stringify(circular); }, TypeError);
|
D | array-reduce.js | 418 assertTrue(e instanceof TypeError, 428 assertTrue(e instanceof TypeError, 439 assertTrue(e instanceof TypeError, 449 assertTrue(e instanceof TypeError, 460 assertTrue(e instanceof TypeError, 470 assertTrue(e instanceof TypeError,
|
D | call-non-function.js | 42 assertTrue(caught[0] instanceof TypeError); 43 assertTrue(caught[1] instanceof TypeError);
|
D | throw-exception-for-null-access.js | 35 assertTrue(e instanceof TypeError);
|
D | unusual-constructor.js | 35 assertInstanceof(e, TypeError);
|
D | call-non-function-call.js | 36 assertTrue(e instanceof TypeError);
|
D | class-of-builtins.js | 39 Error: [ Error, TypeError, RangeError, SyntaxError, ReferenceError, EvalError, URIError ]
|
/external/webkit/V8Binding/v8/test/mjsunit/regress/ |
D | regress-734862.js | 33 assertTrue(catcher(null, 'foo') instanceof TypeError); 34 assertTrue(catcher(void 0, 'foo') instanceof TypeError); 35 assertTrue(catcher(null, 123) instanceof TypeError); 36 assertTrue(catcher(void 0, 123) instanceof TypeError);
|
D | regress-667061.js | 33 assertTrue(o instanceof TypeError); 48 assertTrue(o instanceof TypeError); 68 assertTrue(o instanceof TypeError); 87 assertTrue(o instanceof TypeError);
|
D | regress-1182832.js | 36 assertTrue(e instanceof TypeError);
|
D | regress-1213575.js | 38 assertTrue(e instanceof TypeError);
|
D | regress-1110164.js | 44 assertTrue(e instanceof TypeError);
|
/external/webkit/JavaScriptCore/runtime/ |
D | DatePrototype.cpp | 415 return throwError(exec, TypeError); in dateProtoFuncToString() 432 return throwError(exec, TypeError); in dateProtoFuncToUTCString() 449 return throwError(exec, TypeError); in dateProtoFuncToISOString() 471 return throwError(exec, TypeError); in dateProtoFuncToDateString() 488 return throwError(exec, TypeError); in dateProtoFuncToTimeString() 505 return throwError(exec, TypeError); in dateProtoFuncToLocaleString() 518 return throwError(exec, TypeError); in dateProtoFuncToLocaleDateString() 531 return throwError(exec, TypeError); in dateProtoFuncToLocaleTimeString() 544 return throwError(exec, TypeError); in dateProtoFuncGetTime() 557 return throwError(exec, TypeError); in dateProtoFuncGetFullYear() [all …]
|
D | RegExpPrototype.cpp | 62 return throwError(exec, TypeError); in regExpProtoFuncTest() 69 return throwError(exec, TypeError); in regExpProtoFuncExec() 76 return throwError(exec, TypeError); in regExpProtoFuncCompile() 84 …return throwError(exec, TypeError, "Cannot supply flags when constructing one RegExp from another.… in regExpProtoFuncCompile() 105 return throwError(exec, TypeError); in regExpProtoFuncToString()
|
D | FunctionPrototype.cpp | 101 return throwError(exec, TypeError); in functionProtoFuncToString() 109 return throwError(exec, TypeError); in functionProtoFuncApply() 116 return throwError(exec, TypeError); in functionProtoFuncApply() 126 return throwError(exec, TypeError); in functionProtoFuncApply() 137 return throwError(exec, TypeError); in functionProtoFuncCall()
|
D | BooleanPrototype.cpp | 63 return throwError(exec, TypeError); in booleanProtoFuncToString() 78 return throwError(exec, TypeError); in booleanProtoFuncValueOf()
|
D | NumberPrototype.cpp | 141 return throwError(exec, TypeError); in numberProtoFuncToString() 207 return throwError(exec, TypeError); in numberProtoFuncToLocaleString() 216 return throwError(exec, TypeError); in numberProtoFuncValueOf() 225 return throwError(exec, TypeError); in numberProtoFuncToFixed() 311 return throwError(exec, TypeError); in numberProtoFuncToExponential() 383 return throwError(exec, TypeError); in numberProtoFuncToPrecision()
|
D | ExceptionHelpers.cpp | 139 …JSObject* exception = Error::create(exec, TypeError, errorMessage, line, codeBlock->ownerNode()->s… in createInvalidParamError() 160 …JSObject* exception = Error::create(exec, TypeError, errorMessage, line, codeBlock->ownerNode()->s… in createNotAConstructorError() 174 …JSObject* exception = Error::create(exec, TypeError, errorMessage, line, codeBlock->ownerNode()->s… in createNotAFunctionError() 204 …JSObject* exception = Error::create(exec, TypeError, errorMessage, line, codeBlock->ownerNode()->s… in createNotAnObjectError()
|
D | ArrayPrototype.cpp | 148 return throwError(exec, TypeError); in arrayProtoFuncToString() 194 return throwError(exec, TypeError); in arrayProtoFuncToLocaleString() 593 return throwError(exec, TypeError); in arrayProtoFuncFilter() 651 return throwError(exec, TypeError); in arrayProtoFuncMap() 708 return throwError(exec, TypeError); in arrayProtoFuncEvery() 764 return throwError(exec, TypeError); in arrayProtoFuncForEach() 809 return throwError(exec, TypeError); in arrayProtoFuncSome() 862 return throwError(exec, TypeError); in arrayProtoFuncReduce() 868 return throwError(exec, TypeError); in arrayProtoFuncReduce() 885 return throwError(exec, TypeError); in arrayProtoFuncReduce() [all …]
|
/external/webkit/WebCore/bindings/js/ |
D | JSHTMLInputElementCustom.cpp | 73 return throwError(exec, TypeError); in selectionStart() 82 throwError(exec, TypeError); in setSelectionStart() 91 return throwError(exec, TypeError); in selectionEnd() 100 throwError(exec, TypeError); in setSelectionEnd() 109 return throwError(exec, TypeError); in setSelectionRange()
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Statements/ |
D | regress-121744.js | 100 if (e instanceof TypeError) 124 if (e instanceof TypeError) 151 if(e instanceof TypeError) 176 if(e instanceof TypeError)
|
/external/webkit/WebCore/bindings/v8/custom/ |
D | V8SQLTransactionCustom.cpp | 94 return throwError("sqlArgs should be array or object!", V8Proxy::TypeError); in CALLBACK_FUNC_DECL() 104 return throwError("Statement callback must be of valid type.", V8Proxy::TypeError); in CALLBACK_FUNC_DECL() 113 … return throwError("Statement error callback must be of valid type.", V8Proxy::TypeError); in CALLBACK_FUNC_DECL()
|
/external/webkit/V8Binding/v8/src/ |
D | ic.cc | 194 Failure* IC::TypeError(const char* type, in TypeError() function in v8::internal::IC 338 return TypeError("non_object_property_call", object, name); in LoadFunction() 365 return TypeError("undefined_method", object, name); in LoadFunction() 384 return TypeError("undefined_method", object, name); in LoadFunction() 420 result : TypeError("property_not_function", object, name); in LoadFunction() 522 return TypeError("non_object_property_load", object, name); in Load() 737 return TypeError("non_object_property_load", object, name); in Load() 958 return TypeError("non_object_property_store", object, name); in Store() 1079 return TypeError("non_object_property_store", object, name); in Store()
|
/external/webkit/WebCore/bindings/v8/ |
D | V8Proxy.h | 157 TypeError, enumerator 458 … return throwError(V8Proxy::TypeError, "DOM object constructor cannot be called as a function."); in constructDOMObject() 481 …Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type = V8Proxy::TypeError)
|