Go to file
mstarzinger@chromium.org 96fc677d25 Pipe a script's CORS status through V8 during compilation.
In order to properly sanitize exception data during a 'window.onerror'
handler, we need to know whether a script was served with proper CORS
headers at the time it was loaded into V8. This patch adds a single bool
to ScriptOrigin, and pipes that through the compiler to land on the
Script object. We can then retrieve the parameter when calling the
embedder's exception callback.

BUG=crbug.com/159566
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/20646006

Patch from Mike West <mkwst@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15963 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-07-30 17:05:50 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Revamp v8_optimized_debug options 2013-07-29 14:00:06 +00:00
include Pipe a script's CORS status through V8 during compilation. 2013-07-30 17:05:50 +00:00
preparser Factor out toolset definitions in a separate gypi file 2013-07-10 11:15:16 +00:00
samples Only depend on icudata on windows. 2013-07-11 11:01:00 +00:00
src Pipe a script's CORS status through V8 during compilation. 2013-07-30 17:05:50 +00:00
test Pipe a script's CORS status through V8 during compilation. 2013-07-30 17:05:50 +00:00
tools Add new Harmony methods to String.prototype object. 2013-07-30 16:33:08 +00:00
.gitignore Ignore all toplevel files starting with an underscore. 2013-07-29 07:43:32 +00:00
AUTHORS Add methods to allow resuming execution after calling TerminateExecution(). 2013-04-22 15:01:45 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.20.12. 2013-07-30 11:08:56 +00:00
DEPS Update ICU to r213354 2013-07-24 15:09:41 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Update ICU to r213354 2013-07-24 15:09:41 +00:00
Makefile.android Enable building for android on x86_64 machines. 2013-07-17 08:37:48 +00:00
Makefile.nacl Fix gyp_v8 to work with use_system_icu=1 2013-07-15 15:41:21 +00:00
OWNERS Add myself to OWNERS. 2013-06-27 11:37:47 +00:00
PRESUBMIT.py Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00