diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in index 0982fde2f08..f0d26de1cb9 100644 --- a/b2g/installer/package-manifest.in +++ b/b2g/installer/package-manifest.in @@ -174,7 +174,6 @@ @BINPATH@/components/dom_css.xpt @BINPATH@/components/dom_devicestorage.xpt @BINPATH@/components/dom_events.xpt -@BINPATH@/components/dom_file.xpt @BINPATH@/components/dom_geolocation.xpt @BINPATH@/components/dom_media.xpt @BINPATH@/components/dom_network.xpt diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in index 97ca8b1334c..b5e1a02206d 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -197,7 +197,6 @@ @BINPATH@/components/dom_css.xpt @BINPATH@/components/dom_devicestorage.xpt @BINPATH@/components/dom_events.xpt -@BINPATH@/components/dom_file.xpt @BINPATH@/components/dom_geolocation.xpt @BINPATH@/components/dom_media.xpt @BINPATH@/components/dom_network.xpt diff --git a/content/base/src/FragmentOrElement.cpp b/content/base/src/FragmentOrElement.cpp index 7410b4dd936..4adb9e29db2 100644 --- a/content/base/src/FragmentOrElement.cpp +++ b/content/base/src/FragmentOrElement.cpp @@ -2361,20 +2361,21 @@ StartElement(Element* aContent, StringBuilder& aBuilder) continue; } + aBuilder.Append(" "); + if (MOZ_LIKELY(attNs == kNameSpaceID_None) || (attNs == kNameSpaceID_XMLNS && attName == nsGkAtoms::xmlns)) { - aBuilder.Append(" "); + // Nothing else required } else if (attNs == kNameSpaceID_XML) { - aBuilder.Append(" xml:"); + aBuilder.Append("xml:"); } else if (attNs == kNameSpaceID_XMLNS) { - aBuilder.Append(" xmlns:"); + aBuilder.Append("xmlns:"); } else if (attNs == kNameSpaceID_XLink) { - aBuilder.Append(" xlink:"); + aBuilder.Append("xlink:"); } else { nsIAtom* prefix = name->GetPrefix(); if (prefix) { - aBuilder.Append(" "); aBuilder.Append(prefix); aBuilder.Append(":"); } diff --git a/content/base/test/test_bug744830.html b/content/base/test/test_bug744830.html index 4430f658719..7152b052c4c 100644 --- a/content/base/test/test_bug744830.html +++ b/content/base/test/test_bug744830.html @@ -88,6 +88,12 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=744830 t.firstChild.textContent = "1&2<3>4\xA0"; is(t.innerHTML, '