v8/include
Andreas Haas 6004c53da3 [wasm][streaming] Change the signature of the Abort API function to MaybeLocal
When streaming compilation for WebAssembly gets aborted, we reject the
promise associated with the compilation. However, in some circumstances,
e.g. when streaming comilation gets aborted because the browser tab gets
refreshed, then we want to omit rejecting the promise. In an older CL
(https://crrev.com/c/876103) we omit rejecting the promise when the
exception value is null. With this CL the exception value is a MaybeLocal
so that we document properly that the value can be null. In addition, I
added documentation to say that in that case we do not reject the promise.

R=adamk@chromium.org

Bug: chromium:803838
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I6a093e61c8ec63f7ae385a7f77ae6178e7b34a06
Reviewed-on: https://chromium-review.googlesource.com/897647
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51211}
2018-02-09 14:47:49 +00:00
..
libplatform [tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP 2018-01-12 16:27:25 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS Add myself to include/OWNERS 2017-07-07 15:32:00 +00:00
PRESUBMIT.py Add layout test bots to changes to api.cc 2017-05-31 14:15:18 +00:00
v8-debug.h [debugger,api] deprecate everything in v8-debug.h 2017-03-10 07:06:25 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h [inspector] remove wrapObject overload 2017-12-20 20:17:21 +00:00
v8-platform.h Revert "[platform] Remove {PageAllocator::kReadWriteExecute}." 2018-01-24 12:49:47 +00:00
v8-profiler.h New API for capturing embedder object graph in heap snapshot. 2018-02-01 08:05:14 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h remove SetReference from PersistentValueMapBase. 2018-01-19 13:40:51 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h [build] Fix V8_VERSION_STRING with embedder string 2017-10-23 14:31:52 +00:00
v8-version.h Update V8 version to 6.6 2018-01-18 12:53:45 +00:00
v8.h [wasm][streaming] Change the signature of the Abort API function to MaybeLocal 2018-02-09 14:47:49 +00:00
v8config.h [cleanup] Remove the V8_NORETURN macro 2017-06-26 09:53:07 +00:00