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

Unified Diff: sky/engine/core/dom/custom/CustomElementRegistry.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
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementException.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/custom/CustomElementRegistry.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementRegistry.cpp b/sky/engine/core/dom/custom/CustomElementRegistry.cpp
index ab3839d83c127db291f79e8768037c04e9c6ff99..339c2c8253fb132b706d2acbef3bd45d7aea8841 100644
--- a/sky/engine/core/dom/custom/CustomElementRegistry.cpp
+++ b/sky/engine/core/dom/custom/CustomElementRegistry.cpp
@@ -69,11 +69,6 @@ CustomElementDefinition* CustomElementRegistry::registerElement(Document* docume
AtomicString type = userSuppliedName.lower();
- if (!constructorBuilder->isFeatureAllowed()) {
- CustomElementException::throwException(CustomElementException::CannotRegisterFromExtension, type, exceptionState);
- return 0;
- }
-
if (!CustomElement::isValidName(type, validNames)) {
CustomElementException::throwException(CustomElementException::InvalidName, type, exceptionState);
return 0;
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementException.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698