nashorn/test/script/basic/errors.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 16147 e63b63819133
child 32048 8023426b93ab
permissions -rw-r--r--
8034812: remove IDX_INIT macro hack in Node class Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly. Reviewed-by: kvn, jrose, iveresov, goetz
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