Anne van Kesteren
Anne van Kesteren
@gijsk why not convert such code to `a.replaceWith(b)`?
Yeah, changes to `replaceChild` would take longer. Also, per MDN `replaceWith` only doesn't work in Internet Explorer, which seems good? Definitely for Firefox's frontend that should be fine. 😊
Wouldn't that mean that `signal.aborted !== signal.aborted` sometimes? I don't think we want that.
That seems reasonable to me and is compatible with what we are planning to do for Fetch (see https://github.com/whatwg/fetch/pull/1343). (The current plan there is to serialize/deserialize abort reason and recreate...
Shouldn't the HTML specification be modified for this? "Allowed to show a popup" is based on stack inspection.
Probably? I'm not sure. Someone would have to ask UX.
Yeah true, although none of that would be possible anyway from a service worker. So... @jakearchibald, you want an equivalent definition of "allowed to show a popup" it sounds like,...
I don't understand `click`. In the context of a service worker only `notificationclick` seems relevant. What am I missing?
No, we don't want to extend XMLHttpRequest with new features, except if it gets them through a shared primitive, but that would not be the case here. Also, could you...
Yeah and maybe explicitly solicit feedback from the community on the approach taken.