07:23
<annevk>
foolip: is there some way to get a higher priority on https://github.com/web-platform-tests/wpt/issues/27868? Not being able to add new HTML elements seems kinda bad. Or perhaps we should ask zcorpan if he wants to perform the import dance once more...
09:19
<foolip>
foolip: is there some way to get a higher priority on https://github.com/web-platform-tests/wpt/issues/27868? Not being able to add new HTML elements seems kinda bad. Or perhaps we should ask zcorpan if he wants to perform the import dance once more...
I’m guessing all it would take is for someone to write the PR. Or do you expect it’s risky and it needs an RFC or someone?
09:58
<zcorpan>
annevk: foolip : I will fix it by upstreaming mozilla's html5lib-test runner to wpt and then move the test data to wpt
10:15
<Sam Sneddon [:gsnedders]>
annevk: foolip : I will fix it by upstreaming mozilla's html5lib-test runner to wpt and then move the test data to wpt
we should check that all the other consumers of html5lib-tests are okay with it moving to WPT; it seems unfortunate if we stop having other implementations tested against the tests.
10:16
<Sam Sneddon [:gsnedders]>
And AFAIK there are more other consumers of it now then when we had the prior discussion
10:17
<annevk>
I thought the plan was to make WPT directly depend on html5lib-tests rather than html5lib in general. And then use the JS parser Henri wrote to run the tests somehow
10:18
<Sam Sneddon [:gsnedders]>

That issue has zcorpan saying:

Having the sources files in the same format in wpt

Which very much sounds like moving them.

10:18
<annevk>
But also, copying it wholesale is preferable over doing nothing.
10:19
<Sam Sneddon [:gsnedders]>
I still think we should do https://github.com/web-platform-tests/wpt/issues/27868#issuecomment-1039321578 as a first step, which means we avoid having to have the same version of html5lib-tests as html5lib-python uses, merely using html5lib-python as a glorified parser
10:20
<Sam Sneddon [:gsnedders]>
(I still think moving to a JS parser is the right thing longer term, but that takes more work, especially if we want to preserve the current test names which are sha1s of the input. Tho I guess we could just move all the parsing tests to a secure context, then that becomes slightly less painful.)
10:21
<annevk>
Thinking about it more I actually like the idea of copying it wholesale and declaring the era of html5lib-tests to be over. We manage just fine hosting host-independent URL parser tests in WPT and such.
10:30
<annevk>
And also, lowering the bar for browser engineers to contribute HTML parser tests is probably the best thing we could be doing for the HTML parser.
10:46
<Domenic>
At this point this problem has been unsolved for so long I am totally fine abandoning every part of the dependency chain apart from wpt. Go go Simon!
10:50
<Sam Sneddon [:gsnedders]>
https://github.com/web-platform-tests/wpt/pull/39158 implements what I said we should do as a first step, fwiw.
11:00
<Sam Sneddon [:gsnedders]>
I still desperately wish we had more meaningful test names
12:24
<annevk>
Yeah what's generated there is very hard to read. Having the actual data files and operating on those would be an improvement
13:27
<zcorpan>
Do we have a list of consumers of html5lib-tests?
14:22
<freddy>
Do all browsers double-key their caches by first-party site (or even frame tree)? Are there WPT for this kind of behavior?
14:25
<annevk>
freddy: there are some tests, e.g., for the CORS-preflight cache
14:28
<freddy>
Whether a resource passed a CORS-preflight is cached? Is that web observable? I suppose caches are generally not supposed to be observable (except for timing side channels), right?
14:31
<annevk>
freddy: the whole point of partitioning caches is because they're very much observable :-)
14:31
<annevk>
Though I suppose you're right they're not observable in the traditional sense; timing channels count for a change.
14:32
<freddy>
I mean, it's not like you can query a specific API, right? it's a timing side channel, i.e., a probablistic query
14:33
<annevk>
Yeah, though there is some of that too in the larger partitioning state effort. It's observable in the traditional sense if your storage is partitioned for instance, provided you can open a popup.
14:33
<freddy>
probably tricky to have WPT for (:
14:34
<annevk>
freddy: well in the case of CORS preflights the server can observe, and WPT controls the server
14:35
<freddy>
the server can observe whether the browser will do another OPTIONS request. right.
14:35
<annevk>
freddy: that also applies to HTTP cache revalidation requests and such
14:36
<freddy>
Ah, right. Thanks!
18:21
<annevk>
mfreed: so is Google no longer on board with replacements for innerHTML and friends?
18:22
<annevk>
mfreed: I don't really understand https://github.com/whatwg/html/issues/8759#issuecomment-1481321471
18:26
<TabAtkins>
FYI: I've reverted the entire set of Bikeshed commits that started being problematic two weeks ago, so everything should work as it did two weeks ago again. I'll continue working on them in a branch. See my post-mortem https://github.com/speced/bikeshed/issues/1773#issuecomment-1481598821 for details.