Bug 1299762 - prevent string concatanation in string list initialization. r=baku
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 01 Sep 2016 13:12:54 +0300
changeset 312327 9f6df7f965bfb244e4245e184d4117f80d82d4eb
parent 312326 eeba75f09439f139fd21d7f62d47b60884b7a179
child 312328 1b9a3973200d3fc70c8cbfaa4df69283f9e0c7b5
push id30642
push userkwierso@gmail.com
push dateFri, 02 Sep 2016 19:52:35 +0000
treeherdermozilla-central@38d0defa2db7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1299762
milestone51.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 1299762 - prevent string concatanation in string list initialization. r=baku MozReview-Commit-ID: 446gukGBkvS
dom/html/HTMLLinkElement.cpp
--- a/dom/html/HTMLLinkElement.cpp
+++ b/dom/html/HTMLLinkElement.cpp
@@ -446,17 +446,17 @@ HTMLLinkElement::GetLinkTarget(nsAString
   if (aTarget.IsEmpty()) {
     GetBaseTarget(aTarget);
   }
 }
 
 static const DOMTokenListSupportedToken sSupportedRelValues[] = {
   // Keep this in sync with ToLinkMask in nsStyleLinkElement.cpp.
   // "import" must come first because it's conditional.
-  "import"
+  "import",
   "prefetch",
   "dns-prefetch",
   "stylesheet",
   "next",
   "alternate",
   "preconnect",
   "icon",
   "search",