v8/include
yurys e33ae81ce1 Allow passing sourceMapUrl when compiling scripts
According to Source Map specification [1] source map url can be passed either as a magic comment at the end of script or as SourceMap http header. We already parse the former value and expose it on Script object. This change allows to unify the way we deal with source map urls received in http header by providing api for passing that url into the script being compiled.

source_map_url is intentionally not passed into CompilationCacheScript::Lookup. The cache is anyways disabled when debugger is on.

[1] https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit

LOG=Y
BUG=chromium:462572

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

Cr-Commit-Position: refs/heads/master@{#27017}
2015-03-05 13:03:57 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
v8-debug.h Expose function CheckDebugBreak in the debugger api 2014-08-20 11:04:05 +00:00
v8-platform.h Remove default NOP implementation of MonotonicallyIncreasingTime. 2014-10-09 10:44:30 +00:00
v8-profiler.h Revert "Make GCC happy again." and "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 07:19:57 +00:00
v8-testing.h Bulk update of Google copyright headers in source files. 2014-04-29 06:42:26 +00:00
v8-util.h Support old and new weak handle API 2015-01-23 11:28:54 +00:00
v8-version.h Add public version macros. 2015-02-26 08:59:23 +00:00
v8.h Allow passing sourceMapUrl when compiling scripts 2015-03-05 13:03:57 +00:00
v8config.h Convert v8::Value::To* to use MaybeLocal 2015-02-27 10:39:41 +00:00