Commit 9de1ec5a authored by adamk@chromium.org's avatar adamk@chromium.org

Comment out %RunMicrotasks assert that triggers in mjsunit tests

TBR=dcarney@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21359 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f737580c
......@@ -2264,7 +2264,12 @@ void Isolate::EnqueueMicrotask(Handle<JSFunction> microtask) {
void Isolate::RunMicrotasks() {
ASSERT(handle_scope_implementer()->CallDepthIsZero());
// TODO(adamk): This ASSERT triggers in mjsunit tests which
// call the %RunMicrotasks runtime function. But it should
// never happen outside of tests, so it would be nice to
// uncomment it.
//
// ASSERT(handle_scope_implementer()->CallDepthIsZero());
// Increase call depth to prevent recursive callbacks.
handle_scope_implementer()->IncrementCallDepth();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment