| Index: third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
|
| index 89143b580f46b85bff56fe417e8daf1498b07103..131f58a45bc410e800113e483784be993b0af43d 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions.html
|
| @@ -18,15 +18,6 @@
|
| shouldBeEqualToString("xhrException.message", "Failed to execute 'open' on 'XMLHttpRequest': 'TRACE' HTTP method is unsupported.");
|
| }
|
|
|
| - try {
|
| - var xhr = new XMLHttpRequest();
|
| - xhr.open("GET", "http://not.example.com/");
|
| - testFailed("xhr.open to a URL blocked by CSP should throw an exception.");
|
| - } catch (e) {
|
| - xhrException = e;
|
| - 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()"; } };
|
| var xhr = new XMLHttpRequest();
|
| shouldBe("xhr.readyState", "XMLHttpRequest.UNSENT");
|
|
|