| 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;
|
|
|