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

Issue 1845463002: Start implementing ForeignFetchEvent for foreign fetch events. (Closed)

Created:
4 years, 8 months ago by Marijn Kruisselbrink
Modified:
4 years, 8 months ago
Reviewers:
falken, Nate Chapin, Mark P
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start implementing ForeignFetchEvent for foreign fetch events. This implements most of the new ForeignFetchEvent interface added in https://github.com/slightlyoff/ServiceWorker/commit/d2fdb147c9c769ac6338117c1acd9f4010365f19 For now all this does is unwrap the Response from a ForeignFetchResponse dictionary. In follow-up patches support for the other properties of a ForeignFetchResponse will be added. BUG=540509 Committed: https://crrev.com/3161394749bb5e100a58ac77aaafb7b9c240fcc3 Cr-Commit-Position: refs/heads/master@{#385917}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : fix tests #

Patch Set 5 : use correct error code #

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -40 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 6 5 chunks +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.cpp View 1 1 chunk +64 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
A + third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEventInit.idl View 1 1 chunk +2 lines, -4 lines 0 comments Download
A third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.h View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.cpp View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/serviceworkers/ForeignFetchResponse.idl View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.cpp View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 2 3 4 5 6 3 chunks +21 lines, -17 lines 0 comments Download
M third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (13 generated)
Marijn Kruisselbrink
4 years, 8 months ago (2016-04-04 18:23:01 UTC) #5
falken
lgtm
4 years, 8 months ago (2016-04-05 07:03:09 UTC) #6
Marijn Kruisselbrink
+japhet for core/ and web/ OWNERS +mpearson for histograms OWNERS
4 years, 8 months ago (2016-04-05 17:25:41 UTC) #8
Mark P
On 2016/04/05 17:25:41, Marijn Kruisselbrink wrote: > +japhet for core/ and web/ OWNERS > +mpearson ...
4 years, 8 months ago (2016-04-05 18:18:09 UTC) #9
Marijn Kruisselbrink
japhet: ping
4 years, 8 months ago (2016-04-07 19:08:07 UTC) #10
Nate Chapin
lgtm https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp File third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp (left): https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp#oldcode296 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp:296: void ServiceWorkerGlobalScopeProxy::dispatchFetchEventImpl(int eventID, const WebServiceWorkerRequest& webRequest, const AtomicString& ...
4 years, 8 months ago (2016-04-07 20:51:04 UTC) #11
Marijn Kruisselbrink
https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp File third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp (left): https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp#oldcode296 third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp:296: void ServiceWorkerGlobalScopeProxy::dispatchFetchEventImpl(int eventID, const WebServiceWorkerRequest& webRequest, const AtomicString& eventTypeName) ...
4 years, 8 months ago (2016-04-07 21:00:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463002/100001
4 years, 8 months ago (2016-04-07 21:02:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/15850) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-07 21:09:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463002/120001
4 years, 8 months ago (2016-04-07 21:24:46 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/193346)
4 years, 8 months ago (2016-04-07 22:36:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463002/120001
4 years, 8 months ago (2016-04-07 22:37:47 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-07 23:13:31 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 23:15:49 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3161394749bb5e100a58ac77aaafb7b9c240fcc3
Cr-Commit-Position: refs/heads/master@{#385917}

Powered by Google App Engine
This is Rietveld 408576698