Blink-in-JS: Make error messages thrown in private scripts more verbose
- Split compilation of private scripts from running installClass(), in order to distinguish a compile error with a runtime error that happens in installClass(). - Added ScriptOrigin to private scripts. By doing this, dumpV8Message() can print a file name and a line number where an error is triggered. - Refactored PrivateScriptRunner.cpp a bit. This just affects fprintf(stderr) and doesn't change any web-exposed behavior. BUG=341031 Review URL: https://codereview.chromium.org/465283002 git-svn-id: svn://svn.chromium.org/blink/trunk@180180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
This diff is collapsed.
Please register or sign in to comment