nashorn/test/script/basic/errors.js.EXPECTED
author sundar
Wed, 16 Jan 2013 21:26:55 +0530
changeset 16178 2704dd3b2691
parent 16147 e63b63819133
child 32048 8023426b93ab
permissions -rw-r--r--
8006424: Passing null or undefined to adapter class constructors results in NPE or ClassCastException Reviewed-by: attila, hannesw, jlaskey
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
Error is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
EvalError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
RangeError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
ReferenceError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
SyntaxError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
TypeError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
URIError is a function
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
Error.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
EvalError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
RangeError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
ReferenceError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
SyntaxError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
TypeError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
URIError.arity 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
my error
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
Error
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    18
thrown @ 49
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    19
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    20
ReferenceError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    21
"foo" is not defined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    22
true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    23
TypeError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
Cannot call undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    25
Error
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    26
EvalError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    27
RangeError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    28
ReferenceError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    29
SyntaxError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    30
TypeError
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    31
URIError