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