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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js

Issue 2532833002: Reflect method restriction removal from Fetch API on data URL (Closed)
Patch Set: Rebase Created 4 years 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: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js
index 1b5205984cdaf876a775d588889563b70b6b7f1b..45d8c85c4e5b0b2b0d9b527baafbaf215e9efd51 100644
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/thorough/scheme-data.js
@@ -23,10 +23,14 @@ var TEST_TARGETS = [
// data: requests with non-GET methods.
[BASE_URL + 'url=' + encodeURIComponent(url) +
'&mode=same-origin&method=POST',
- [fetchRejected]],
+ [fetchResolved, noContentLength, hasContentType, noServerHeader, hasBody,
+ typeBasic],
+ [checkJsonpSuccess]],
[BASE_URL + 'url=' + encodeURIComponent(url) +
'&mode=same-origin&method=HEAD',
- [fetchRejected]],
+ [fetchResolved, noContentLength, hasContentType, noServerHeader, hasBody,
+ typeBasic],
+ [checkJsonpSuccess]],
// data: requests with same-origin redirects.
[REDIRECT_URL + encodeURIComponent(url) + '&mode=same-origin&method=GET',

Powered by Google App Engine
This is Rietveld 408576698