07:58
<yoav>
annevk: Are you aware of somewhere we can point to when using "unix-time"? https://github.com/w3c/hr-time/pull/61/files#r229588549
08:03
<yoav>
annevk: I think we may be able to point at https://www.ecma-international.org/ecma-262/9.0/index.html#sec-date-objects for their definition. Thoughts?
08:08
<annevk>
yoav: I'd use "midnight at the beginning of 01 January, 1970 UTC" or equivalent, indeed
08:09
<annevk>
(DOM had this until it started using DOMHighResTime(sp?))
08:13
<yoav>
yeah, and this defines DOMHighResTimeStamp
08:39
<annevk>
yoav: isn't that always relative to some "time origin" that's not in 1970 though?
08:39
<annevk>
yoav: as in, nanoseconds passed since we created the document or some such
08:41
<yoav>
sure, but that definition relies on unix time https://w3c.github.io/hr-time/#dfn-time-origin-timestamp
08:42
<annevk>
interesting
08:42
<annevk>
and yeah, let's not rely on Wikipedia as a primitive 😃
08:47
<yoav>
annevk: opened https://github.com/w3c/hr-time/issues/62 to track this
08:48
<annevk>
ta
14:26
<yoav>
Does the handling of nested browsing contexts in the event of a `history.back()` of the parent varies between embeds/objects and iframes?
14:38
<zcorpan>
it...shouldn't vary?
14:39
<yoav>
zcorpan: OK, cool. Wanted to make sure
16:06
<zcorpan>
see y'all next year
16:12
<annevk>
zcorpan: have a good remainder!
16:30
<Domenic>
Anyone know of a string such that `x.toLowerCase() === "beforebegin"` but `toASCIILowercase(x) !== "beforebegin"`? I thought `"beforebegİn"` would work but `.toLowerCase()` seems to convert that into an "i" + a combining dot character for some reason.
16:37
<annevk>
Domenic: dotless uppercase i?
16:37
<Domenic>
Then `toASCIILowercase(x) === "beforebegin"`
16:37
<annevk>
No?
16:37
<annevk>
Oh wait
16:37
<Domenic>
Dotless uppercase I is just 'normal' "I", right?
16:38
<annevk>
Yeah I guess
16:38
<Domenic>
Yeah, not sure this is testable after all
16:38
<TimothyGu>
Domenic: I think there is a special dotless uppercase
16:38
<Domenic>
Hmm. Couldn't find it in https://en.wikipedia.org/wiki/Dotted_and_dotless_I
16:38
<TimothyGu>
just kidding
16:39
<annevk>
This sounds like a challenge for mathias btw
16:39
<annevk>
Too bad he left the channel
16:40
<Domenic>
It looks like it may be testable if your computer's locale is set to Turkish
16:40
<annevk>
Is JavaScript that bad?
16:40
<Domenic>
Maybe not
16:40
<Domenic>
Spec says "Unicode Default Case Conversion" which I think is locale insensitive
16:40
<annevk>
That happens in C 😟
16:41
<Domenic>
(Background is trying to test https://github.com/jsdom/jsdom/pull/2399/commits/8daf6d57360fc70b4fb3eed7ab2900f278fa7307 )
16:48
<annevk>
http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
16:48
<annevk>
It seems if the string contained fi it’d be easy
16:49
<annevk>
Haven’t grepped for all ASCII code points though
16:52
<TimothyGu>
so I tried the fi ligature, it doesn't work unfortunately
16:52
<TimothyGu>
on the other hand if one does 'fi'.toUpperCase() it will convert it to ASCII upper case
16:52
<annevk>
017F; C; 0073; # LATIN SMALL LETTER LONG S
16:53
<annevk>
looks bad
16:54
<TimothyGu>
Okay found one
16:54
<TimothyGu>
212A; C; 006B; # KELVIN SIGN
16:54
<annevk>
TimothyGu: nice
16:55
<TimothyGu>
'\u212A'.toLowerCase() === '\x6b'
16:55
<annevk>
TimothyGu: I wonder why fi is in the list but does not work
16:56
<TimothyGu>
It might be an ICU bug
16:57
<TimothyGu>
Another conjecture is because it's `F` rather than `C`, but then the LATIN CAPITAL LETTER I WITH DOT ABOVE mapping is also `F`
16:57
<annevk>
TimothyGu: what does Fx do here? Or maybe we use ICU for this too now 😟
16:58
<annevk>
Oh well, fun stuff
16:58
<annevk>
Very similar to my header parsing spelunking
16:58
<Domenic>
Hmm so it seems like we just got (un)lucky and none of beforebegin/afterend/afterbegin/beforeend have characters that fall into this
16:59
<TimothyGu>
annevk: same in fx
16:59
<Domenic>
Like, no Ks or double Ss