On 2013/08/19 20:40:31, johnjbarton wrote:
On 2013/08/19 19:42:28, Michael Starzinger wrote:
> Would it be possible to add a
ScriptMirror.prototype.compiledThroughEval (or
> similar name) predicate to do the job? This predicate could then rely
on the
> JavaScript constants that we have defined in macros.py for that purpose.
Also
> note that I am not particularly familiar with the debugger API, so take
this
> suggestion with a grain of salt.
Aha! Thanks for the hint! Apparently v8/src/debug-debugger.js is
included in
blink's Debug context along with
WebKit/Source/bindings/v8/DebuggerScript.js.
And in debug-debugger.js there is Debug.ScriptCompilationType exactly
what I
need.
Awesome! I wasn't aware of Debug.ScriptCompilationType either until now.
Yes,
this sounds much cleaner. Happy I could help.
https://codereview.chromium.org/22831010/
--
--
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.