Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html

Issue 96793002: Switch custom XMLHttpRequest bindings over to new-style ExceptionState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Inline local binding in throwTypeError() Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()"; } };

Powered by Google App Engine
This is Rietveld 408576698