nashorn/test/script/basic/errors.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 32049 af8f6292d54d
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32048
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     1
Error is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     2
EvalError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     3
RangeError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     4
ReferenceError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     5
SyntaxError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     6
TypeError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     7
URIError is a function
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     8
Error.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
     9
EvalError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    10
RangeError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    11
ReferenceError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    12
SyntaxError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    13
TypeError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    14
URIError.arity 1
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    15
true
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    16
my error
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    17
Error
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    18
thrown @ 49
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    19
true
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    20
ReferenceError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    21
"foo" is not defined
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    22
true
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    23
TypeError
32049
af8f6292d54d 8133119: Error message associated with TypeError for call and new should include stringified Node
sundar
parents: 32048
diff changeset
    24
Object.foo_method is not a function
32048
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    25
Error
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    26
EvalError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    27
RangeError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    28
ReferenceError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    29
SyntaxError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    30
TypeError
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    31
URIError