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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/exceptions-expected.txt

Issue 1990683002: [DevTools] Capture call stacks for deprecation console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 months 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 WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck https://xhr.spec.whatwg.org/. 1 CONSOLE WARNING: line 62: Synchronous XMLHttpRequest on the main thread is depre cated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
2 Test that XMLHttpRequest raises exceptions when it should. 2 Test that XMLHttpRequest raises exceptions when it should.
3 3
4 new XMLHttpRequest() 4 new XMLHttpRequest()
5 PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Fail ed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.. 5 PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Fail ed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED..
6 PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED.. 6 PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED..
7 open() 7 open()
8 PASS: req.setRequestHeader() threw exception TypeError: Failed to execute 'setRe questHeader' on 'XMLHttpRequest': 2 arguments required, but only 0 present.. 8 PASS: req.setRequestHeader() threw exception TypeError: Failed to execute 'setRe questHeader' on 'XMLHttpRequest': 2 arguments required, but only 0 present..
9 PASS: req.setRequestHeader("Foo") threw exception TypeError: Failed to execute ' setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only 1 present. . 9 PASS: req.setRequestHeader("Foo") threw exception TypeError: Failed to execute ' setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only 1 present. .
10 send() 10 send()
11 PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED.. 11 PASS: req.send(null) threw exception InvalidStateError: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED..
12 PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Fail ed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.. 12 PASS: req.setRequestHeader("Foo", "bar") threw exception InvalidStateError: Fail ed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED..
13 PASS: req.getResponseHeader() threw exception TypeError: Failed to execute 'getR esponseHeader' on 'XMLHttpRequest': 1 argument required, but only 0 present.. 13 PASS: req.getResponseHeader() threw exception TypeError: Failed to execute 'getR esponseHeader' on 'XMLHttpRequest': 1 argument required, but only 0 present..
14 PASS: req.open() threw exception TypeError: Failed to execute 'open' on 'XMLHttp Request': 2 arguments required, but only 0 present.. 14 PASS: req.open() threw exception TypeError: Failed to execute 'open' on 'XMLHttp Request': 2 arguments required, but only 0 present..
15 PASS: req.open(null) threw exception TypeError: Failed to execute 'open' on 'XML HttpRequest': 2 arguments required, but only 1 present.. 15 PASS: req.open(null) threw exception TypeError: Failed to execute 'open' on 'XML HttpRequest': 2 arguments required, but only 1 present..
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698