DescriptionPipe 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
Committed: http://code.google.com/p/v8/source/detail?r=15963
Patch Set 1 #Patch Set 2 : Rebased on top of 20758002. #Patch Set 3 : rebaseline. #
Total comments: 11
Patch Set 4 : Rework. #Patch Set 5 : test. #Patch Set 6 : . #
Total comments: 2
Patch Set 7 : . #
Messages
Total messages: 16 (0 generated)
|