script:
1 document.write('foo');
2 var str = 'hello' + 'world';
3 ...
cpp:
v8::Handle result = script->Run();
result:
test.js:1: Uncaught ReferenceError: document is not defined
I want to change some v8 source code for specail usage, let it continue
running script and get 'helloworld', ignoring the Uncaught ReferenceError.
Is there any simple way to achieve it? Maybe something like hook the top
exception handler to catch all uncaught error and let it just run next
script sentence.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.