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

Unified Diff: Source/bindings/v8/V8ThrowException.h

Issue 68563003: Create DOM exceptions in the correct context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased onto df9a982fbe97 Created 7 years, 1 month 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 | « Source/bindings/v8/V8Initializer.cpp ('k') | Source/bindings/v8/V8ThrowException.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8ThrowException.h
diff --git a/Source/bindings/v8/V8ThrowException.h b/Source/bindings/v8/V8ThrowException.h
index 1f4deb222810e942338b2f17a3f300555472d003..1b9f36ef22fd7e8f8a5baa1215b3f4f0794ec31b 100644
--- a/Source/bindings/v8/V8ThrowException.h
+++ b/Source/bindings/v8/V8ThrowException.h
@@ -43,23 +43,23 @@ public:
static v8::Handle<v8::Value> createDOMException(int ec, v8::Isolate* isolate)
{
- return createDOMException(ec, String(), isolate);
+ return createDOMException(ec, String(), v8::Handle<v8::Object>(), isolate);
}
- static v8::Handle<v8::Value> createDOMException(int ec, const String& message, v8::Isolate* isolate)
+ static v8::Handle<v8::Value> createDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
{
- return createDOMException(ec, message, String(), isolate);
+ return createDOMException(ec, message, String(), creationContext, isolate);
}
- static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*);
+ static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
- static v8::Handle<v8::Value> throwDOMException(int ec, v8::Isolate* isolate)
+ static v8::Handle<v8::Value> throwDOMException(int ec, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
{
- return throwDOMException(ec, String(), isolate);
+ return throwDOMException(ec, String(), creationContext, isolate);
}
- static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, v8::Isolate* isolate)
+ static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
{
- return throwDOMException(ec, message, String(), isolate);
+ return throwDOMException(ec, message, String(), creationContext, isolate);
}
- static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*);
+ static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Isolate*);
static v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*);
« no previous file with comments | « Source/bindings/v8/V8Initializer.cpp ('k') | Source/bindings/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698