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

Unified Diff: runtime/include/dart_api.h

Issue 35393003: Retain script path of parent isolate when spawnFunction is called so that (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: runtime/include/dart_api.h
===================================================================
--- runtime/include/dart_api.h (revision 29136)
+++ runtime/include/dart_api.h (working copy)
@@ -613,16 +613,21 @@
* caller of this function (the vm) will make sure that the buffer is
* freed.
*
- * \param script_uri The uri of the script to load. This uri has been
- * canonicalized by the library tag handler from the parent isolate.
+ * \param script_uri The uri of the script to load.
+ * This uri is non NULL if the isolate is being created using the
+ * spawnUri isolate API. This uri has been canonicalized by the
+ * library tag handler from the parent isolate.
* The callback is responsible for loading this script by a call to
* Dart_LoadScript or Dart_LoadScriptFromSnapshot.
+ * This uri will be NULL if the isolate is being created using the
+ * spawnFunction isolate API.
+ * The callback is responsible for loading the script used in the
+ * parent isolate by a call to Dart_LoadScript or
+ * Dart_LoadScriptFromSnapshot.
* \param main The name of the main entry point this isolate will
* eventually run. This is provided for advisory purposes only to
* improve debugging messages. The main function is not invoked by
* this function.
- * \param unhandled_exc The name of the function to this isolate will
- * call when an unhandled exception is encountered.
* \param callback_data The callback data which was passed to the
* parent isolate when it was created by calling Dart_CreateIsolate().
* \param error A structure into which the embedder can place a

Powered by Google App Engine
This is Rietveld 408576698