02:05
<falken>
I would like to add a spec step for "discarding" an environment when the navigation fails (context at https://github.com/w3c/ServiceWorker/pull/1315). Can I just use the English word "discard" as the reverse of "create"? The spec already just says: "Create a new environment" in https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents:process-a-navigate-fetch. Or does it need to be more formal
02:05
<falken>
somehow: define the term "discard" which actually have steps but allows other specs to "wait for the environment to be discarded".
02:05
<falken>
"which doesn't actually have steps"
02:59
<Domenic>
falken: it seems like there's a particular point in the navigation algorithm you want to insert your steps at? In which case adding such a step, e.g. "X. At this point the environment <var>env</var> is <dfn>discarded</dfn>" or "X. Run the <dfn>discarding steps</dfn> for <var>env</var>" seems ideal, to pinpoint the exact point relative to other steps in the algorithm at which your steps run.
03:12
<falken>
Yes that makes sense
03:39
<falken>
Domenic: sent a PR
07:14
<annevk>
jochen__: heya, if you want to pitch your restricting ports for same site checks idea, now would be good time: https://github.com/whatwg/fetch/issues/687#issuecomment-392722063
07:15
<annevk>
jochen__: the main question is how much it's worth the trouble
07:33
<domfarolino>
annevk: Costly as in for people's privacy (the people that depend on the legacy values right now)?
07:33
<annevk>
domfarolino: mostly getting all impls to change
07:34
<annevk>
domfarolino: and tests, and making sure everyone agrees this should actually go
07:44
<domfarolino>
annevk: Ah, right.
08:50
<yoav>
Hmm, I updated html and html-build and now I'm getting a wattsi error when trying to build
08:50
<yoav>
syntax:: integer expression expected
08:50
<yoav>
wattsi: invalid arguments
08:50
<yoav>
syntax:
08:50
<yoav>
wattsi [--quiet] <source-file> <output-directory> <caniuse.json> <bugs.csv>
08:50
<yoav>
anyone else seeing the same?
08:53
<annevk>
yoav: did you update wattsi?
08:54
<yoav>
I'm now looking into that, but don't remember how I got the binary in the first place
08:54
<annevk>
yoav: we updated all the things yesterday to prepare for Review Drafts
08:54
<annevk>
yoav: that included changes to wattsi
08:55
<annevk>
yoav: you could remove wattsi from your PATH and then it should get invoked remotely on a build server
08:55
<annevk>
yoav: that should work, though I'm not a 100% sure that the build server is updated
08:55
<yoav>
annevk: that sounds easier than upgrading :)
08:55
<yoav>
I'll give it a try
08:55
<yoav>
thanks!
08:59
<yoav>
@annevk managed to find and update wattsi. Thanks! :)
09:00
yoav
@s people here for some reason :facepalm:
09:01
<annevk>
Too much proprietary messaging services can really get to you
09:01
<annevk>
I signed up for a corporate Slack account the other day 😕
09:58
<yoav>
annevk: yeah, I blame slack as well...
11:29
<annevk>
JakeA: if you could look at the XXX comment I added in the second commit here https://github.com/whatwg/fetch/pull/736 that'd be cool
11:30
<annevk>
JakeA: if you don't immediately know no need to do the research though; I'll get to it
11:34
<JakeA>
annevk: I wanted to make it so headers.delete('range') worked. It seemed weird that headers.delete('range') would be prevented, but headers.delete('accept') would be allowed, but that would also delete the range header
11:40
<yoav>
foolip: regarding the flakiness at https://github.com/web-platform-tests/wpt/pull/11227
11:41
<foolip>
yoav: yes? :)
11:41
<yoav>
just so that I'd know I understand you correctly: if the test produces the same number of tests at each run in Firefox, but the results for those tests could be passing or failing
11:41
<yoav>
Is that considered flaky?
11:42
<foolip>
That would be flaky, yes.
11:42
<yoav>
that's what I thought...
11:42
<foolip>
Is the test trying to ensure more about the Chromium implementation that the spec actually requires?
11:43
<yoav>
Not really, I suspect the flakiness is the result of Firefox's resource loading implementation
11:43
<yoav>
or RT implementation
11:43
<yoav>
e.g. I see that on some runs, some resources are never reported
11:43
<yoav>
it's not clear yet if they are downloaded and not reported, or never downloaded in the first place
11:44
<foolip>
If a Firefox bug is causing the flakiness, then that's not blocking, but can you file a Gecko bug with a snapshot of the test case, something that won't change over time?
11:44
<yoav>
foolip: I'll make sure that I'm not getting this wrong, and then will file one
11:44
<foolip>
yoav: great, thanks!
11:49
<yoav>
foolip: Is there some way to see a current "flakiness dashboard" for that test before the change? https://wpt.fyi/results/resource-timing/resource_initiator_types.html just shows it's failing
11:49
<yoav>
foolip: if I'm correct, it would've been flaky before the change
11:49
<foolip>
yoav: no, we have no flakiness tracking for wpt.fyi yet. please file an issue, it has more weight when someone other than me requests things :)
11:49
<yoav>
:D
11:49
<foolip>
(I ask for lots of things)
11:50
<yoav>
foolip: Would that fall under https://github.com/web-platform-tests/wpt.fyi/issues/66 or you want a new one?
11:51
<foolip>
yoav: oh look, I've already asked. So chime in with support there then :)
11:51
<yoav>
cool
11:57
<yoav>
foolip: testing locally, the test was flaky before my changes, for the same reasons
11:58
<annevk>
JakeA: oh right, I totally misread what that code would do
11:58
<annevk>
JakeA: thanks
11:58
<foolip>
yoav: sounds like https://github.com/web-platform-tests/wpt/pull/11229, with a preexisting problem. I plan to file a Chromium bug with repro and then merge the PR as is.
12:06
<jochen__>
annevk: thx for the ping
12:07
<yoav>
foolip: wait, there's another possibility. Maybe this test just doesn't wait long enough for some resources to make sure they are loaded...
12:15
<yoav>
nah, that's not it :/
12:22
<yoav>
foolip: Commented on https://bugzilla.mozilla.org/show_bug.cgi?id=1459140
12:24
<zcorpan>
...is scrollPathIntoView() not implemented?
12:25
<MikeSmith>
zcorpan: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/scrollPathIntoView#Browser_compatibility
12:25
<MikeSmith>
Blink-only it seems
12:26
<MikeSmith>
under a flag
12:26
<MikeSmith>
ExperimentalCanvasFeatures
12:33
<zcorpan>
experimental web platform fetaures enabled it it seems. thanks MikeSmith
12:34
<MikeSmith>
cheers
12:43
gsnedders
gets confused by seeing ed listed as an editor (@ Opera Software ASA), then realises he's ended up on /TR/, argh
15:47
<TabAtkins>
gsnedders: Use a browser or extension that lets you add style to a domain, give all /TR specs something obvious like a weird background?
15:48
<gsnedders>
TabAtkins: my preferred solution here is to "get around to writing an extension that redirects from /TR/ to EDs"
16:17
<TabAtkins>
Domenic annevk: Infra says that variables must be "block scoped", but just links to Wikipedia for the definition of that term. It's... not clear what that actually means for HTML. Can you expand the definition to actually say what elements should establish scope, so I can start enforcing that in Bikeshed?
16:17
<Domenic>
TabAtkins: <ol>, basically?
16:18
<TabAtkins>
Does dl count? (Or maybe the <dd>?)
16:19
<annevk>
TabAtkins: <dd> would
16:19
<annevk>
if you let in the opening <p> there or some such it shouldn't escape
16:20
<annevk>
Typically though a <dd> with lets would contain an <ol> directly
16:39
<TabAtkins>
Typically but not always. I'd just like to have that specified in Infra so I have a clear rule to follow, and something to point people towards in the Bikeshed docs. ^_^
16:40
<Domenic>
I mean I don't think Infra will talk about specific HTML elements, but maybe about indentation or similar...
16:40
<TabAtkins>
Curious - why wouldn't it?
16:40
<Domenic>
It seems wrong for Infra to depend on specific spec-writing languages.
16:41
<Domenic>
Like if you wanted to write an RFC you should still be able to use Infra.
16:41
<Domenic>
(Or perhaps more interestingly, if you wanted to use Markdown.)
16:43
<annevk>
Yeah, I agree with that, e.g., Infra talks about steps; not <li> or <p>
16:43
<annevk>
If it's too vague or the mapping to HTML is unclear we should make it more specific I suppose
17:10
<Domenic>
TabAtkins: Bikeshed is now giving me "Missing a 'TR' entry" for WHATWG review drafts :(. I think maybe I didn't test after making RDs into a snapshot status?
17:12
<TabAtkins>
annevk: It's 100% vague at the moment, so yeah, it definitely needs *something* more specific. I currently have *literally zero idea* what "block-scoped" is supposed to mean in terms of HTML.
17:12
<TabAtkins>
Domenic: Ah yeah, it'll want that. Hm.
17:12
<Domenic>
TabAtkins: I have a fix, I'll post it and let you review if you like it
17:12
<TabAtkins>
Domenic: Also, Markdown is just an HTML syntax, so that's fine. Y^_^
17:12
<TabAtkins>
cool
17:14
<Domenic>
https://github.com/tabatkins/bikeshed/pull/1256
17:15
<annevk>
TabAtkins: RFCs aren't quite HTML though
17:20
<TabAtkins>
Sure. But it's easy enough to say "in HTML, this means ..."
17:33
<jyasskin>
RFCs are moving from a situation where `<dt>title<dd>content` is represented as <t hangText="title">content</t> (https://tools.ietf.org/html/rfc7749#section-2.38.2) to representing it like HTML: https://tools.ietf.org/html/rfc7991#section-2.18.
20:14
<devsnek>
how should runtimes that aren't browsers consume wpt
20:15
<devsnek>
I see node just did some intense copy paste but assuming you don't have a team of collabs