/external/v8/test/mjsunit/ |
H A D | unusual-constructor.js | 32 assertInstanceof(e, TypeError);
|
H A D | strict-mode-eval.js | 50 assertInstanceof(e, SyntaxError); 60 assertInstanceof(e, SyntaxError); 70 assertInstanceof(e, SyntaxError); 80 assertInstanceof(e, SyntaxError);
|
H A D | strict-mode-opt.js | 51 assertInstanceof(e, ReferenceError); 97 assertInstanceof(e, ReferenceError);
|
H A D | big-array-literal.js | 97 assertInstanceof(e, RangeError);
|
H A D | big-object-literal.js | 97 assertInstanceof(e, RangeError);
|
H A D | mjsunit.js | 101 var assertInstanceof; variable 337 assertInstanceof(e, type_opt); 349 assertInstanceof = function assertInstanceof(obj, type) { 346 assertInstanceof = function assertInstanceof(obj, type) { function
|
H A D | arguments-apply.js | 78 assertInstanceof(NonObjectReceiver(42), Number);
|
H A D | stack-traces-overflow.js | 58 assertInstanceof(e, RangeError);
|
H A D | strict-mode.js | 391 assertInstanceof(e, ReferenceError, "strict mode"); 846 assertInstanceof(e, TypeError); 1027 assertInstanceof(pill, Function);
|
H A D | external-array-no-sse2.js | 33 assertInstanceof(o, f);
|
H A D | external-array.js | 33 assertInstanceof(o, f);
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-crbug-18639.js | 37 assertInstanceof(e, TypeError);
|
H A D | regress-crbug-240032.js | 34 assertInstanceof(mk(), Function); 35 assertInstanceof(mk(), Function);
|
H A D | regress-115452.js | 45 assertInstanceof(e, TypeError);
|
H A D | regress-1170.js | 55 assertInstanceof(e, TypeError); 94 assertInstanceof(e, TypeError);
|
H A D | regress-244.js | 62 assertInstanceof(e, URIError);
|
H A D | regress-347914.js | 23 var assertInstanceof; variable 42 as1sertThrows = function assertThrows(code, type_opt, cause_opt) { var threwException = true; try { if (typeof code == 'function') { code(); } else { eval(code); } threwException = false; } catch (e) { if (typeof type_opt == 'function') { assertInstanceof(e, type_opt); } if (arguments.length >= 3) { assertEquals(e.type, cause_opt); } return; } }; function 43 assertInstanceof = function assertInstanceof(obj, type) { if (!(obj instanceof type)) { var actualTypeName = null; var actualConstructor = Object.getPrototypeOf(obj).constructor; if (typeof actualConstructor == "function") { actualTypeName = actualConstructor.name || String(actualConstructor); } fail("Object <" + PrettyPrint(obj) + "> is not an instance of <" + (type.name || type) + ">" + (actualTypeName ? " but of < " + actualTypeName + ">" : "")); } };
|
H A D | regress-410912.js | 8 var assertInstanceof; variable
|
/external/v8/test/mjsunit/harmony/ |
H A D | block-early-errors.js | 32 assertInstanceof(e, SyntaxError);
|
H A D | block-let-crankshaft.js | 351 assertInstanceof(e, ReferenceError); 359 assertInstanceof(e, ReferenceError); 374 assertInstanceof(e, ReferenceError); 385 assertInstanceof(e, ReferenceError); 399 assertInstanceof(e, ReferenceError); 407 assertInstanceof(e, ReferenceError); 422 assertInstanceof(e, ReferenceError); 433 assertInstanceof(e, ReferenceError);
|
H A D | block-let-semantics.js | 39 assertInstanceof(e, ReferenceError); 49 assertInstanceof(e, ReferenceError);
|
H A D | block-const-assign.js | 119 assertInstanceof(e, SyntaxError);
|
H A D | proxies.js | 698 try { o.x = 4 } catch (e) { assertInstanceof(e, Error) } 711 try { o.x = 4 } catch (e) { assertInstanceof(e, Error) } 1982 try { p.x } catch (e) { assertInstanceof(e, Error) } 1992 try { p.x } catch (e) { assertInstanceof(e, Error) } 2002 try { p.x } catch (e) { assertInstanceof(e, Error) } 2013 try { o.x } catch (e) { assertInstanceof(e, Error) } 2023 try { p.x = 4 } catch (e) { assertInstanceof(e, Error) } 2033 try { p.x = 4 } catch (e) { assertInstanceof(e, Error) } 2043 try { p.x } catch (e) { assertInstanceof(e, Error) } 2054 try { o.x = 4 } catch (e) { assertInstanceof( [all...] |
/external/v8/test/intl/ |
H A D | assert.js | 142 assertInstanceof(e, type_opt); 173 function assertInstanceof(obj, type) { function
|