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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-exceptions-expected.txt

Issue 74133005: Remove several uses of toWebCoreStringWithNullCheck(v8::Handle<v8::Value>) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Refused to connect to 'http://not.example.com/' because it violat es the following Content Security Policy directive: "connect-src http://example. com". 1 CONSOLE ERROR: Refused to connect to 'http://not.example.com/' because it violat es the following Content Security Policy directive: "connect-src http://example. com".
2 2
3 This tests that exceptions thrown by XHR.open() have reasonable messages. 3 This tests that exceptions thrown by XHR.open() have reasonable messages.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 PASS xhrException.message is "Failed to execute 'open' on 'XMLHttpRequest': 'TRA CE' HTTP method is unsupported." 8 PASS xhrException.message is "Failed to execute 'open' on 'XMLHttpRequest': 'TRA CE' HTTP method is unsupported."
9 PASS xhrException.message is "Refused to connect to 'http://not.example.com/' be cause it violates the document's Content Security Policy." 9 PASS xhrException.message is "Refused to connect to 'http://not.example.com/' be cause it violates the document's Content Security Policy."
10 PASS xhr.readyState is XMLHttpRequest.UNSENT
11 PASS xhr.open('GET', 'resources/xmlhttprequest-get-data.xml', true, badString, ' password'); threw exception Exception in toString().
12 PASS xhr.readyState is XMLHttpRequest.UNSENT
13 PASS xhr.open('GET', 'resources/xmlhttprequest-get-data.xml', true, 'username', badString); threw exception Exception in toString().
14 PASS xhr.readyState is XMLHttpRequest.UNSENT
10 PASS successfullyParsed is true 15 PASS successfullyParsed is true
11 16
12 TEST COMPLETE 17 TEST COMPLETE
13 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698