• rafaelw@chromium.org's avatar
    V8 Microtask Queue & API · 6b5a4cde
    rafaelw@chromium.org authored
    This patch generalizes Object.observe callbacks and promise resolution into a FIFO queue called a "microtask queue".
    
    It also exposes new V8 API which exposes the microtask queue to the embedder. In particular, it allows the embedder to
    
    -schedule a microtask (EnqueueExternalMicrotask)
    -run the microtask queue (RunMicrotasks)
    -control whether the microtask queue is run automatically within V8 when the last script exits (SetAutorunMicrotasks).
    
    R=dcarney@chromium.org, rossberg@chromium.org, dcarney, rossberg, svenpanne
    BUG=
    
    Review URL: https://codereview.chromium.org/154283002
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    6b5a4cde
Name
Last commit
Last update
..
array-find.js Loading commit data...
array-findindex.js Loading commit data...
array-iterator.js Loading commit data...
block-conflicts.js Loading commit data...
block-const-assign.js Loading commit data...
block-early-errors.js Loading commit data...
block-for.js Loading commit data...
block-lazy-compile.js Loading commit data...
block-leave.js Loading commit data...
block-let-crankshaft.js Loading commit data...
block-let-declaration.js Loading commit data...
block-let-semantics.js Loading commit data...
block-scoping.js Loading commit data...
collections.js Loading commit data...
dataview-accessors.js Loading commit data...
debug-blockscopes.js Loading commit data...
debug-evaluate-blockscopes.js Loading commit data...
debug-function-scopes.js Loading commit data...
generators-iteration.js Loading commit data...
generators-objects.js Loading commit data...
generators-parsing.js Loading commit data...
generators-runtime.js Loading commit data...
iteration-semantics.js Loading commit data...
iteration-syntax.js Loading commit data...
math-hyperbolic.js Loading commit data...
math-hypot.js Loading commit data...
math-log2-log10.js Loading commit data...
math-sign.js Loading commit data...
math-trunc.js Loading commit data...
microtask-delivery.js Loading commit data...
module-linking.js Loading commit data...
module-parsing.js Loading commit data...
module-recompile.js Loading commit data...
module-resolution.js Loading commit data...
numeric-literals-off.js Loading commit data...
numeric-literals.js Loading commit data...
object-observe.js Loading commit data...
private.js Loading commit data...
promises.js Loading commit data...
proxies-example-membrane.js Loading commit data...
proxies-for.js Loading commit data...
proxies-function.js Loading commit data...
proxies-hash.js Loading commit data...
proxies-json.js Loading commit data...
proxies-symbols.js Loading commit data...
proxies-with.js Loading commit data...
proxies.js Loading commit data...
string-contains.js Loading commit data...
string-endswith.js Loading commit data...
string-repeat.js Loading commit data...
string-startswith.js Loading commit data...
symbols.js Loading commit data...
typedarrays.js Loading commit data...
typeof.js Loading commit data...