mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 17:31:53 +00:00
Fix exception_clearing test wrt. column numbers
This commit is contained in:
parent
654a8b8039
commit
6d43ec6dbc
@ -23,7 +23,7 @@ var_dump($v8->getPendingException());
|
|||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
NULL
|
NULL
|
||||||
NULL
|
NULL
|
||||||
object(V8JsScriptException)#%d (11) {
|
object(V8JsScriptException)#%d (13) {
|
||||||
["message":protected]=>
|
["message":protected]=>
|
||||||
string(49) "throw_0:1: ReferenceError: fooobar is not defined"
|
string(49) "throw_0:1: ReferenceError: fooobar is not defined"
|
||||||
["string":"Exception":private]=>
|
["string":"Exception":private]=>
|
||||||
@ -63,6 +63,10 @@ object(V8JsScriptException)#%d (11) {
|
|||||||
string(7) "throw_0"
|
string(7) "throw_0"
|
||||||
["JsLineNumber":protected]=>
|
["JsLineNumber":protected]=>
|
||||||
int(1)
|
int(1)
|
||||||
|
["JsStartColumn":protected]=>
|
||||||
|
int(0)
|
||||||
|
["JsEndColumn":protected]=>
|
||||||
|
int(1)
|
||||||
["JsSourceLine":protected]=>
|
["JsSourceLine":protected]=>
|
||||||
string(7) "fooobar"
|
string(7) "fooobar"
|
||||||
["JsTrace":protected]=>
|
["JsTrace":protected]=>
|
||||||
|
Loading…
Reference in New Issue
Block a user