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

Unified Diff: content/browser/service_worker/service_worker_request_handler_unittest.cc

Issue 716083003: [ServiceWorker] support OPTIONS request for ServiceWorker [2/3 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/service_worker/service_worker_request_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_request_handler_unittest.cc
diff --git a/content/browser/service_worker/service_worker_request_handler_unittest.cc b/content/browser/service_worker/service_worker_request_handler_unittest.cc
index fe5483de70e86903a8968a9293b0ccf7de5a3c36..d471ab18798f82dc586c1b3a84dcc8c76cd16439 100644
--- a/content/browser/service_worker/service_worker_request_handler_unittest.cc
+++ b/content/browser/service_worker/service_worker_request_handler_unittest.cc
@@ -121,9 +121,9 @@ TEST_F(ServiceWorkerRequestHandlerTest, InitializeHandler) {
EXPECT_FALSE(InitializeHandlerCheck(
"ftp://host/scope/doc", "GET", false, RESOURCE_TYPE_MAIN_FRAME));
- EXPECT_FALSE(InitializeHandlerCheck(
+ EXPECT_TRUE(InitializeHandlerCheck(
"http://host/scope/doc", "OPTIONS", false, RESOURCE_TYPE_MAIN_FRAME));
- EXPECT_FALSE(InitializeHandlerCheck(
+ EXPECT_TRUE(InitializeHandlerCheck(
"https://host/scope/doc", "OPTIONS", false, RESOURCE_TYPE_MAIN_FRAME));
provider_host_->SetDocumentUrl(GURL(""));
« no previous file with comments | « content/browser/service_worker/service_worker_request_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698