| 01:45 | <MikeSmith> | the WebGPU group formally agreed on a shader language |
| 01:45 | <MikeSmith> | https://gpuweb.github.io/gpuweb/wgsl.html |
| 01:52 | <MikeSmith> | annevk: FYI browser-support data for TextDecoderStream/TextEncoderStream getting added to MDN browser-compat-data https://github.com/mdn/browser-compat-data/pull/5764 |
| 01:53 | <MikeSmith> | ... but no MDN docs written for those yet |
| 01:54 | <MikeSmith> | you can consider chiming in on https://github.com/mdn/sprints/issues/2069 to say you think it’d be a great idea for somebody to make time to write up those docs |
| 03:49 | <TimothyGu> | Domenic: just checking: can a document ever go from not fully active back to fully active? |
| 03:49 | <Domenic> | TimothyGu: yes? If you press the back button? |
| 03:50 | <TimothyGu> | hmm |
| 03:50 | <TimothyGu> | I'm currently looking at https://chromium-review.googlesource.com/c/v8/v8/+/2071624/4/src/builtins/promise-resolve.tq#191 |
| 03:51 | <Domenic> | Ah yeah, I kind of doubt we handle event loop stuff great when transitioning in and out of bfcache... |
| 03:52 | <TimothyGu> | shu seems to be saying that "can run script" is monotonic. but is it even? |
| 03:54 | <Domenic> | Yeah I don't think it is |
| 03:54 | <Domenic> | Although |
| 03:54 | <Domenic> | I'm not sure you could get to a point where the event loop runs the task, and then, the can run script check fails |
| 03:54 | <Domenic> | The event loop only picks runnable tasks in the first place, from fully active documents |
| 03:56 | <Domenic> | I think you should be able to end up in a scenario like: enqueue microtask 1, enqueue microtask 2, microtask 1 runs and makes doc no longer fully active, microtask 2 stays in queue, when something else happens that makes doc fully active again, microtask 2 should run per spec. |
| 04:37 | <TimothyGu> | I can't seem to reproduce that, namely because microtask 2 always gets executed before doc becomes non-fully active. But it does seem plausible enough. |
| 04:38 | <TimothyGu> | The reason why I can't reproduce it is probably because running an event listener causes a microtask checkpoint, which drains the microtask queue. hmm |
| 17:38 | <andreubotella> | annevk: Could you look at encoding#198? |
| 19:00 | <shu> | Domenic: TimothyGu: oh fascinating |
| 19:43 | <annevk> | andreubotella: Monday prolly, was out sick |
| 19:44 | <andreubotella> | annevk: ok |