Bug 1452324: Remove outdated references to bug 1326028. r=smaug
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 07 Apr 2018 19:03:19 +0200
changeset 412294 3ed6890891e4900e8c89941586b67946eecf37e4
parent 412285 a41976b9334f3fb85ed6cb23888e4d543188bfb3
child 412295 d9110e28f3612bd40cfa21b29b0e05fc5afd10aa
push id101876
push useraiakab@mozilla.com
push dateSun, 08 Apr 2018 10:43:08 +0000
treeherdermozilla-inbound@ac22879df707 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1452324, 1326028
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1452324: Remove outdated references to bug 1326028. r=smaug DONTBUILD, since it's comment-only. MozReview-Commit-ID: KzZRo3FhwDr
dom/base/Element.cpp
dom/base/nsContentUtils.cpp
--- a/dom/base/Element.cpp
+++ b/dom/base/Element.cpp
@@ -2008,19 +2008,18 @@ Element::UnbindFromTree(bool aDeep, bool
      // disconnected.
     if (CustomElementRegistry::IsCustomElementEnabled(OwnerDoc())) {
       CustomElementData* data  = GetCustomElementData();
       if (data) {
         if (data->mState == CustomElementData::State::eCustom) {
           nsContentUtils::EnqueueLifecycleCallback(nsIDocument::eDisconnected,
                                                    this);
         } else {
-          // Remove an unresolved custom element that is a candidate for
-          // upgrade when a custom element is disconnected.
-          // We will make sure it's shadow-including tree order in bug 1326028.
+          // Remove an unresolved custom element that is a candidate for upgrade
+          // when a custom element is disconnected.
           nsContentUtils::UnregisterUnresolvedElement(this);
         }
       }
     }
   }
 
   // This has to be here, rather than in nsGenericHTMLElement::UnbindFromTree,
   //  because it has to happen after unsetting the parent pointer, but before
--- a/dom/base/nsContentUtils.cpp
+++ b/dom/base/nsContentUtils.cpp
@@ -9893,19 +9893,18 @@ nsContentUtils::TryToUpgradeElement(Elem
   CustomElementDefinition* definition =
     nsContentUtils::LookupCustomElementDefinition(nodeInfo->GetDocument(),
                                                   nodeInfo->NameAtom(),
                                                   nodeInfo->NamespaceID(),
                                                   typeAtom);
   if (definition) {
     nsContentUtils::EnqueueUpgradeReaction(aElement, definition);
   } else {
-    // Add an unresolved custom element that is a candidate for
-    // upgrade when a custom element is connected to the document.
-    // We will make sure it's shadow-including tree order in bug 1326028.
+    // Add an unresolved custom element that is a candidate for upgrade when a
+    // custom element is connected to the document.
     nsContentUtils::RegisterUnresolvedElement(aElement, typeAtom);
   }
 }
 
 static void
 DoCustomElementCreate(Element** aElement, nsIDocument* aDoc, NodeInfo* aNodeInfo,
                       CustomElementConstructor* aConstructor, ErrorResult& aRv)
 {