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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h

Issue 1952893003: Implement custom element construction and some 'define' checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use DCHECK, revert RuntimeEnabledFeatures.in. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
index 1f0ab6ebdb48674e6f1ff9beba316811e4f04937..d09449a838c84cb7344ed9f440388ddd234bbe1f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
@@ -84,6 +84,7 @@ public:
virtual void throwDOMException(const ExceptionCode&, const String& message);
virtual void throwTypeError(const String& message);
virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String());
+ virtual void throwSyntaxError(const String& message);
virtual void throwRangeError(const String& message);
bool hadException() const { return !m_exception.isEmpty() || m_code; }
@@ -151,6 +152,7 @@ public:
void throwDOMException(const ExceptionCode&, const String& message) override;
void throwTypeError(const String& message = String()) override;
void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override;
+ void throwSyntaxError(const String& message = String()) override;
Yuki 2016/05/11 01:59:02 https://engdoc.corp.google.com/eng/doc/devguide/cp
Yuki 2016/05/11 09:29:53 ping?
void throwRangeError(const String& message) override;
};
@@ -162,6 +164,7 @@ public:
void throwDOMException(const ExceptionCode&, const String& message) override;
void throwTypeError(const String& message = String()) override;
void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override;
+ void throwSyntaxError(const String& message = String()) override;
Yuki 2016/05/11 01:59:02 Ditto.
void throwRangeError(const String& message) override;
};

Powered by Google App Engine
This is Rietveld 408576698