HomeSort by relevance Sort by last modified time
    Searched full:assertthrows (Results 126 - 150 of 458) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/v8/test/mjsunit/harmony/
proxies-set-prototype-of.js 15 assertThrows(function() { Object.setPrototypeOf(proxy, undefined) }, TypeError);
16 assertThrows(function() { Object.setPrototypeOf(proxy, 1) }, TypeError);
27 assertThrows('Object.setPrototypeOf(pair.proxy, prototype)', TypeError);
32 assertThrows(function() { Object.setPrototypeOf(proxy, {a:1}) }, TypeError);
37 assertThrows(function() { Object.setPrototypeOf(proxy, {a:2}) }, TypeError);
40 assertThrows(function() { Object.setPrototypeOf(proxy, {a:3}) }, TypeError);
45 assertThrows(function() { Object.setPrototypeOf(proxy, {a:4}) }, Error);
111 assertThrows(() => {Reflect.setPrototypeOf(proxy2, [4])}, TypeError);
121 assertThrows(() => {Reflect.setPrototypeOf(proxy2, prototype)}, TypeError);
block-eval-var-over-let.js 10 assertThrows(function() {
16 assertThrows(function() {
22 assertThrows(function() {
39 assertThrows(function() {
45 assertThrows(function() {
51 assertThrows(function() {
default-parameters.js 29 assertThrows(() => f4(null), TypeError);
61 assertThrows(() => g4(null), TypeError);
186 assertThrows(f11, ReferenceError);
188 assertThrows(f12, ReferenceError);
190 assertThrows(f13, ReferenceError);
212 assertThrows(g11, ReferenceError);
214 assertThrows(g12, ReferenceError);
216 assertThrows(g13, ReferenceError);
244 assertThrows(f11, ReferenceError);
246 assertThrows(f12, ReferenceError)
    [all...]
string-split.js 13 assertThrows(() => String.prototype.split.call(null, pattern, limit),
19 assertThrows(() => "abcde".split(pattern, limit), TypeError);
  /external/v8/test/mjsunit/regress/
regress-2443.js 30 assertThrows(function() { Number.prototype.toExponential.call({}) },
33 assertThrows(function() { Number.prototype.toPrecision.call({}) },
36 assertThrows(function() { Number.prototype.toFixed.call({}) },
39 assertThrows(function() { Number.prototype.toString.call({}) },
42 assertThrows(function() { Number.prototype.toLocaleString.call({}) },
45 assertThrows(function() { Number.prototype.ValueOf.call({}) },
117 assertThrows(function() { Number.prototype.toFixed.call(NaN, f_obj) },
122 assertThrows(function() { Number.prototype.toFixed.call(1/0, f_obj) },
127 assertThrows(function() { Number.prototype.toFixed.call(-1/0, f_obj) },
regress-603.js 33 assertThrows(function() {
39 assertThrows(function() {
44 assertThrows(function() {
49 assertThrows(function() {
55 assertThrows(function() {
61 assertThrows(function() {
  /external/v8/test/mjsunit/es6/
string-includes.js 57 assertThrows("String.prototype.includes.call(null, 'test')", TypeError);
58 assertThrows("String.prototype.includes.call(null, null)", TypeError);
59 assertThrows("String.prototype.includes.call(undefined, undefined)", TypeError);
61 assertThrows("String.prototype.includes.apply(null, ['test'])", TypeError);
62 assertThrows("String.prototype.includes.apply(null, [null])", TypeError);
63 assertThrows("String.prototype.includes.apply(undefined, [undefined])", TypeError);
150 assertThrows("'foo[a-z]+(bar)?'.includes(/[a-z]+/)", TypeError);
151 assertThrows("'foo/[a-z]+/(bar)?'.includes(/[a-z]+/)", TypeError);
153 assertThrows("'foo[a-z]+(bar)?'.includes(/(bar)?/)", TypeError);
154 assertThrows("'foo[a-z]+/(bar)?/'.includes(/(bar)?/)", TypeError)
    [all...]
spread-array.js 56 assertThrows(function() {
70 assertThrows(function() {
84 assertThrows(function() {
98 assertThrows(function() {
121 assertThrows(function() {
145 assertThrows(function() {
classes.js 60 assertThrows(function() {
64 assertThrows(function() {
69 assertThrows(function() {
75 assertThrows(function() {
131 assertThrows(function() {
165 assertThrows('class C extends function B() { with ({}); return B; }() {}',
171 assertThrows(function() {
174 assertThrows(function() {
422 assertThrows(function() {
449 assertThrows(function()
    [all...]
block-scope-class.js 18 assertThrows("(function() {" + code + "})()", error);
19 assertThrows("(function() { 'use strict'; " + code + "})()", error);
20 assertThrows("(function() { var x = 0; { " + code + "} })()", error);
21 assertThrows("(function() { 'use strict'; var x = 0; {" + code + "} })()",
indexed-integer-exotics.js 58 assertThrows('Object.defineProperty(new Int32Array(100), -1, {value: 1})');
60 assertThrows('Object.defineProperty(new Int32Array(100), "-0", {value: 1})');
61 assertThrows('Object.defineProperty(new Int32Array(100), -10, {value: 1})');
62 assertThrows('Object.defineProperty(new Int32Array(), 4294967295, {value: 1})');
spread-call-new.js 7 assertThrows(function() {
11 assertThrows(function() {
19 assertThrows(function() {
23 assertThrows(function() {
  /external/v8/test/mjsunit/
delete-non-configurable.js 35 assertThrows("'use strict'; delete so[i];", TypeError);
37 assertThrows("'use strict'; delete so[i.toString()];", TypeError);
53 assertThrows("'use strict'; delete arr[i];", TypeError);
55 assertThrows("'use strict'; delete arr[i.toString()];", TypeError);
70 assertThrows("'use strict'; delete obj[INDEX];", TypeError);
72 assertThrows("'use strict'; delete obj[INDEX.toString()];", TypeError);
regexp-not-sticky-yet.js 32 assertThrows(function() { eval("/foo.bar/y"); }, SyntaxError);
33 assertThrows(function() { eval("/foobar/y"); }, SyntaxError);
34 assertThrows(function() { eval("/foo.bar/gy"); }, SyntaxError);
35 assertThrows(function() { eval("/foobar/gy"); }, SyntaxError);
36 assertThrows(function() { new RegExp("foo.bar", "y"); }, SyntaxError);
37 assertThrows(function() { new RegExp("foobar", "y"); }, SyntaxError);
38 assertThrows(function() { new RegExp("foo.bar", "gy"); }, SyntaxError);
39 assertThrows(function() { new RegExp("foobar", "gy"); }, SyntaxError);
call-non-function.js 60 assertThrows(WillThrow);
61 assertThrows(WillThrow);
62 assertThrows(WillThrow);
63 assertThrows(WillThrow);
debug-scripts-throw.js 10 assertThrows("Debug.scripts()");
  /external/v8/test/intl/general/
smp-identifier.js 16 assertThrows(source);
26 assertThrows(source);
  /external/v8/test/mjsunit/strong/
var-let-const.js 8 assertThrows("'use strong'; var x = 0;", SyntaxError);
9 assertThrows("'use strong'; for(var i = 0; i < 10; ++i) { };", SyntaxError);
  /external/v8/test/mjsunit/compiler/
regress-4389-1.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-4389-2.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-4389-3.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-4389-4.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-4389-5.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-4389-6.js 11 assertThrows(function() { foo(Symbol()) }, TypeError);
regress-468727.js 16 assertThrows(f);

Completed in 2707 milliseconds

1 2 3 4 56 7 8 91011>>