Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: include/v8.h

Issue 294943009: Allow microtasks to throw exceptions and handle them gracefully (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use existing Suppression scope Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4362 matching lines...) Expand 10 before | Expand all | Expand 10 after
4373 */ 4373 */
4374 void AddCallCompletedCallback(CallCompletedCallback callback); 4374 void AddCallCompletedCallback(CallCompletedCallback callback);
4375 4375
4376 /** 4376 /**
4377 * Removes callback that was installed by AddCallCompletedCallback. 4377 * Removes callback that was installed by AddCallCompletedCallback.
4378 */ 4378 */
4379 void RemoveCallCompletedCallback(CallCompletedCallback callback); 4379 void RemoveCallCompletedCallback(CallCompletedCallback callback);
4380 4380
4381 /** 4381 /**
4382 * Experimental: Runs the Microtask Work Queue until empty 4382 * Experimental: Runs the Microtask Work Queue until empty
4383 * Any exceptions thrown by microtask callbacks are swallowed.
4383 */ 4384 */
4384 void RunMicrotasks(); 4385 void RunMicrotasks();
4385 4386
4386 /** 4387 /**
4387 * Experimental: Enqueues the callback to the Microtask Work Queue 4388 * Experimental: Enqueues the callback to the Microtask Work Queue
4388 */ 4389 */
4389 void EnqueueMicrotask(Handle<Function> microtask); 4390 void EnqueueMicrotask(Handle<Function> microtask);
4390 4391
4391 /** 4392 /**
4392 * Experimental: Controls whether the Microtask Work Queue is automatically 4393 * Experimental: Controls whether the Microtask Work Queue is automatically
(...skipping 2243 matching lines...) Expand 10 before | Expand all | Expand 10 after
6636 */ 6637 */
6637 6638
6638 6639
6639 } // namespace v8 6640 } // namespace v8
6640 6641
6641 6642
6642 #undef TYPE_CHECK 6643 #undef TYPE_CHECK
6643 6644
6644 6645
6645 #endif // V8_H_ 6646 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698