Bug 1299762 - prevent string concatanation in string list initialization. r?baku
MozReview-Commit-ID: 446gukGBkvS
--- 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",