Index: Source/core/dom/SelectorQuery.cpp |
diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp |
index ee3cc3dccf52ad7d32a0251fe4dbf3cde3a21c20..5fcf2ac55a2693a1504cb64febc5832e164ba1d9 100644 |
--- a/Source/core/dom/SelectorQuery.cpp |
+++ b/Source/core/dom/SelectorQuery.cpp |
@@ -500,13 +500,13 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, const Docu |
parser.parseSelector(selectors, selectorList); |
if (!selectorList.first()) { |
- exceptionState.throwDOMException(SyntaxError, "Failed to execute query: '" + selectors + "' is not a valid selector."); |
+ exceptionState.throwDOMException(SyntaxError, "'" + selectors + "' is not a valid selector."); |
return 0; |
} |
// throw a NamespaceError if the selector includes any namespace prefixes. |
if (selectorList.selectorsNeedNamespaceResolution()) { |
- exceptionState.throwDOMException(NamespaceError, "Failed to execute query: '" + selectors + "' contains namespaces, which are not supported."); |
+ exceptionState.throwDOMException(NamespaceError, "'" + selectors + "' contains namespaces, which are not supported."); |
return 0; |
} |