V8 provides a flag to print every javascript source code compiled in V8. If
you run chromium with --js-flags="--print-source", this flag should be
turned on. I hope this helps.
Yang
On Thursday, July 26, 2012 9:47:10 AM UTC+2, Sasquatch wrote:
>
> I've been trying to print the scripts that the chromium browser executes
> I've tried to print the code from v8/src/compiler.cc but the code seems to
> be minified by other files like
> Source/WebCore/bindings/v8/V8LazyEventListener.cpp
> i.e
> String code = "(function (evt) {" \
> "with (this.ownerDocument ? this.ownerDocument : {}) {" \
> "with (this.form ? this.form : {}) {" \
> "with (this) {" \
> "return (function(evt){";
> code.append(m_code);
>
> Can you point me the exact files where the obfuscated/original code is
> actually passed to chromium browser
>
> Thanks for your time.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users