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

Issue 546263002: [ServiceWorker] Introduce isControlledByServiceWorker() in FrameLoaderClient and WebFrameClient (Closed)

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

Description

[ServiceWorker] Introduce isControlledByServiceWorker() in FrameLoaderClient and WebFrameClient We need to check this in DocumentThreadableLoader not to send CORS preflight requests to the ServiceWorker. Chromium side is implemented in https://codereview.chromium.org/553603002/. BUG=411151 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181549

Patch Set 1 : #

Total comments: 4

Patch Set 2 : incorporated tkent's comment #

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

Messages

Total messages: 13 (5 generated)
horo
nhiroki@ Could you please review this?
6 years, 3 months ago (2014-09-08 05:06:18 UTC) #3
nhiroki
lgtm
6 years, 3 months ago (2014-09-08 05:33:09 UTC) #4
horo
tkent@ Could you please review this?
6 years, 3 months ago (2014-09-08 06:25:54 UTC) #6
tkent
https://codereview.chromium.org/546263002/diff/20001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/546263002/diff/20001/Source/web/FrameLoaderClientImpl.cpp#newcode816 Source/web/FrameLoaderClientImpl.cpp:816: return m_webFrame->client()->controlledByServiceWorker(); nit: return m_webFrame->client() && m_webFrame->client()->controlledByServiceWorker(); is simpler. ...
6 years, 3 months ago (2014-09-08 07:38:33 UTC) #7
horo
https://codereview.chromium.org/546263002/diff/20001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/546263002/diff/20001/Source/web/FrameLoaderClientImpl.cpp#newcode816 Source/web/FrameLoaderClientImpl.cpp:816: return m_webFrame->client()->controlledByServiceWorker(); On 2014/09/08 07:38:33, tkent wrote: > nit: ...
6 years, 3 months ago (2014-09-08 08:19:42 UTC) #8
tkent
lgtm
6 years, 3 months ago (2014-09-08 08:23:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/546263002/40001
6 years, 3 months ago (2014-09-08 08:24:25 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 09:26:36 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as 181549

Powered by Google App Engine
This is Rietveld 408576698