Revision: 19588
Author: [email protected]
Date: Thu Feb 27 16:49:55 2014 UTC
Log: Runtime::RunMicrotask should silent return if no pending
microtask work (rather than asserting)
[email protected], rossberg
BUG=347532
Review URL: https://codereview.chromium.org/181013008
http://code.google.com/p/v8/source/detail?r=19588
Modified:
/branches/bleeding_edge/src/runtime.cc
/branches/bleeding_edge/test/mjsunit/fuzz-natives-part3.js
=======================================
--- /branches/bleeding_edge/src/runtime.cc Thu Feb 27 16:27:22 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc Thu Feb 27 16:49:55 2014 UTC
@@ -14685,7 +14685,8 @@
RUNTIME_FUNCTION(MaybeObject*, Runtime_RunMicrotasks) {
HandleScope scope(isolate);
ASSERT(args.length() == 0);
- Execution::RunMicrotasks(isolate);
+ if (isolate->microtask_pending())
+ Execution::RunMicrotasks(isolate);
return isolate->heap()->undefined_value();
}
=======================================
--- /branches/bleeding_edge/test/mjsunit/fuzz-natives-part3.js Wed Feb 12
22:04:19 2014 UTC
+++ /branches/bleeding_edge/test/mjsunit/fuzz-natives-part3.js Thu Feb 27
16:49:55 2014 UTC
@@ -217,9 +217,6 @@
"DataViewGetBuffer": true,
"DataViewGetByteLength": true,
"DataViewGetByteOffset": true,
-
- // Only ever called internally.
- "RunMicrotasks": true
};
var currentlyUncallable = {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.