Index: LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html |
diff --git a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html |
index 2e767cb19fa1c89e15c1c9440a7eb5a4e96f6de9..89143b580f46b85bff56fe417e8daf1498b07103 100644 |
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html |
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html |
@@ -24,7 +24,7 @@ |
testFailed("xhr.open to a URL blocked by CSP should throw an exception."); |
} catch (e) { |
xhrException = e; |
- shouldBeEqualToString("xhrException.message", "Refused to connect to 'http://not.example.com/' because it violates the document's Content Security Policy."); |
+ shouldBeEqualToString("xhrException.message", "Failed to execute 'open' on 'XMLHttpRequest': Refused to connect to 'http://not.example.com/' because it violates the document's Content Security Policy."); |
} |
var badString = { toString: function() { throw "Exception in toString()"; } }; |