From 379f99086f38c1fe5845bbb554bf0bc6d167ed9e Mon Sep 17 00:00:00 2001 From: Robert Linder <26493779+Malvoz@users.noreply.github.com> Date: Wed, 7 Aug 2019 17:26:46 +0200 Subject: [PATCH] Fix miscounted number of custom element callbacks ab7344318eed117b94f094b1c564e60527d2257f introduced new custom element callbacks, but continued to referring to there being four callbacks. Let's stop stating how many callbacks there are. Fixes #4822. --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index f07670a3d31..72635d08449 100644 --- a/source +++ b/source @@ -67110,7 +67110,7 @@ document.body.append(parent);
A collection of lifecycle callbacks
-
A map, whose four keys are the strings "connectedCallback", +
A map, whose keys are the strings "connectedCallback", "disconnectedCallback", "adoptedCallback", "attributeChangedCallback", "formAssociatedCallback", @@ -67332,13 +67332,13 @@ dictionary ElementDefinitionOptions {
  • If Type(prototype) is not Object, then throw a TypeError exception.

  • -
  • Let lifecycleCallbacks be a map with the four keys "

    Let lifecycleCallbacks be a map with the keys "connectedCallback", "disconnectedCallback", "adoptedCallback", and "attributeChangedCallback", each of which belongs to an entry whose value is null.

  • -

    For each of the four keys callbackName in lifecycleCallbacks, in the +

    For each of the keys callbackName in lifecycleCallbacks, in the order listed in the previous step: