00:27
<Domenic>
Nothing really further... It just feels more like HTML, i.e. the core of the browser, than Infra, i.e. how to write specs.
01:22
<Jessidhia>
these substeps of step 14 look... scary, tbh
01:22
<Jessidhia>
maybe it makes sense in the context of an internal browser implementation, but these semantics have the infamous "zalgo problem"
01:22
<Jessidhia>
3. If completion is a normal completion, return completion.
01:22
<Jessidhia>
4. If completion is an abrupt completion and the callback function has a return type that is not a promise type, return completion.
01:22
<Jessidhia>
5. Let rejectedPromise be ! Call(%Promise_reject%, %Promise%, «completion.[[Value]]»).
01:22
<Jessidhia>
6. Return the result of converting rejectedPromise to the callback function’s return type.
02:35
<Domenic>
Jessidhia: they do not. This is just spec-ese for writing `try { steps() } catch (e) { return PRomise.reject(e); }`
02:39
<Jessidhia>
4. returns the abrupt completion before reaching the step where %Promise_reject% is invoked
02:40
<Jessidhia>
also, if there is a normal completion, it returns the completion as-is, without using the Promise capability to ensure the result is a Promise
02:41
<Domenic>
Yes, true, it does not return a promise if the operation is not promise-returning.
02:41
<Domenic>
This is as intended.
02:41
<Domenic>
Not all functions return promises.
02:49
<Jessidhia>
yeah, it just gets into that scary "this returns a Promise / is asynchronous but _only sometimes_" territory for which the Zalgo problem was named
02:52
<Domenic>
The same function will always return a promise, or always not return a promise. It is declared in the return type.
02:52
<Domenic>
This algorithm works on any declaration, but any given declaration will always behave the same.
02:53
<Jessidhia>
ah, right, this calls IDL functions which have a type declaration
04:01
<annevk>
Domenic: jyasskin: I think Infra as we should allow for user agents that implement URL, but not much other WHATWG standards; making it about browsers excludes too much.
04:56
<Domenic>
Hmm are those user agents? Like I don't think of Node or PHP as a user AGENT.
04:56
<Domenic>
(that was accidental caps, not purposeful emphasis)
05:52
<annevk>
They are traditionally, afaik
05:53
<annevk>
And would match the way we use the term, otherwise we ought to use some other term most of the time
06:51
<JakeA>
annevk: The service worker working group is on Monday. Are there particular parts of the day you'll be there? There's a couple of things that could do with your input, but happy to schedule around you
07:09
<annevk>
JakeA: I have something at 10:15-10:45 and there's an a11y thing or two zcorpan would know about, so there's definitely time somewhere
07:09
<JakeA>
taa
10:59
<hsivonen>
annevk: OTOH, it's easier to deal with naysaying the WHATWG specs are positioned as attempting to be normative over browsers and other kinds of software may be written to match if they care to interoperate
10:59
<hsivonen>
s/naysaying the/naysaying if the/
11:01
<hsivonen>
annevk: see e.g. http://www.open-std.org/pipermail/unicode/2019-August/000574.html
11:33
<domfarolino>
zcorpan: Just to be clear about your latest lazyload review, you're saying even disconnected images with `loading=lazy` specified would still load eagerly, right?
11:34
<domfarolino>
If that's what you mean, then I agree, the latest changes seem to overlook this
11:34
<zcorpan>
domfarolino: as specified that would happen, yes, afaict
11:34
<domfarolino>
zcorpan: Cool thanks, I'll address
11:34
<zcorpan>
nice!
11:50
<annevk>
hsivonen: it's tricky, as it does seem somewhat harmful for web-consuming software to not use the URL Standard as a reference
11:50
<annevk>
hsivonen: e.g., curl comes to mind
12:17
annevk
wonders when issues Domenic files will reach epic poem length
12:31
<zcorpan>
annevk: maybe should apply https://twitter.com/catherineols/status/1171503961662087169 to Domenic's issues
12:31
<annevk>
heh
12:41
<annevk>
Where's Ms2ger?
12:41
<annevk>
zcorpan: btw, while you're here, are we meeting Monday and on what times?
12:46
<zcorpan>
annevk: I haven't heard back yet. Pinged my email thread. I suggested 2pm Monday now
16:55
<annevk>
Domenic: for custom element ARIA role/states, what's the plan for built-ins?
16:55
<annevk>
Domenic: customized built-ins, in particular
18:28
<jyasskin>
annevk/Domenic: https://url.spec.whatwg.org/#writing does use "user agent", so I'll go for Infra: https://github.com/whatwg/infra/pull/269.
23:49
<Domenic>
annevk: IIRC attachInternals() throws for customized built-ins
23:50
<Domenic>
I think it could be made to work, with extra effort, but the demand is unclear.