Description was changed from ========== WIP Start implementing ForeignFetchEvent BUG= ========== to ========== WIP Start ...
4 years, 8 months ago
(2016-03-30 19:23:41 UTC)
#1
Description was changed from
==========
WIP Start implementing ForeignFetchEvent
BUG=
==========
to
==========
WIP Start implementing ForeignFetchEvent
This implements parts of the new ForeignFetchEventInterface added in
https://github.com/slightlyoff/ServiceWorker/commit/6b4f712ef2aa14ec3ed953696...
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=
==========
Marijn Kruisselbrink
Description was changed from ========== WIP Start implementing ForeignFetchEvent This implements parts of the new ...
4 years, 8 months ago
(2016-03-30 19:33:45 UTC)
#2
Description was changed from
==========
WIP Start implementing ForeignFetchEvent
This implements parts of the new ForeignFetchEventInterface added in
https://github.com/slightlyoff/ServiceWorker/commit/6b4f712ef2aa14ec3ed953696...
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=
==========
to
==========
Start implementing ForeignFetchEvent for foreign fetch events.
This implements most of the new ForeignFetchEvent interface added in
https://github.com/slightlyoff/ServiceWorker/commit/6b4f712ef2aa14ec3ed953696...
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
==========
Marijn Kruisselbrink
Description was changed from ========== Start implementing ForeignFetchEvent for foreign fetch events. This implements most ...
4 years, 8 months ago
(2016-04-04 18:22:15 UTC)
#3
Description was changed from
==========
Start implementing ForeignFetchEvent for foreign fetch events.
This implements most of the new ForeignFetchEvent interface added in
https://github.com/slightlyoff/ServiceWorker/commit/6b4f712ef2aa14ec3ed953696...
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
==========
to
==========
Start implementing ForeignFetchEvent for foreign fetch events.
This implements most of the new ForeignFetchEvent interface added in
https://github.com/slightlyoff/ServiceWorker/commit/d2fdb147c9c769ac6338117c1...
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
==========
+japhet for core/ and web/ OWNERS +mpearson for histograms OWNERS
4 years, 8 months ago
(2016-04-05 17:25:41 UTC)
#8
+japhet for core/ and web/ OWNERS
+mpearson for histograms OWNERS
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
On 2016/04/05 17:25:41, Marijn Kruisselbrink wrote:
> +japhet for core/ and web/ OWNERS
> +mpearson for histograms OWNERS
histograms.xml lgtm, though note you will have to resolve / rebase the
UseCounter numbers because you're not synced to head
(e.g., https://codereview.chromium.org/1835463002/ was just submitted that used
the numbers you want)
--mark
Marijn Kruisselbrink
japhet: ping
4 years, 8 months ago
(2016-04-07 19:08:07 UTC)
#10
4 years, 8 months ago
(2016-04-07 21:00:06 UTC)
#12
https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp (left):
https://codereview.chromium.org/1845463002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp:296: void
ServiceWorkerGlobalScopeProxy::dispatchFetchEventImpl(int eventID, const
WebServiceWorkerRequest& webRequest, const AtomicString& eventTypeName)
On 2016/04/07 at 20:51:04, Nate Chapin wrote:
> I would be inclined to keep the common logic in a helper, but I guess it's
debatable whether there's enough common logic remaining to justify the helper?
Yeah, pretty much the last three lines are the only common logic, and even then
with different types, so needing templates like this:
template <typename EventType, typename EventInitType>
void ServiceWorkerGlobalScopeProxy::dispatchFetchEventImpl(RespondWithObserver*
observer, const EventInitType& eventInit, const AtomicString& eventTypeName) {
EventType* event = EventType::create(eventTypeName, eventInit, observer);
DispatchEventResult dispatchResult =
workerGlobalScope()->dispatchEvent(event);
observer->didDipatchEvent(dispatchResult);
}
Which doesn't really seem worth it (alternatively without templates just the
last two lines could be common logic).
Marijn Kruisselbrink
The CQ bit was checked by mek@chromium.org
4 years, 8 months ago
(2016-04-07 21:00:09 UTC)
#13
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
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
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
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
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
4 years, 8 months ago
(2016-04-07 23:13:31 UTC)
#25
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
commit-bot: I haz the power
Description was changed from ========== Start implementing ForeignFetchEvent for foreign fetch events. This implements most ...
4 years, 8 months ago
(2016-04-07 23:15:48 UTC)
#26
Message was sent while issue was closed.
Description was changed from
==========
Start implementing ForeignFetchEvent for foreign fetch events.
This implements most of the new ForeignFetchEvent interface added in
https://github.com/slightlyoff/ServiceWorker/commit/d2fdb147c9c769ac6338117c1...
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
==========
to
==========
Start implementing ForeignFetchEvent for foreign fetch events.
This implements most of the new ForeignFetchEvent interface added in
https://github.com/slightlyoff/ServiceWorker/commit/d2fdb147c9c769ac6338117c1...
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}
==========
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/3161394749bb5e100a58ac77aaafb7b9c240fcc3 Cr-Commit-Position: refs/heads/master@{#385917}
4 years, 8 months ago
(2016-04-07 23:15:49 UTC)
#27
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
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 2