test/nashorn/script/basic/errors.js.EXPECTED
author mikael
Thu, 19 Apr 2018 17:13:19 -0700
changeset 49838 b37e0785ce0b
parent 47216 71c04702a3d5
permissions -rw-r--r--
8202052: Disable warnings when building libawt with VS2017 Reviewed-by: erikj, prr
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