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

Issue 634813002: [ServiceWorker] Add WebDataSource argument to isControlledByServiceWorker() [1/3 blink] (Closed)

Created:
6 years, 2 months ago by horo
Modified:
6 years, 2 months ago
Reviewers:
michaeln, tkent, Mike West
CC:
blink-reviews, jamesr, dglazkov+blink, Nate Chapin, gavinp+loader_chromium.org, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Add WebDataSource argument to isControlledByServiceWorker() [1/3 blink] In current implementation, while the new page is loading the request from the existing previous page may refer to the provisional dataSource in isControlledByServiceWorker(). But this is wrong. We should pass WebDataSource to this method to avoid the ambiguity. 1/3 blink: https://codereview.chromium.org/634813002 2/3 chromium: https://codereview.chromium.org/629953003 3/3 blink: https://codereview.chromium.org/635693003 BUG=411151 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183375

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change comment #

Total comments: 2

Patch Set 3 : use reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M Source/core/loader/EmptyClients.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
horo
michaeln@ Could you please review this?
6 years, 2 months ago (2014-10-07 02:21:56 UTC) #2
Mike West
core/ and web/ LGTM, but you'll need someone else to sign off on public/.
6 years, 2 months ago (2014-10-07 15:43:16 UTC) #4
michaeln
lgtm https://codereview.chromium.org/634813002/diff/1/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/634813002/diff/1/public/web/WebFrameClient.h#newcode572 public/web/WebFrameClient.h:572: // Whether the frame is controlled by the ...
6 years, 2 months ago (2014-10-07 19:28:24 UTC) #5
horo
Thank you! https://codereview.chromium.org/634813002/diff/1/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/634813002/diff/1/public/web/WebFrameClient.h#newcode572 public/web/WebFrameClient.h:572: // Whether the frame is controlled by ...
6 years, 2 months ago (2014-10-07 22:47:32 UTC) #6
horo
tkent@ Could you please review public/web/WebFrameClient.h?
6 years, 2 months ago (2014-10-07 22:48:23 UTC) #8
tkent
lgtm https://codereview.chromium.org/634813002/diff/20001/Source/core/loader/FrameLoaderClient.h File Source/core/loader/FrameLoaderClient.h (right): https://codereview.chromium.org/634813002/diff/20001/Source/core/loader/FrameLoaderClient.h#newcode209 Source/core/loader/FrameLoaderClient.h:209: virtual bool isControlledByServiceWorker(DocumentLoader*) = 0; nit: If the ...
6 years, 2 months ago (2014-10-07 23:58:56 UTC) #9
horo
Thank you! https://codereview.chromium.org/634813002/diff/20001/Source/core/loader/FrameLoaderClient.h File Source/core/loader/FrameLoaderClient.h (right): https://codereview.chromium.org/634813002/diff/20001/Source/core/loader/FrameLoaderClient.h#newcode209 Source/core/loader/FrameLoaderClient.h:209: virtual bool isControlledByServiceWorker(DocumentLoader*) = 0; On 2014/10/07 ...
6 years, 2 months ago (2014-10-08 01:33:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634813002/40001
6 years, 2 months ago (2014-10-08 03:02:16 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-08 03:36:00 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 183375

Powered by Google App Engine
This is Rietveld 408576698