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

Unified Diff: include/v8.h

Issue 265593002: Add v8::Message::GetScriptOrigin() with tests (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 684b2c292ed9448a739e46b8358bb0339eb69d43..53389599bf8322f552ee108f3d2bfd90c1e69e83 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -1131,6 +1131,12 @@ class V8_EXPORT Message {
Handle<Value> GetScriptResourceName() const;
/**
+ * Returns the resource name or sourceURL for the script from where the
+ * function causing the error originates.
+ */
+ Handle<Value> GetScriptResourceNameOrSourceURL() const;
yurys 2014/05/05 07:30:40 Would it make sense to expose GetUboundScript() me
+
+ /**
* Returns the resource data for the script from where the function causing
* the error originates.
*/
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698