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

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

Issue 2443543002: createElement should not transmit exceptions but report them. (Closed)
Patch Set: Created 4 years, 2 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/ScriptCustomElementDefinition.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
index 125ce0cc64ba2d9d84f0ddde559f9ada57a9c625..4619356f9a0409cde370d224a56475631b372245 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
@@ -46,9 +46,6 @@ class CORE_EXPORT ScriptCustomElementDefinition final
v8::Local<v8::Object> prototype() const;
HTMLElement* createElementSync(Document&, const QualifiedName&) override;
- HTMLElement* createElementSync(Document&,
- const QualifiedName&,
- ExceptionState&) override;
bool hasConnectedCallback() const override;
bool hasDisconnectedCallback() const override;
@@ -86,6 +83,11 @@ class CORE_EXPORT ScriptCustomElementDefinition final
int argc = 0,
v8::Local<v8::Value> argv[] = nullptr);
+ HTMLElement* handleCreateElementSyncException(Document&,
+ const QualifiedName& tagName,
+ v8::Isolate*,
+ ExceptionState&);
+
RefPtr<ScriptState> m_scriptState;
ScopedPersistent<v8::Object> m_constructor;
ScopedPersistent<v8::Object> m_prototype;

Powered by Google App Engine
This is Rietveld 408576698