HomeSort by relevance Sort by last modified time
    Searched refs:TypeError (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/webkit/WebKitTools/Scripts/webkitpy/steps/
promptforbugortitle.py 42 except ValueError, TypeError:
  /external/webkit/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp 74 return throwError(exec, TypeError);
83 throwError(exec, TypeError);
92 return throwError(exec, TypeError);
101 throwError(exec, TypeError);
110 return throwError(exec, TypeError);
JSDesktopNotificationsCustom.cpp 56 return throwError(exec, TypeError);
  /external/webkit/WebCore/bindings/v8/custom/
V8EventSourceConstructor.cpp 51 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
59 return throwError("EventSource constructor wrong number of parameters", V8Proxy::TypeError);
V8IndexedDatabaseRequestCustom.cpp 45 return throwError(V8Proxy::TypeError);
V8XMLHttpRequestConstructor.cpp 48 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
V8SQLTransactionCustom.cpp 95 return throwError("sqlArgs should be array or object!", V8Proxy::TypeError);
105 return throwError("Statement callback must be of valid type.", V8Proxy::TypeError);
114 return throwError("Statement error callback must be of valid type.", V8Proxy::TypeError);
  /external/v8/test/mjsunit/
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); }
array-reduce.js 418 assertTrue(e instanceof TypeError,
419 "reduce callback not a function not throwing TypeError");
421 "reduce non function TypeError type");
428 assertTrue(e instanceof TypeError,
429 "reduceRight callback not a function not throwing TypeError");
431 "reduceRight non function TypeError type");
439 assertTrue(e instanceof TypeError,
440 "reduce no initial value not throwing TypeError");
442 "reduce no initial TypeError type");
449 assertTrue(e instanceof TypeError,
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Statements/
regress-121744.js 69 var TEST_PASSED = 'TypeError';
70 var TEST_FAILED = 'Generated an error, but NOT a TypeError!';
89 * OK, this should generate a TypeError
100 if (e instanceof TypeError)
113 * OK, this should generate a TypeError
124 if (e instanceof TypeError)
151 if(e instanceof TypeError)
176 if(e instanceof TypeError)
  /external/protobuf/python/google/protobuf/internal/
wire_format_test.py 64 self.assertRaises(TypeError, wire_format.UnpackTag, None)
65 self.assertRaises(TypeError, wire_format.UnpackTag, 'abc')
66 self.assertRaises(TypeError, wire_format.UnpackTag, 0.0)
67 self.assertRaises(TypeError, wire_format.UnpackTag, object())
81 self.assertRaises(TypeError, Z, None)
82 self.assertRaises(TypeError, Z, 'abcd')
83 self.assertRaises(TypeError, Z, 0.0)
84 self.assertRaises(TypeError, Z, object())
98 self.assertRaises(TypeError, Z, None)
99 self.assertRaises(TypeError, Z, 'abcd'
    [all...]
  /external/v8/test/mjsunit/regress/
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);
regress-667061.js 33 assertTrue(o instanceof TypeError);
48 assertTrue(o instanceof TypeError);
68 assertTrue(o instanceof TypeError);
87 assertTrue(o instanceof TypeError);
  /external/webkit/JavaScriptCore/runtime/
BooleanPrototype.cpp 63 return throwError(exec, TypeError);
78 return throwError(exec, TypeError);
ObjectConstructor.cpp 97 return throwError(exec, TypeError, "Requested prototype of a value that is not an object.");
104 return throwError(exec, TypeError, "Requested property descriptor of a value that is not an object.");
134 return throwError(exec, TypeError, "Requested property names of a value that is not an object.");
148 return throwError(exec, TypeError, "Requested keys of a value that is not an object.");
162 throwError(exec, TypeError, "Property description must be an object.");
204 throwError(exec, TypeError, "Getter must be a function.");
220 throwError(exec, TypeError, "Setter must be a function.");
233 throwError(exec, TypeError, "Invalid property. 'value' present on property with getter or setter.");
238 throwError(exec, TypeError, "Invalid property. 'writable' present on property with getter or setter.");
247 return throwError(exec, TypeError, "Properties can only be defined on Objects.")
    [all...]
RegExpPrototype.cpp 64 return throwError(exec, TypeError);
71 return throwError(exec, TypeError);
78 return throwError(exec, TypeError);
86 return throwError(exec, TypeError, "Cannot supply flags when constructing one RegExp from another.");
107 return throwError(exec, TypeError);
DatePrototype.cpp 420 return throwError(exec, TypeError);
437 return throwError(exec, TypeError);
454 return throwError(exec, TypeError);
472 return throwError(exec, TypeError);
487 return throwError(exec, TypeError);
502 return throwError(exec, TypeError);
511 return throwError(exec, TypeError);
520 return throwError(exec, TypeError);
529 return throwError(exec, TypeError);
537 return throwError(exec, TypeError);
    [all...]
Error.h 44 TypeError = 5,
FunctionPrototype.cpp 103 return throwError(exec, TypeError);
111 return throwError(exec, TypeError);
118 return throwError(exec, TypeError);
128 return throwError(exec, TypeError);
139 return throwError(exec, TypeError);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Object/
8.6.2.6-001.js 38 * SUMMARY: Test for TypeError on invalid default string value of object
45 var summary = "Test for TypeError on invalid default string value of object";
46 var TEST_PASSED = 'TypeError';
47 var TEST_FAILED = 'Generated an error, but NOT a TypeError!';
61 * This should generate a TypeError. See ECMA reference
71 if (e instanceof TypeError)
class-003.js 73 status = 'new TypeError()';
74 actual = getJSClass(new TypeError());
class-004.js 72 status = 'TypeError';
73 actual = getJSClass(TypeError);
  /hardware/ril/mock-ril/src/cpp/
node_buffer.cpp 58 return ThrowException(Exception::TypeError( \
64 return ThrowException(Exception::TypeError( \
208 return ThrowException(Exception::TypeError(String::New("Bad argument")));
372 return ThrowException(Exception::TypeError(String::New(
427 return ThrowException(Exception::TypeError(String::New(
437 return ThrowException(Exception::TypeError(String::New(
469 return ThrowException(Exception::TypeError(String::New(
479 return ThrowException(Exception::TypeError(String::New(
501 return ThrowException(Exception::TypeError(String::New(
511 return ThrowException(Exception::TypeError(String::New
    [all...]
  /external/v8/test/mjsunit/third_party/
object-keys.js 34 assertThrows(function () { Object.keys(2) }, TypeError);
35 assertThrows(function () { Object.keys("foo") }, TypeError);
36 assertThrows(function () { Object.keys(null) }, TypeError);
37 assertThrows(function () { Object.keys(undefined) }, TypeError);
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/Exceptions/
regress-123002.js 82 new ReferenceError(), new SyntaxError(), new TypeError(), new URIError()];

Completed in 355 milliseconds

1 2 3 4