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

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') | src/api.cc » ('J')
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..52c8747235e11a2f769ad425765ada747ca89eae 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 for the script from where the function causing
vsevik 2014/04/30 10:18:40 Returns the resource name or sourceURL for the scr
+ * the error originates. (or sourceURL).
+ */
+ Handle<Value> GetScriptResourceNameOrSourceURL() const;
+
+ /**
* 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') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698