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

Unified Diff: sky/engine/core/dom/custom/CustomElementException.cpp

Issue 788773006: Remove extension check from CustomElementRegistry. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/dom/custom/CustomElementException.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementException.cpp b/sky/engine/core/dom/custom/CustomElementException.cpp
index f7fc45715d9d4f1f27abbe74bde00fcd4a7582c8..4f794e4e0ecfe209c1a99766b36143ec485cc2a7 100644
--- a/sky/engine/core/dom/custom/CustomElementException.cpp
+++ b/sky/engine/core/dom/custom/CustomElementException.cpp
@@ -44,10 +44,6 @@ String CustomElementException::preamble(const AtomicString& type)
void CustomElementException::throwException(Reason reason, const AtomicString& type, ExceptionState& exceptionState)
{
switch (reason) {
- case CannotRegisterFromExtension:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Elements cannot be registered from extensions.");
- return;
-
case ConstructorPropertyNotConfigurable:
exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Prototype constructor property is not configurable.");
return;
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementException.h ('k') | sky/engine/core/dom/custom/CustomElementRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698