nashorn/test/script/basic/errors.js.EXPECTED
author sundar
Tue, 04 Aug 2015 18:18:54 +0530
changeset 32048 8023426b93ab
parent 16147 e63b63819133
child 32049 af8f6292d54d
permissions -rw-r--r--
8073733: TypeError messages with "call" and "new" could be improved Reviewed-by: attila, mhaupt
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
8023426b93ab 8073733: TypeError messages with "call" and "new" could be improved
sundar
parents: 16147
diff changeset
    24
Cannot call "foo_method" that has undefined value
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