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 312337 9f6df7f965bfb244e4245e184d4117f80d82d4eb
parent 312336 eeba75f09439f139fd21d7f62d47b60884b7a179
child 312338 1b9a3973200d3fc70c8cbfaa4df69283f9e0c7b5
push id20447
push userkwierso@gmail.com
push dateFri, 02 Sep 2016 20:36:44 +0000
treeherderfx-team@969397f22187 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1299762
milestone51.0a1
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",