Home
last modified time | relevance | path

Searched refs:assertInstanceof (Results 1 – 25 of 52) sorted by relevance

123

/external/v8/test/mjsunit/es6/
Dnew-target.js18 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 …]
Dspread-call-new-class.js32 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);
Dclasses-derived-return-type.js34 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);
Dblock-let-crankshaft.js351 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);
Dclasses-lazy-parsing.js33 assertInstanceof(new LazyDerived(), LazyDerived);
34 assertInstanceof(new LazyDerived(), Base);
Dsuper.js566 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 …]
Dspread-call-new.js40 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass);
56 assertInstanceof(new TestClass(...[1, 2, 3]), TestClass);
Dblock-let-semantics.js37 assertInstanceof(e, ReferenceError);
47 assertInstanceof(e, ReferenceError);
/external/v8/test/mjsunit/harmony/
Dproxies-prototype-handler-stackoverflow.js14 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 …]
Dproxies-prototype-target-stackoverflow.js13 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); }
Dblock-let-crankshaft-sloppy.js350 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);
Dblock-let-semantics-sloppy.js37 assertInstanceof(e, ReferenceError);
47 assertInstanceof(e, ReferenceError);
/external/v8/test/mjsunit/
Dstrict-mode-eval.js50 assertInstanceof(e, SyntaxError);
60 assertInstanceof(e, SyntaxError);
70 assertInstanceof(e, SyntaxError);
80 assertInstanceof(e, SyntaxError);
Dstrict-mode-opt.js51 assertInstanceof(e, ReferenceError);
97 assertInstanceof(e, ReferenceError);
Dmjsunit.js105 var assertInstanceof; variable
359 assertInstanceof(e, type_opt);
384 assertInstanceof = function assertInstanceof(obj, type) { function
Dunusual-constructor.js32 assertInstanceof(e, TypeError);
/external/v8/test/mjsunit/regress/
Dregress-crbug-240032.js34 assertInstanceof(mk(), Function);
35 assertInstanceof(mk(), Function);
Dregress-1170.js55 assertInstanceof(e, TypeError);
94 assertInstanceof(e, TypeError);
Dregress-347914.js23 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
Dregress-568765.js13 assertInstanceof = function assertInstanceof() { if (obj instanceof type) { var actualTypeName = nu… function
Dregress-crbug-18639.js37 assertInstanceof(e, TypeError);
Dregress-crbug-429159.js11 assertInstanceof(e, RangeError);
Dregress-crbug-514081.js13 assertInstanceof(e, RangeError);
/external/v8/test/mjsunit/compiler/
Dreceiver-conversion.js62 assertInstanceof(x, Number);
99 assertInstanceof(x, String);
/external/v8/test/intl/
Dassert.js142 assertInstanceof(e, type_opt);
173 function assertInstanceof(obj, type) { function

123