diff options
Diffstat (limited to 'dom/webidl/WebComponents.webidl')
-rw-r--r-- | dom/webidl/WebComponents.webidl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/webidl/WebComponents.webidl b/dom/webidl/WebComponents.webidl index 2c2d9fb53..008f59410 100644 --- a/dom/webidl/WebComponents.webidl +++ b/dom/webidl/WebComponents.webidl @@ -13,6 +13,8 @@ callback LifecycleCreatedCallback = void(); callback LifecycleConnectedCallback = void(); callback LifecycleDisconnectedCallback = void(); +callback LifecycleAdoptedCallback = void(Document? oldDocument, + Document? newDocment); callback LifecycleAttributeChangedCallback = void(DOMString attrName, DOMString? oldValue, DOMString? newValue, @@ -22,6 +24,7 @@ dictionary LifecycleCallbacks { LifecycleCreatedCallback? createdCallback; LifecycleConnectedCallback? connectedCallback; LifecycleDisconnectedCallback? disconnectedCallback; + LifecycleAdoptedCallback? adoptedCallback; LifecycleAttributeChangedCallback? attributeChangedCallback; }; |