14:19
<nox>
annevk: https://github.com/servo/servo/pull/19461#discussion_r155932279
14:19
<nox>
Is it expected for these tests to even use 'for (const …)'?
14:22
<annevk>
nox: sure, web-platform-tests is not constrained when it comes to JS syntax
14:23
<nox>
annevk: Asked because I remembered making some tests more portable in the past, because of some unsupported features in Safari.
14:24
<annevk>
nox: I think it’s considered acceptable to rewrite if not too much of a concession in readability
14:25
<nox>
annevk: Thanks! Quoted you in a reply.
14:29
<annevk>
nox: it’d be good to figure out a better SpiderMonkey embedding story as this keeps coming up in a various ways and confusing folks
14:29
<annevk>
nox: would be nice to address the root cause
14:29
<nox>
annevk: Indeed.
14:29
<nox>
annevk: SMUP has been blocked for almost a year though.
14:29
<nox>
:(
14:30
<annevk>
UP?
14:30
<nox>
annevk: Like rustup, but for spidermonkey.
14:31
<nox>
Like a rustup* Not the tool, but the action of updating Rust somewhere.
14:31
<annevk>
Hah, don’t know that one either
14:31
<nox>
I should remember slang is not very portable from one channel to another. :)
14:31
<annevk>
I see
14:31
<nox>
annevk: As the linked discussion shows, we can also just copy the test in _mozilla anyway.
18:22
<Domenic>
It's a start /cc annevk https://github.com/jsdom/data-url
18:24
<annevk>
Domenic: cool, will look sometime next week
23:51
<TimothyGu>
tobie: hey, independent of the PR, is a user-created function a user object or a platform object?
23:51
<tobie>
a user object
23:52
<tobie>
(I think)
23:53
<TimothyGu>
tobie: how about undefined?
23:54
<tobie>
that's an ES thingy, no?
23:54
<tobie>
Whatever these are called nowadays.
23:54
<tobie>
TimothyGu: might depend whether you're in strict mode or not?
23:55
<TimothyGu>
how?
23:55
<TimothyGu>
as in, 3.9 currently says "Otherwise, the interface is not a single operation callback interface. Any object is considered to implement the interface."
23:56
<TimothyGu>
it's not "any Object" which would make things unambiguous
23:57
<tobie>
1:00am here, there's no way I'm able to even think about that. :D
23:57
<TimothyGu>
:)
23:58
<tobie>
For those of you who want internal slots in WebIDL, here's a proposal in the form of a rough PR: https://github.com/heycam/webidl/pull/495
23:59
<tobie>
annevk: "Domenic: I guess ideally it would mention which commit it reflects" <-- it does when you hover over it.