-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create F2F agenda - 25 October 2018 #1303
Comments
If possible I'd like to discuss a proposal for a new API to help sites measure the performance of their FetchEvent handlers. It spans both the WebPerf and ServiceWorker API surface. I'm going to be discussing it in WebPerf on Friday, but I'd also like to discuss with the ServiceWorker group on Thursday if possible. The explainer for this proposal can be found here: https://github.com/wanderview/fetchevent-worker-timing/blob/master/explainer.md Thanks! |
@jatindersmann huge thank you for getting the agenda together. I realise I've been totally useless this time around. If we get time, I'd like to discuss:
And that's it, @jatindersmann already captured everything else 🎉 |
Also: We didn't have a meet-up this year. Was that a bad thing? |
One thing that came up in the Devices and Sensors WG and that I would like to discuss is geofencing and how it relates to service workers. Abstracting from that, essentially we are looking for some sort of mechanism ("Alarms API") to wake up a service worker based on an event (which could be a geofence being crossed but should not be limited to that) to do some work. Here is the related issue: w3c/geolocation-sensor#22. |
A couple of folks today have mentioned the complexity of testing service workers (@yoavweiss, @rniwa). We could introduce something specific for testing mode (we did something similar for background fetch), but maybe we can do something that would benefit regular users too? |
Isn't this covered by https://w3c.github.io/ServiceWorker/#extensibility? |
@jakearchibald This is exactly what I would want to discuss. Or if there needs to be another primitive. |
@tomayac could you write up an issue or DM me about this? I think I can answer this before Thursday, & it doesn't need to take up the time of the room. If it turns out it does need the room to discuss, at least we'll have the problem written up in a way that gets everyone caught up quickly. |
A chat with @jakearchibald indeed removed the need to discuss this. It's covered by https://w3c.github.io/ServiceWorker/#extensibility. |
Maybe we should discuss the cache API ordering issues: |
Action item: Now's the time to provide something like
|
I'd also like to discuss File Handling. |
Action: start using the "decided" tag again. |
F2F: Things linkedin would like this see:
Will things break if we fire
Instead of EDIT by falken: Merged in some of the minutes into here. |
AI for @jakearchibald create an issue for a rough static routes proposal. |
Hello, I was interested in Foreign Fetch, is something has been discussed to cover it's use cases? Sorry to bother you and thanks for your attention 😄 |
@DeltaEvo We did not end up discussing foreign fetch use cases at this meeting. Sorry. |
@jakearchibald It's unclear to me what exactly // Immediately stop sending events to the service worker, all
// workers will be completely gone within 10 seconds.
navigator.serviceWorker.unregister({
unclaim: true,
terminateDeadline: 10000
}); I believe "unregister" is simpler, because it doesn't have to deal with transitioning events to another worker, which is needed if the active worker is terminated and there's a waiting/installed worker. |
@asakusuma It'd be better to discuss on the dedicated issues, #1292 in this case. Can you repost it there? |
@asakusuma Ah fair enough, we can continue here. As an implementor I feel I like the contract of unregister(force) or skipWaiting(timeout) over terminate(). Whether to declaim clients or evict the active worker is only indirectly related to whether the active worker is actually running. I can imagine some race conditions where we terminate the active worker but it gets woken up before activation can be triggered. |
@jakearchibald any updates on #1026? |
Where
Location: TPAC, Lyon, France.
When: 9AM, October, 25, 2018
Minutes
Attendance
Please let us know if you're planning on attending the F2F meeting.
Agenda
The agenda is subject to change reflecting the progress of the work. Please update it if you notice things outdated or missing.
Implementer update
Share implementation status and issues, performance issues, compatibility issues, etc.
Changes & bugs
ready
promise when controlling rgistration is resurrected: ready promise doesn't work right when controlling registration is resurrected #1198.ready
promise weirdnessready
promise is kind of weird with overlapping scopes: ready promise is kind of weird with overlapping scopes #1278.ready
promise is kind of weird after you call unregister(): ready promise is kind of weird after you call unregister() #1279.updateViaCache
mint a newServiceWorkerRegistration
or update them all?: Does changing updateViaCache mint a new ServiceWorkerRegistration or update them all? #1189. This is being implemented. We need to help them by working on the corresponding part of the spec.postMessage()
if there is no message event handler?: is the browser required to start the ServiceWorker for postMessage() if there is no message event handler? #1200, Nerfing all events on all event targets in a serviceworker after initial script evaluation seems odd whatwg/dom#371 (comment).ServiceWorker#postMessage
: "Unregister" operation may be interrupted byServiceWorker#postMessage
#1146.Client.navigate()
reject on uncontrolled clients?: should Client.navigate() reject on uncontrolled clients? #1254.updatefound
event in service worker context seems unreliable:updatefound
event in service worker context seems unreliable #1255.createObjectURL
: should blob URLs inherit controller from parent environment or environment that calledcreateObjectURL()
? #1261.client.id
persists across Discards/Reloads of the same page?: Should a SW client.id persists across Discards/Reloads of the same page? #1263.Client.postMessage()
throwing for unloaded client is problematic: Client.postMessage() throwing for unloaded client is problematic #1291.skipWaiting
: Confusion around new events after skipWaiting #1295.update()
should resolve to a registration, but browsers do different things: spec saysupdate()
should resolve to a registration, but browsers do different things #1304.unregister()
's same-origin check ever fail?: how can unregister()'s same-origin check ever fail? #1305.WPT status
TODO: Update this section.
Interesting feature requests
addEventListener
/removeEventListener
for 'fetch
' to called at anytime: Proposal: Allow addEventListener/removeEventListener for 'fetch' to called at anytime #1195.Clients.matchAll()
should exclude the current environment:Clients.matchAll()
should exclude the current environment #1037.Clients.matchAll()
: Support returning ServiceWorker Client environments fromClients.matchAll()
#1036.self.clients
on window and other worker globals: consider exposing self.clients on window and other worker globals #955.navigation
event: Consider providingnavigation
event #1028.registration.ready
promise: registration.ready promise #770.V1
Should have been done by this point.
The text was updated successfully, but these errors were encountered: