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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-error-expected.txt

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 8 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
(Empty)
1 This is a testharness.js-based test.
2 FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "function () { new Request("", {"window" : "http://test.url"}); }" did not throw
3 PASS Input URL is not valid
4 PASS Input URL has credentials
5 PASS RequestInit's referrer is invalid
6 PASS RequestInit's method is invalid
7 PASS RequestInit's method is forbidden
8 PASS RequestInit's mode is no-cors and method is not simple
9 PASS RequestInit's mode is no-cors and integrity is not empty
10 FAIL RequestInit's cache mode is only-if-cached and mode is not same-origin asse rt_throws: Expect TypeError exception function "function () { new Request("", {" mode" : "cors", "cache" : "only-if-cached"}); }" did not throw
11 PASS Request should get its content-type from the init request
12 PASS Request should not get its content-type from the init request if init heade rs are provided
13 PASS Request should get its content-type from the body if none is provided
14 PASS Request should get its content-type from init headers if one is provided
15 PASS Bad referrerPolicy init parameter value
16 FAIL Bad mode init parameter value assert_throws: function "function () { new Re quest("", options); }" did not throw
17 FAIL Bad credentials init parameter value assert_throws: function "function () { new Request("", options); }" did not throw
18 FAIL Bad cache init parameter value assert_throws: function "function () { new R equest("", options); }" did not throw
19 FAIL Bad redirect init parameter value assert_throws: function "function () { ne w Request("", options); }" did not throw
20 PASS Request with cache mode: only-if-cached and fetch mode: same-origin
21 FAIL Request with cache mode: only-if-cached and fetch mode: cors assert_throws: function "function () { new Request("test", options); }" did not throw
22 FAIL Request with cache mode: only-if-cached and fetch mode: no-cors assert_thro ws: function "function () { new Request("test", options); }" did not throw
23 Harness: the test ran to completion.
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698