00:56
<Domenic>
devsnek: not sure what you mean. Are you asking how an event listener's thisArg is set?
01:49
<devsnek>
Domenic: like how `window` is an event target but the methods don't appear to be bound
01:49
<devsnek>
you can do `addEventListener(...)` without a receiver and it still has the right arg
01:50
<devsnek>
right now i did `global.addEventListener = EventTarget.prototype.addEventListener.bind(global)` to keep the context object correct
01:52
<devsnek>
if you're curious https://github.com/devsnek/ivan/blob/master/lib/whatwg.js#L31
02:33
<Domenic>
That's just how global properties work
02:33
<Domenic>
Well, no, sorry
02:34
<devsnek>
i'm just a bit confused about how browser does it
02:34
<devsnek>
i see in the spec that the prototype of the global object extends event target but
02:34
<devsnek>
i don't understand how it fixes this receiver issue
02:34
<Domenic>
if (this === undefined) use window instead of this
02:35
<devsnek>
in all cases or just for the event target attached to window
02:35
<Domenic>
https://heycam.github.io/webidl/#dfn-create-operation-function 2.1.2.1
02:35
<Domenic>
In all cases
02:35
<devsnek>
aha
02:36
<Domenic>
Every window method works e.g. open() focus() etc.
02:36
<devsnek>
thank you very much
03:29
<KiChjang>
if an iframe has its width attribute set and also its CSS width value set, which one of them should take precedence?
06:56
<annevk>
JakeA: are you swamped with I/O yet or can you review https://github.com/whatwg/fetch/pull/686?
15:31
<JakeA>
annevk: done. But yeah, not going to get much else done this week.
15:32
<JakeA>
Thanks for the extra review on the range request stuff