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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js

Issue 882383002: [Fetch] Request with GET/HEAD method cannot have body (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js b/LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js
index bbb98741bed2b588ce13e96c559f84f421280b79..c3b6524d3def08e404f8aef35a68c2d97f820fc3 100644
--- a/LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/cache-match-worker.js
@@ -181,7 +181,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
cache_test(function(cache) {
var request = new Request('https://example.com/foo', {
- method: 'GET',
+ method: 'POST',
body: 'Hello world!'
});
var response = new Response('Booyah!', {

Powered by Google App Engine
This is Rietveld 408576698