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

1 2 3 4

  /external/bluetooth/bluez/test/
test-health-sink 38 raise TypeError
40 except (TypeError, IndexError, ValueError):
65 raise TypeError
67 except (TypeError, IndexError, ValueError):
test-health 64 except (TypeError, ValueError):
77 except (TypeError, ValueError):
96 except (TypeError, ValueError):
148 raise TypeError
150 except (TypeError, IndexError, ValueError):
175 raise TypeError
177 except (TypeError, IndexError, ValueError):
  /external/webkit/Tools/Scripts/webkitpy/tool/steps/
promptforbugortitle.py 42 except ValueError, 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); }
strict-mode.js 491 assertThrows(function() { delete_property(object); }, TypeError);
493 assertThrows(function() { delete_element(object, "1"); }, TypeError);
494 assertThrows(function() { delete_element(object, 1); }, TypeError);
496 assertThrows(function() { delete_element(object, "7"); }, TypeError);
497 assertThrows(function() { delete_element(object, 7); }, TypeError);
499 assertThrows(function() { delete_element(object, "3.14"); }, TypeError);
500 assertThrows(function() { delete_element(object, 3.14); }, TypeError);
774 TypeError);
785 TypeError);
798 assertThrows(function() { strict(frozen); }, TypeError);
    [all...]
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/Source/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/webkit/Tools/QueueStatusServer/handlers/
updatebase.py 39 except ValueError, 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/webkit/Source/WebCore/bindings/v8/custom/
V8XMLHttpRequestConstructor.cpp 48 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
V8EventSourceConstructor.cpp 51 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
V8FileReaderCustom.cpp 48 return throwError("DOM object constructor cannot be called as a function.", V8Proxy::TypeError);
  /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/Source/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);
  /external/webkit/Source/WebKit2/Shared/
APIObject.h 46 TypeError,
WebError.h 39 static const Type APIType = TypeError;
  /sdk/monkeyrunner/jython/test/
MonkeyRunner_test.py 42 except TypeError:
44 self.fail('Should have raised TypeError')
  /external/webkit/LayoutTests/fast/js/resources/
js-constructors-use-correct-global.js 4 var constructors = ["Object", "Function", "Array", "Number", "String", "Boolean", "RegExp", "Date", "Error", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Image"];
  /hardware/ril/mock-ril/src/cpp/
node_buffer.cpp 58 return ThrowException(Exception::TypeError( \
64 return ThrowException(Exception::TypeError( \
206 return ThrowException(Exception::TypeError(String::New("Bad argument")));
370 return ThrowException(Exception::TypeError(String::New(
425 return ThrowException(Exception::TypeError(String::New(
435 return ThrowException(Exception::TypeError(String::New(
467 return ThrowException(Exception::TypeError(String::New(
477 return ThrowException(Exception::TypeError(String::New(
499 return ThrowException(Exception::TypeError(String::New(
509 return ThrowException(Exception::TypeError(String::New
    [all...]
  /external/markdown/markdown/
html4.py 70 raise TypeError(
77 except (TypeError, AttributeError):
93 except (TypeError, AttributeError):
111 except (TypeError, AttributeError):
124 except (TypeError, AttributeError):
238 except TypeError:
  /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/Source/JavaScriptCore/tests/mozilla/js1_5/Exceptions/
regress-123002.js 82 new ReferenceError(), new SyntaxError(), new TypeError(), new URIError()];

Completed in 926 milliseconds

1 2 3 4