Searched refs:ReferenceError (Results 1 - 25 of 41) sorted by relevance

12

/external/v8/test/mjsunit/
H A Deval-typeof-non-existing.js30 // ReferenceError.
34 assertThrows('typeof(true ? xxx : yyy)', ReferenceError);
35 assertThrows('with ({}) { typeof(true ? xxx : yyy) }', ReferenceError);
H A Dbody-not-visible.js37 assertTrue(e instanceof ReferenceError);
H A Derror-constructors.js37 ReferenceError.prototype.__defineSetter__('stack', fail);
38 ReferenceError.prototype.__defineSetter__('message', fail);
39 ReferenceError.prototype.__defineSetter__('type', fail);
40 ReferenceError.prototype.__defineSetter__('arguments', fail);
41 var e0 = new ReferenceError();
42 var e1 = new ReferenceError('123');
56 assertEquals("ReferenceError", ReferenceError.prototype.name);
57 delete ReferenceError.prototype.name;
58 assertEquals("ReferenceError", ReferenceErro
36 ReferenceError.prototype.__defineSetter__('stack', fail); class
[all...]
H A Dclass-of-builtins.js39 Error: [ Error, TypeError, RangeError, SyntaxError, ReferenceError, EvalError, URIError ]
H A Dstrict-mode-opt.js51 assertInstanceof(e, ReferenceError);
56 fail("ReferenceError after MAX iterations", "no exception");
97 assertInstanceof(e, ReferenceError);
102 fail("ReferenceError after MAX iterations", "no exception");
H A Dwith-leave.js56 assertTrue(e2 instanceof ReferenceError);
/external/v8/test/mjsunit/regress/
H A Dregress-900055.js40 assertTrue(e instanceof ReferenceError);
H A Dregress-1178598.js83 assertTrue(exception instanceof ReferenceError);
/external/v8/test/mjsunit/harmony/
H A Dblock-let-crankshaft.js173 assertInstanceof(e, ReferenceError);
181 assertInstanceof(e, ReferenceError);
196 assertInstanceof(e, ReferenceError);
207 assertInstanceof(e, ReferenceError);
255 assertInstanceof(e, ReferenceError);
261 assertInstanceof(e, ReferenceError);
H A Dblock-let-semantics.js40 assertInstanceof(e, ReferenceError);
50 assertInstanceof(e, ReferenceError);
H A Dblock-leave.js77 assertTrue(e2 instanceof ReferenceError);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/
H A Dbinding-001.js37 var ERR_REF_YES = 'ReferenceError';
38 var ERR_REF_NO = 'did NOT generate a ReferenceError';
55 actual = e instanceof ReferenceError;
62 * Searching for literal string "ReferenceError" in e.toString()
65 var match = e.toString().search(/ReferenceError/);
H A Dregress-95101.js22 * SUMMARY: Invoking an undefined function should produce a ReferenceError
28 var summary = 'Invoking an undefined function should produce a ReferenceError';
29 var msgERR_REF_YES = 'ReferenceError';
30 var msgERR_REF_NO = 'did NOT generate a ReferenceError';
46 actual = e instanceof ReferenceError;
53 * Searching for literal string "ReferenceError" in e.toString()
56 var match = e.toString().search(/ReferenceError/);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Operators/
H A D11.13.1-001.js47 var TEST_PASSED = 'ReferenceError';
48 var TEST_FAILED = 'Generated an error, but NOT a ReferenceError!';
69 if (e instanceof ReferenceError)
89 if (e instanceof ReferenceError)
109 if (e instanceof ReferenceError)
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8XMLHttpRequestConstructor.cpp54 return throwError("XMLHttpRequest constructor's associated context is not available", V8Proxy::ReferenceError);
H A DV8EventSourceConstructor.cpp57 return throwError("EventSource constructor's associated context is not available", V8Proxy::ReferenceError);
H A DV8HTMLAudioElementConstructor.cpp58 return throwError("Audio constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8HTMLImageElementConstructor.cpp58 return throwError("Image constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Image constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8HTMLOptionElementConstructor.cpp58 return throwError("Option constructor associated frame is unavailable", V8Proxy::ReferenceError);
62 return throwError("Option constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8AudioContextCustom.cpp48 return throwError("AudioContext constructor associated frame is unavailable", V8Proxy::ReferenceError);
52 return throwError("AudioContext constructor associated document is unavailable", V8Proxy::ReferenceError);
H A DV8FileReaderCustom.cpp54 return throwError("FileReader constructor's associated context is not available", V8Proxy::ReferenceError);
H A DV8WebSocketCustom.cpp67 return throwError("WebSocket constructor's associated frame is not available", V8Proxy::ReferenceError);
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Exceptions/
H A Dregress-123002.js82 new ReferenceError(), new SyntaxError(), new TypeError(), new URIError()];
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/
H A Dclass-003.js63 status = 'new ReferenceError()';
64 actual = getJSClass(new ReferenceError());
H A Dclass-004.js62 status = 'ReferenceError';
63 actual = getJSClass(ReferenceError);

Completed in 330 milliseconds

12