14:33
<Luca Casonato>

does anyone know if there is precedent in platform apis for async factory functions for interfaces?

e.g

interface Foo {
  static Promise<Foo> create(DOMString url);
};
15:04
<TabAtkins>
Nothing wrong with such, if the resource does need to be async
16:45
<miketayl_r>
I'm looking for a generally accessible article about how cross-origin cookies are unsafe and any changes that are planned in the future in that area.
https://github.com/sbingler/Origin-Bound-Cookies is probably of interest
16:48
<Domenic>

does anyone know if there is precedent in platform apis for async factory functions for interfaces?

e.g

interface Foo {
  static Promise<Foo> create(DOMString url);
};
There is a precedent I don't like, which is createImageBitmap(). I wish that had been ImageBitmap.create()
16:49
<Domenic>
Other cases are usually more like "resource acquisition" so like someParentResource.acquireThing() returns a promise for a Thing. That feels OK to me. createImageBitmap() is the only straight-up async factory I can think of...
16:52
<Luca Casonato>
thanks - thats good to know
17:02
<Domenic>
annevk, wanderview, or others: thoughts appreciated on best way to solve https://github.com/whatwg/infra/issues/402 and create good substring primitives for specs to use.
19:26
<TabAtkins>
Is there any example of a spec using the current Fetch algo to fetch something? HTML and CSSOM both use, as far as I can tell, some pre-existing incompatible version of the algo that does something completely different.
19:28
<Andreu Botella (he/they)>
https://github.com/whatwg/xhr/pull/311 ?
19:30
<TabAtkins>
ooh, that looks promising
21:30
<miketayl_r>
apparently the compat spec build action timed out (like a month ago) - https://github.com/whatwg/compat/runs/3316480792
21:30
<miketayl_r>
is there anyone who can re-kick that?
21:35
<TabAtkins>
I can't believe GH actually lets processes run 72 hours straight before killing them.
21:38
<miketayl_r>
lol, right?
21:38
<miketayl_r>
i guess i could commit some whitespace to main and see what happens
21:38
<TabAtkins>
that'd do it, yeah
21:44
<miketayl_r>
yeah, did the trick. GREAT SUCCESS.
21:45
<TabAtkins>
I suspect the CSSWG server was having hiccups and the connection just hung
21:45
<miketayl_r>
oh yeah, that was a thing a few weeks back
21:45
<TabAtkins>
I really need to document exactly how to write a nice easy GA actions that just uses bikeshed from pip
22:59
<sideshowbarker>
TabAtkins: https://github.com/w3c/spec-prod/ does that
23:01
<sideshowbarker>
(ignore all those W3C_* lines — those are all optional. It works even for publishing for any arbitrary Bikeshed doc — the part for autopublishing to TR with the Echidna stuff is an additional thing)