05:57
<TabAtkins>
Domenic: Will get that shortly, sorry for the delay. Widlparser did some more edits, and one had an error, so I need to double-check that it's working correctly.
06:49
<XhmikosR>
MikeSmith: I don't suppose you have a Windows machine around?
07:54
<MikeSmith>
XhmikosR: no I don't
07:55
<MikeSmith>
I used to have an Azure remote VM thing when Microsoft were providing those, but they stopped doing that last year
08:04
<XhmikosR>
MikeSmith: I cannot make vnu.jar work from npm script section. Does this work for you? java -jar ./node-modules/vnu-jar/build/dist/vnu.jar --errors-only ./src/index.html
08:05
<XhmikosR>
Error: Unable to access jarfile ./node-modules/vnu-jar/build/dist/vnu.jar
08:05
<XhmikosR>
I tried with backslashes, same thing
08:07
<ondras>
hmm, /me knows only 'node_modules' with underscore
08:09
<MikeSmith>
XhmikosR: lemme try now
08:11
<MikeSmith>
XhmikosR: what ondras said
08:12
<MikeSmith>
I have only a ~/node_modules/ dir
08:12
<MikeSmith>
underscore
08:13
<MikeSmith>
java -jar ./node_modules/vnu-jar/build/dist/vnu.jar --errors-only index.html works
08:15
<XhmikosR>
MikeSmith: ./node_modules/ is when one depends on the vnu-jar npm package and does `npm i` in that dir.
08:15
<MikeSmith>
ok
08:16
<MikeSmith>
so there’s somewhere else I should be looking?
08:18
<XhmikosR>
the problem as far as I can tell is with vnu.jar reference. If I move the jar to the same folder as package.json and adjust the script this works: java -jar vnu.jar --errors-only ./src/index.html
08:18
<XhmikosR>
dammn it :/
08:18
<XhmikosR>
it's a typo
08:18
<MikeSmith>
oh
08:18
<XhmikosR>
node-modules vs node_modules
08:18
<MikeSmith>
hope it’s not my typo
08:19
<XhmikosR>
nope, my type :P
08:19
<XhmikosR>
sorry for the noise
08:19
<MikeSmith>
ok
08:19
<XhmikosR>
it's almost always the simple things
08:19
<MikeSmith>
yup
08:21
<MikeSmith>
XhmikosR: incidentally I guess you noticed by now, but I had to do a 17.1.0 release, because the 17.0.1 vnu.jar doesn’t actually support custom elements
08:23
<MikeSmith>
Domenic caught that because the Streams spec HTML source uses custom elements and we now use vnu.jar in our Travis CI setup to test the HTML sources of all specs
08:34
<XhmikosR>
MikeSmith: yeah, I forgot to release a new grunt-html version :/
08:34
<MikeSmith>
well no rush I guess
08:35
<MikeSmith>
if nobody has reported a problem about it
08:35
<MikeSmith>
though I’m kinda surprised nobody has
08:35
<XhmikosR>
feel free to ping me if I miss a release in the future
08:36
<XhmikosR>
testing now and I'll release 8.3.0 or 8.2.1
08:36
<MikeSmith>
well I would have sent you a reminder when I did this one, but I’ve been away traveling and stuck meetings til today
08:36
<MikeSmith>
OK
08:36
<XhmikosR>
we really need semver
08:37
<MikeSmith>
not sure we do for vnu.jar
08:37
<XhmikosR>
I will do 8.2.1
08:37
<XhmikosR>
just a minor bump
08:38
<MikeSmith>
yeah I think that’s appropriate for the npm version
08:39
<MikeSmith>
for vnu.jar I did it the way I did because 17.0.1 actually lacked one of the two major features the release notes advertised it as having
08:40
<XhmikosR>
released 8.2.1
08:40
<MikeSmith>
so it seemed to merit more than just a rev to 17.0.2 upstream
08:40
<MikeSmith>
thanks
08:40
<XhmikosR>
did you sort your build scripts?
08:43
<MikeSmith>
XhmikosR: yeah
08:44
<MikeSmith>
thanks for nudging me about those
08:44
<MikeSmith>
you were right, about the stuff you pointed out
08:44
<MikeSmith>
“that doesn’t seem like a clever way of doing it” or something like that, you said
08:45
<MikeSmith>
which I thought was a nice way of putting it
08:46
<MikeSmith>
btw dunno if you’re interested in Rust I have a grand plan of starting a complete rewrite of the HTML checker in Rust this year
08:49
<XhmikosR>
MikeSmith: it was just common sense for me :P You just wanted to replace the version string so what you were doing was too much and could break easily, as it did :)
08:50
<MikeSmith>
indeed
08:51
<annevk>
Which specification uses the "inherit attribute" IDL construct?
08:59
<MikeSmith>
annevk: I find AnimationEffectTiming
09:00
<MikeSmith>
https://w3c.github.io/web-animations/#the-animationeffecttiming-interface
09:00
<annevk>
ta
09:05
<MikeSmith>
glad I got home in time to watch the final two nights of the current sumo tournament. Exciting finishーa guy who’s a really well-liked veteran wrestler but who had never actually won a tournament won just now, a few minutes go. He had to turn has face away from the camera because he was crying and didn’t want the cameras to see it. But when he turned back you could still see the tears coming out.
09:11
<XhmikosR>
MikeSmith: so with the latest specs, preloadCSS prolyfill seems to trigger an error?
09:12
<MikeSmith>
oh
09:12
<MikeSmith>
what’s the error?
09:13
<XhmikosR>
hmm sec, it might have been the old version of vnu-jar
09:13
<XhmikosR>
because I see this is passing https://travis-ci.org/mpc-hc/mpc-hc.org/builds/188114185
09:13
<MikeSmith>
ah
09:13
<XhmikosR>
let me double check
09:13
<MikeSmith>
yeah maybe it uses some custom elements
09:14
<XhmikosR>
https://ci.appveyor.com/project/XhmikosR/mpc-hc-org/build/711
09:14
MikeSmith
looks
09:14
<XhmikosR>
trying with the latest version now
09:14
<MikeSmith>
> A “link” element with an “integrity” attribute must have a “rel” attribute that contains the value “stylesheet”
09:15
<XhmikosR>
I don't use that branch inproduction because I've yet to find a nice way to have nonces with apache
09:16
<MikeSmith>
well as far as that specific error I think this release does relax that, because the spec permits more rel values with the integrity attribute
09:16
<XhmikosR>
yeah now it's passing
09:16
MikeSmith
checks the git log
09:16
<MikeSmith>
OK
09:16
<XhmikosR>
spoke too soon
09:16
<XhmikosR>
https://ci.appveyor.com/project/XhmikosR/mpc-hc-org/build/714
09:17
<MikeSmith>
oh
09:17
MikeSmith
looks again
09:17
<XhmikosR>
yeah it's failing here
09:17
<XhmikosR>
<link rel="preload" href="https://cdn.mpc-hc.org/assets/css/pack.131b2455.css"; as="style" onload="this.rel='stylesheet'" integrity="sha384-BEMuRBtHBbYZMl3ydzM511MV2l5DmO/MQKV7q+4w3/6hhQeEHW/foGDI8cvgps0X" crossorigin="anonymous">
09:18
<XhmikosR>
ahhh
09:18
<MikeSmith>
OK yeah so that is actually non-conforming I think
09:18
<XhmikosR>
does it need as="stylesheet"
09:18
<MikeSmith>
per current spec
09:19
<MikeSmith>
no, I think needs rel="preload stylesheet"
09:19
<MikeSmith>
instead of just rel="preload"
09:19
<XhmikosR>
the rel preload polyfill had `if( link.rel === "preload" && link.getAttribute( "as" ) === "style" ){`
09:20
<XhmikosR>
let's see if they have a newer version
09:20
<MikeSmith>
yeah I think I do not have the checker checking the as= value yet
09:21
<MikeSmith>
oh, no I do
09:21
<MikeSmith>
it is an enumerated value
09:21
<XhmikosR>
https://github.com/filamentgroup/loadCSS#recommended-usage-pattern
09:21
<XhmikosR>
so they haven't changed anything on their side
09:21
<MikeSmith>
and the permitted values includes "style"
09:22
<MikeSmith>
yeah should be "style" not "stylesheet"
09:22
<XhmikosR>
so a bug? :p
09:22
<MikeSmith>
well that doc is non-conforming because it just has rel="preload"
09:22
<MikeSmith>
they need to change that to rel="preload stylesheet"
09:23
<XhmikosR>
hmm
09:23
<XhmikosR>
ok so they need to change the script
09:24
<XhmikosR>
MikeSmith: do you a link to the specs that say that it needs to be "preload stylesheet" and drops the `as` attribute?
09:24
<MikeSmith>
the only related change I made in this release is that I was accidentally before only do exact matches for rel values in some cases, when I needed to be instead checking the string value just with .contains(...) instead of exact match
09:24
<MikeSmith>
yeah hang on
09:25
<MikeSmith>
well not sure they need to drop the `as` attribute
09:25
<MikeSmith>
but I can get the other reference
09:25
<XhmikosR>
if `as` is still required they just need to change the rel value
09:26
<MikeSmith>
https://html.spec.whatwg.org/multipage/semantics.html#attr-link-integrity
09:26
<MikeSmith>
> The integrity attribute represents the integrity metadata for requests which this element is responsible for. The value is text. The attribute must not be specified on link elements that do not have a rel attribute that contains the stylesheet keyword. [SRI]
09:27
<XhmikosR>
ok thanks I'll make an issue
09:28
<MikeSmith>
hai
09:44
<XhmikosR>
not sure what the new check should be though. If I use `rel="stylesheet preload"` FF and Chrome return `stylesheet` only for `link.rel` value
09:44
<XhmikosR>
although Chrome won't be affected since it supports preload natively
09:46
<MikeSmith>
XhmikosR: hmm not sure what to suggest then
09:47
<MikeSmith>
though I know grunt-html has some way to filter out unwanted errors
09:47
<XhmikosR>
I'll CC you there and we'll see what the others have to suggest
09:47
<MikeSmith>
OK
09:47
<XhmikosR>
I mostly care about the script working not the error :)
09:51
<XhmikosR>
I think the script works though, it's just the error showing up
09:52
<XhmikosR>
because in the HTML the link has `onload="this.rel='stylesheet'"`
10:52
<annevk>
MikeSmith: aww (re sumo)
12:23
<MikeSmith>
annevk: see bz comments https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/qS63pYso4P0/7_cMXoKXAwAJ about handling of HTTP/0.9 responses on ports other than 80
12:24
<MikeSmith>
“It really would be a good idea if we (browser vendors) could all coordinated how we handle this stuff instead of each solving it in a different way.”
12:24
<MikeSmith>
dunno where would be the place to specify that
12:26
<MikeSmith>
responses from the legacy Shoutcast server apparently start with “ICY 200 OK” and Blink is going to add some special-case handling to make those work for ports other than port 80 while otherwise disallowing HTTP/0.9 responses from non-80 ports
12:29
<annevk>
MikeSmith: HTTP spec in theory
12:30
<MikeSmith>
well
12:31
<MikeSmith>
as entertaining as it might be to bring the discussion up with some of the members of the HTTP WG, seems clear it wouldn’t be productive
12:32
<MikeSmith>
so if it is something we want interoperability on instead of browsers hacking in things like what Chrome plans to do, seems like it would be good to spec it somewhere
12:33
<MikeSmith>
not volunteering but I don’t even know where to raise it as an issue
12:37
<annevk>
MikeSmith: could add a monkey patch in Fetch
12:37
<annevk>
MikeSmith: there is also a wiki page listing issues with HTTP
12:37
<annevk>
MikeSmith: maybe add it there
12:45
<MikeSmith>
annevk: thanks added at https://wiki.whatwg.org/wiki/HTTP#HTTP_0.9_.28and_Legacy_Shoutcast_support.29
12:49
<annevk>
Cool
14:08
<nox>
annevk: https://dom.spec.whatwg.org/#concept-event-dispatch
14:08
<nox>
"4. If target is relatedTarget and target is not event’s relatedTarget, then return true."
14:08
<nox>
Doesn't that forget to clear the dispatch flag set in step 1?
14:23
<annevk>
nox: yeah I guess so
14:24
<annevk>
nox: could use tests, guess we did not require them yet
14:41
<nox>
annevk: So I had clean all of our event dispatch logic,
14:41
<nox>
annevk: out of curiosity I looked at the spec again, now months later,
14:41
<nox>
and everything changed. ( ._.)
14:49
<annevk>
nox: shadow trees
14:49
<nox>
annevk: Yeah I know.
15:00
<nox>
annevk: Activation events stuff is new too, right?
15:01
<annevk>
nox: yes
15:01
<nox>
annevk: Does it require new stuff from other parts of the spec, or is that a new legacy thing?
15:01
<nox>
I.e. can I implement that in Servo?
15:02
<annevk>
nox: it's a legacy thing mostly used by HTML
15:02
<nox>
Ok.
15:02
<annevk>
nox: there might still be some issues with it, filed against HTML
15:02
<nox>
Looking into it.
15:03
<nox>
annevk: So I'm looking at "prompt to unload",
15:03
<nox>
and suddenly there is a step "if the previous event dispatch triggered any event listener",
15:03
<nox>
and we never had to check that before anywhere in Servo,
15:03
<nox>
makesmesad.
15:03
<annevk>
nox: I haven't studied lifecycle enough
15:04
<annevk>
nox: I did file an issue on investigating that claim
15:04
<nox>
Oh.
15:04
<nox>
Do you remember where?
15:04
<annevk>
nox: against HTML
15:04
<annevk>
nox: also filed one against IDB which wants to know if a listener threw…
15:04
<nox>
Yeah, I remember that.
15:05
<nox>
IDB makes me anxious.
15:05
<annevk>
Did that today so…
15:05
<annevk>
But maybe I filed a duplicate
15:05
<annevk>
There is some service worker funny business going on too
15:06
<annevk>
Software architecture is not really a thing in the web platform
15:06
<nox>
I mean I remember seeing that step in IDB.
15:06
<nox>
And then heavy breathing in a paper bag.
15:24
<nox>
annevk: Does step 9 of https://html.spec.whatwg.org/multipage/browsers.html#prompt-to-unload-a-document means that only one level of descendant browsing contexts is checked?
15:28
<nox>
Or is it just about checking that *this* document shouldn't be prompted to unload while prompting to unload?
15:29
<nox>
But if that's the reason this step exists, doesn't that mean beforeunloadevent can be fired twice on the same window anyway?
15:38
<annevk>
nox: not sure
17:37
<TabAtkins>
annevk: Bikeshed now correctly handles XHR's overloads with different signatures.
17:38
<TabAtkins>
(It previously worked if your <dfn> was a full signature, with types and such. The widlparser update let it handle signatures with just argnames correctly.)