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

Issue 305893003: ServiceWorker: support Request.{url,method,origin,headers} [chromium] (2/3) (Closed)

Created:
6 years, 6 months ago by horo
Modified:
6 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

ServiceWorker: support Request.{url,method,origin,headers} [chromium] (2/3) Multi-sided patch: 1/3: blink-side, https://codereview.chromium.org/304053003/ 2/3: chromium-side, THIS PATCH 3/3: blink-side, cleanup Not Yet. BUG=377373 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274450

Patch Set 1 : #

Patch Set 2 : Add browser test for Request. #

Total comments: 4

Patch Set 3 : Use WebURL in WebServiceWorkerRequest #

Patch Set 4 : revert changes in browser tests #

Total comments: 2

Patch Set 5 : use WebString::fromUTF8 #

Patch Set 6 : remove #include "base/strings/utf_string_conversions.h" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 3 4 5 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
horo
falken@ Could you please review this?
6 years, 6 months ago (2014-05-29 11:42:46 UTC) #1
falken
I'm not sure I understand the test. Also, if we can just test in a ...
6 years, 6 months ago (2014-05-30 03:39:17 UTC) #2
horo
OK, I will write tests for Request in Blink layout tests. https://codereview.chromium.org/305893003/diff/30001/content/renderer/service_worker/service_worker_script_context.cc File content/renderer/service_worker/service_worker_script_context.cc (right): ...
6 years, 6 months ago (2014-05-30 04:55:17 UTC) #3
falken
https://codereview.chromium.org/305893003/diff/70001/content/renderer/service_worker/service_worker_script_context.cc File content/renderer/service_worker/service_worker_script_context.cc (right): https://codereview.chromium.org/305893003/diff/70001/content/renderer/service_worker/service_worker_script_context.cc#newcode129 content/renderer/service_worker/service_worker_script_context.cc:129: webRequest.setMethod(blink::WebString(base::UTF8ToUTF16(request.method))); Why convert to UTF16? WebString::fromUTF8(string) to make a ...
6 years, 6 months ago (2014-05-30 09:37:01 UTC) #4
horo
https://codereview.chromium.org/305893003/diff/70001/content/renderer/service_worker/service_worker_script_context.cc File content/renderer/service_worker/service_worker_script_context.cc (right): https://codereview.chromium.org/305893003/diff/70001/content/renderer/service_worker/service_worker_script_context.cc#newcode129 content/renderer/service_worker/service_worker_script_context.cc:129: webRequest.setMethod(blink::WebString(base::UTF8ToUTF16(request.method))); On 2014/05/30 09:37:01, falken wrote: > Why convert ...
6 years, 6 months ago (2014-05-30 10:11:45 UTC) #5
falken
lgtm!
6 years, 6 months ago (2014-05-31 03:32:56 UTC) #6
horo
The CQ bit was checked by horo@chromium.org
6 years, 6 months ago (2014-06-02 22:11:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/305893003/110001
6 years, 6 months ago (2014-06-02 22:12:16 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 02:38:55 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 09:17:08 UTC) #10
Message was sent while issue was closed.
Change committed as 274450

Powered by Google App Engine
This is Rietveld 408576698