/external/v8/test/mjsunit/es6/ |
D | new-target.js | 18 assertInstanceof(new Base(1), Base); 19 assertInstanceof(new Base(1, 2), Base); 20 assertInstanceof(new Base(), Base); 121 assertInstanceof(new f(f), RegExp); 122 assertInstanceof(new f(f, 'extra'), RegExp); 124 assertInstanceof(f(undefined), RegExp); 125 assertInstanceof(f(), RegExp); 126 assertInstanceof(f(undefined, 'extra'), RegExp); 140 assertInstanceof(new Base(Base), RegExp); 141 assertInstanceof(new Base(Base, 'extra'), RegExp); [all …]
|
D | spread-call-new-class.js | 32 assertInstanceof(c, Base); 37 assertInstanceof(c, Child); 38 assertInstanceof(c, Base); 44 assertInstanceof(c, Child2); 45 assertInstanceof(c, Base); 75 assertInstanceof(c, Base); 80 assertInstanceof(c, Child); 81 assertInstanceof(c, Base); 87 assertInstanceof(c, Child2); 88 assertInstanceof(c, Base);
|
D | classes-derived-return-type.js | 34 assertInstanceof(new DerivedWithReturn(undefined), DerivedWithReturn); 36 assertInstanceof(new DerivedWithReturn(new f()), f); 37 assertInstanceof(new DerivedWithReturn(/re/), RegExp); 68 assertInstanceof(new DerivedWithReturnNoSuper(new f2()), f2); 69 assertInstanceof(new DerivedWithReturnNoSuper(/re/), RegExp); 79 assertInstanceof(new DerivedReturn(), DerivedReturn); 90 assertInstanceof(new DerivedReturnThis(), DerivedReturnThis);
|
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);
|
D | classes-lazy-parsing.js | 33 assertInstanceof(new LazyDerived(), LazyDerived); 34 assertInstanceof(new LazyDerived(), Base);
|
D | super.js | 566 assertInstanceof(this, Number) 606 assertInstanceof(ex, TypeError); 625 assertInstanceof(ex, TypeError); 660 assertInstanceof(this, Number) 700 assertInstanceof(ex,TypeError); 719 assertInstanceof(ex, TypeError); 755 assertInstanceof(this, Number) 795 assertInstanceof(ex, TypeError); 820 assertInstanceof(ex, TypeError); 826 assertInstanceof(ex, TypeError); [all …]
|
D | spread-call-new.js | 40 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass); 56 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass);
|
D | block-let-semantics.js | 37 assertInstanceof(e, ReferenceError); 47 assertInstanceof(e, ReferenceError);
|
/external/v8/test/mjsunit/harmony/ |
D | proxies-prototype-handler-stackoverflow.js | 14 try { return p.__proto__; } catch(e) { assertInstanceof(e, RangeError); } 21 try { p.__proto__ = p; } catch(e) { assertInstanceof(e, RangeError); } 30 } catch(e) { assertInstanceof(e, RangeError); } 37 try { p.foo = 1; } catch(e) { assertInstanceof(e, RangeError); } 44 try { return p.foo; } catch(e) { assertInstanceof(e, RangeError); } 51 try { for (var x in p) {} } catch(e) { assertInstanceof(e, RangeError); } 60 } catch(e) { assertInstanceof(e, RangeError); } 69 } catch(e) { assertInstanceof(e, RangeError); } 78 } catch(e) { assertInstanceof(e, RangeError); } 85 try { delete p.foo; } catch(e) { assertInstanceof(e, RangeError); } [all …]
|
D | proxies-prototype-target-stackoverflow.js | 13 try { return p.__proto__; } catch(e) { assertInstanceof(e, RangeError); } 19 try { p.__proto__ = p; } catch(e) { assertInstanceof(e, RangeError); } 27 } catch(e) { assertInstanceof(e, RangeError); } 33 try { p.foo = 1; } catch(e) { assertInstanceof(e, RangeError); } 39 try { return p.foo; } catch(e) { assertInstanceof(e, RangeError); } 45 try { for (var x in p) {} } catch(e) { assertInstanceof(e, RangeError); }
|
D | block-let-crankshaft-sloppy.js | 350 assertInstanceof(e, ReferenceError); 358 assertInstanceof(e, ReferenceError); 373 assertInstanceof(e, ReferenceError); 384 assertInstanceof(e, ReferenceError); 398 assertInstanceof(e, ReferenceError); 406 assertInstanceof(e, ReferenceError); 421 assertInstanceof(e, ReferenceError); 432 assertInstanceof(e, ReferenceError);
|
D | block-let-semantics-sloppy.js | 37 assertInstanceof(e, ReferenceError); 47 assertInstanceof(e, ReferenceError);
|
/external/v8/test/mjsunit/ |
D | strict-mode-eval.js | 50 assertInstanceof(e, SyntaxError); 60 assertInstanceof(e, SyntaxError); 70 assertInstanceof(e, SyntaxError); 80 assertInstanceof(e, SyntaxError);
|
D | strict-mode-opt.js | 51 assertInstanceof(e, ReferenceError); 97 assertInstanceof(e, ReferenceError);
|
D | mjsunit.js | 105 var assertInstanceof; variable 359 assertInstanceof(e, type_opt); 384 assertInstanceof = function assertInstanceof(obj, type) { function
|
D | unusual-constructor.js | 32 assertInstanceof(e, TypeError);
|
/external/v8/test/mjsunit/regress/ |
D | regress-crbug-240032.js | 34 assertInstanceof(mk(), Function); 35 assertInstanceof(mk(), Function);
|
D | regress-1170.js | 55 assertInstanceof(e, TypeError); 94 assertInstanceof(e, TypeError);
|
D | regress-347914.js | 23 var assertInstanceof; variable 42 …ception = false; } catch (e) { if (typeof type_opt == 'function') { assertInstanceof(e, type_opt);… 43 assertInstanceof = function assertInstanceof(obj, type) { if (!(obj instanceof type)) { var actualT… function
|
D | regress-568765.js | 13 assertInstanceof = function assertInstanceof() { if (obj instanceof type) { var actualTypeName = nu… function
|
D | regress-crbug-18639.js | 37 assertInstanceof(e, TypeError);
|
D | regress-crbug-429159.js | 11 assertInstanceof(e, RangeError);
|
D | regress-crbug-514081.js | 13 assertInstanceof(e, RangeError);
|
/external/v8/test/mjsunit/compiler/ |
D | receiver-conversion.js | 62 assertInstanceof(x, Number); 99 assertInstanceof(x, String);
|
/external/v8/test/intl/ |
D | assert.js | 142 assertInstanceof(e, type_opt); 173 function assertInstanceof(obj, type) { function
|