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

1 23 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/harmony/
module-parsing-eval.js 31 assertThrows("export let x;", SyntaxError);
32 assertThrows("import x from 'http://url';", SyntaxError);
34 assertThrows("{ export let x; }", SyntaxError);
35 assertThrows("{ import x from 'http://url'; }", SyntaxError);
37 assertThrows("function f() { export let x; }", SyntaxError);
38 assertThrows("function f() { import x from 'http://url'; }", SyntaxError);
40 assertThrows("function f() { { export let x; } }", SyntaxError);
41 assertThrows("function f() { { import x from 'http://url'; } }", SyntaxError);
proxies-global-reference.js 11 assertThrows(()=>a, TypeError);
14 assertThrows(()=>a, TypeError);
arraybuffer-species.js 15 assertThrows(() => new MyShortArrayBuffer(5).slice(0, 4), TypeError);
24 assertThrows(() => new SingletonArrayBuffer(5).slice(0, 4), TypeError);
31 assertThrows(() => new NonArrayBuffer(5).slice(0, 4), TypeError);
reflect-construct.js 14 assertThrows(function() {
155 assertThrows(function() {
159 assertThrows(function() {
175 assertThrows(function() {
179 assertThrows(function() {
187 assertThrows(function() { Reflect.construct(void 0, []); }, TypeError);
188 assertThrows(function() { Reflect.construct(null, []); }, TypeError);
189 assertThrows(function() { Reflect.construct(123, []); }, TypeError);
190 assertThrows(function() { Reflect.construct("str", []); }, TypeError);
191 assertThrows(function() { Reflect.construct(Symbol("x"), []); }, TypeError)
    [all...]
proxies-revocable.js 20 assertThrows(() => Reflect[trap](proxy), TypeError);
25 assertThrows(() => Reflect[trap](proxy), TypeError);
string-match.js 12 assertThrows(() => String.prototype.match.call(null, pattern),
18 assertThrows(() => "abcde".match(pattern), TypeError);
typedarray-species.js 46 assertThrows(() => new MyShortTypedArray(5).map(()=>0), TypeError);
47 assertThrows(() => new MyShortTypedArray(5).filter(()=>true), TypeError);
48 assertThrows(() => new MyShortTypedArray(5).slice(), TypeError);
53 assertThrows(() => new MyNonTypedArray().map(()=>0), TypeError);
54 assertThrows(() => new MyNonTypedArray().filter(()=>{}), TypeError);
55 assertThrows(() => new MyNonTypedArray().slice(), TypeError);
81 assertThrows(() => new MyThrowingArray().map(()=>{}), SpeciesError);
85 assertThrows(() => new MyThrowingArray().map(()=>{}), ConstructorError);
  /external/v8/test/mjsunit/regress/
regress-crbug-451770.js 7 assertThrows(function f() {
12 assertThrows(function f() {
regress-crbug-467531.js 7 assertThrows(function() {
17 assertThrows(function() {
regress-1620.js 36 assertThrows("var \\u\\u\\u = 42;");
37 assertThrows("var \\u41 = 42;");
38 assertThrows("var \\u123 = 42;");
41 assertThrows("var uuu = 42; var x = \\u\\u\\u");
50 assertThrows("/x/g\\uim", SyntaxError);
51 assertThrows("/x/g\\u2im", SyntaxError);
52 assertThrows("/x/g\\u22im", SyntaxError);
53 assertThrows("/x/g\\u222im", SyntaxError);
54 assertThrows("/x/g\\\\u2222im", SyntaxError);
regress-4388.js 18 assertThrows("test_hole_check_for_let(1)", ReferenceError);
20 assertThrows("test_hole_check_for_let(1)", ReferenceError);
32 assertThrows("test_hole_check_for_const(0)", TypeError);
33 assertThrows("test_hole_check_for_const(1)", ReferenceError);
35 assertThrows("test_hole_check_for_const(1)", ReferenceError);
regress-1415.js 30 assertThrows(function(){ decodeURIComponent("%ED%A0%80"); }, URIError);
32 assertThrows(function(){ decodeURIComponent("%ED%AF%BF"); }, URIError);
34 assertThrows(function(){ decodeURIComponent("%ED%B0%80"); }, URIError);
36 assertThrows(function(){ decodeURIComponent("%ED%BF%BF"); }, URIError);
40 assertThrows(function(){ decodeURIComponent("%C1%BF"); }, URIError);
42 assertThrows(function(){ decodeURIComponent("%E0%9F%BF"); }, URIError);
regress-469605b.js 25 assertThrows(function() { f(0, counter(), counter()); });
26 assertThrows(function() { f(1, counter(), counter()); });
  /external/v8/test/mjsunit/
strict-mode.js 30 assertThrows("'use strict';\n" + code, exception);
31 assertThrows('"use strict";\n' + code, exception);
38 assertThrows("\
59 assertThrows(function() {
71 assertThrows("function foo (x) 'use strict'; {}", SyntaxError);
81 assertThrows('\
136 assertThrows('\
163 assertThrows('\
354 assertThrows("function " + word + " () { 'use strict'; }", SyntaxError);
355 assertThrows("function foo (" + word + ", " + word + ") { 'use strict'; }"
    [all...]
delay-syntax-error.js 29 assertThrows("if (false) return;");
30 assertThrows("if (false) break;");
31 assertThrows("if (false) continue;");
33 assertThrows("return;");
34 assertThrows("break;");
35 assertThrows("continue;");
get-own-property-descriptor-non-objects.js 5 assertThrows(function() {
10 assertThrows(function() {
  /external/v8/test/mjsunit/es6/
generators-states.js 18 assertThrows(function() { iter.throw(new Bar); }, Bar);
27 assertThrows(function() { iter.throw(new Foo) }, Foo)
28 assertThrows(function() { iter.throw(new Foo) }, Foo)
33 assertThrows(function() { iter.throw(new Foo) }, Foo)
34 assertThrows(function() { iter.throw(new Foo) }, Foo)
39 assertThrows(function() { iter.next() }, TypeError)
44 assertThrows(function() { iter.next() }, TypeError)
arrow-functions.js 9 assertThrows(function() { new (() => {}); }, TypeError);
52 assertThrows(function() { return arrowFn.arguments; }, TypeError);
53 assertThrows(function() { arrowFn.arguments = {}; }, TypeError);
56 assertThrows(function() { return arrowFn.caller; }, TypeError);
57 assertThrows(function() { arrowFn.caller = {}; }, TypeError);
64 assertThrows(function() { return arrowFn.arguments; }, TypeError);
65 assertThrows(function() { arrowFn.arguments = {}; }, TypeError);
68 assertThrows(function() { return arrowFn.caller; }, TypeError);
69 assertThrows(function() { arrowFn.caller = {}; }, TypeError);
regexp-flags.js 17 assertThrows(function() { r2.source; }, TypeError);
18 assertThrows(function() { r2.global; }, TypeError);
19 assertThrows(function() { r2.ignoreCase; }, TypeError);
20 assertThrows(function() { r2.multiline; }, TypeError);
21 assertThrows(function() { r2.sticky; }, TypeError);
22 assertThrows(function() { r2.unicode; }, TypeError);
string-search.js 12 assertThrows(() => String.prototype.search.call(null, pattern),
18 assertThrows(() => "abcde".search(pattern), TypeError);
throw-type-error-function-restrictions.js 10 assertThrows(function() {
20 assertThrows(function() {
  /external/v8/test/mjsunit/strong/
object-freeze-property.js 66 assertThrows(function(){func(o)}, TypeError);
67 assertThrows(function(){func(o)}, TypeError);
68 assertThrows(function(){func(o)}, TypeError);
70 assertThrows(function(){func(o)}, TypeError);
72 assertThrows(function(){func(o)}, TypeError);
class-object-frozen.js 52 assertThrows(function(){addProperty(classFunc())}, TypeError);
53 assertThrows(function(){addProperty(classFunc().prototype)}, TypeError);
54 assertThrows(function(){convertPropertyToData(classFunc())}, TypeError);
55 assertThrows(function(){convertPropertyToData(classFunc().prototype)},
95 assertThrows(function(){addProperty(parent)}, TypeError);
96 assertThrows(function(){convertPropertyToData(parent)}, TypeError);
  /external/v8/test/mjsunit/compiler/
literals.js 39 assertThrows('"\\x1/"');
40 assertThrows('"\\u111/"');
45 assertThrows('"\\x1:"');
46 assertThrows('"\\u111:"');
51 assertThrows('"\\x1`"');
52 assertThrows('"\\u111`"');
57 assertThrows('"\\x1g"');
58 assertThrows('"\\u111g"');
63 assertThrows('"\\x1@"');
64 assertThrows('"\\u111@"')
    [all...]
  /external/v8/test/mjsunit/es7/
object-observe-runtime.js 13 assertThrows(function() {
17 assertThrows(function() {

Completed in 939 milliseconds

1 23 4 5 6 7 8 91011>>