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

Side by Side 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, 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
« no previous file with comments | « no previous file | src/api.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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 Local<String> Get() const; 1124 Local<String> Get() const;
1125 Local<String> GetSourceLine() const; 1125 Local<String> GetSourceLine() const;
1126 1126
1127 /** 1127 /**
1128 * Returns the resource name for the script from where the function causing 1128 * Returns the resource name for the script from where the function causing
1129 * the error originates. 1129 * the error originates.
1130 */ 1130 */
1131 Handle<Value> GetScriptResourceName() const; 1131 Handle<Value> GetScriptResourceName() const;
1132 1132
1133 /** 1133 /**
1134 * Returns the resource name or sourceURL for the script from where the
1135 * function causing the error originates.
1136 */
1137 Handle<Value> GetScriptResourceNameOrSourceURL() const;
yurys 2014/05/05 07:30:40 Would it make sense to expose GetUboundScript() me
1138
1139 /**
1134 * Returns the resource data for the script from where the function causing 1140 * Returns the resource data for the script from where the function causing
1135 * the error originates. 1141 * the error originates.
1136 */ 1142 */
1137 Handle<Value> GetScriptData() const; 1143 Handle<Value> GetScriptData() const;
1138 1144
1139 /** 1145 /**
1140 * Exception stack trace. By default stack traces are not captured for 1146 * Exception stack trace. By default stack traces are not captured for
1141 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows 1147 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows
1142 * to change this option. 1148 * to change this option.
1143 */ 1149 */
(...skipping 5445 matching lines...) Expand 10 before | Expand all | Expand 10 after
6589 */ 6595 */
6590 6596
6591 6597
6592 } // namespace v8 6598 } // namespace v8
6593 6599
6594 6600
6595 #undef TYPE_CHECK 6601 #undef TYPE_CHECK
6596 6602
6597 6603
6598 #endif // V8_H_ 6604 #endif // V8_H_
OLDNEW
« 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