Bug 1299762 - prevent string concatanation in string list initialization. r?baku draft
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 01 Sep 2016 13:12:54 +0300
changeset 408573 fbd0cc2c31bb1301d7a0d497bc4e3433d94a9687
parent 407237 26e22af660e543ebb69930f082188b69ec756185
child 530146 32fb46b1ac8a9e2fdd8eab94905b2a5da2698979
push id28253
push userbmo:bpostelnicu@mozilla.com
push dateThu, 01 Sep 2016 10:13:18 +0000
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",