| 16:45 | <Domenic> | annevk: is there any easy way to use names or IDs instead of indices for https://github.com/web-platform-tests/wpt/pull/24518#issuecomment-656128128 ? Otherwise I have to rewrite everything as promise_test since with 4 embeds floating around frames[0] will not be correct |
| 16:46 | <Domenic> | Hmm I guess the tests will run in order so I can just use frames[2] and frames[3] |
| 16:46 | <Domenic> | Pretty fragile though |
| 16:47 | <annevk> | Domenic: it seems window[name] might work for <embed> |
| 16:48 | <Domenic> | Ah yeah, it does, I was trying id="" and assuming it would be the same |
| 16:48 | <annevk> | oh wait |
| 16:48 | <annevk> | But that will not return its browsing context I think |
| 16:49 | <annevk> | But maybe if you set window.name, hmm |
| 16:49 | <Domenic> | It seems to work |
| 16:50 | <Domenic> | http://localhost:8080/#dom-window-nameditem-filter bullet 2 |
| 16:50 | <annevk> | maybe "To determine the value of a named property name in a Window object window" needs some work then |
| 16:50 | <Domenic> | Or rather https://html.spec.whatwg.org/#dom-window-nameditem-filter |
| 16:50 | <annevk> | but why would it contain a browsing context? |
| 16:50 | <annevk> | oh wait, it's a child browsing context with a name |
| 16:50 | <Domenic> | Hmm |
| 16:51 | <annevk> | okay |
| 16:51 | <Domenic> | Yeah I think you're right that the spec is wrong... |
| 16:51 | <annevk> | I was thinking named objects would return <embed> but the first bullet applies too |
| 16:51 | <Domenic> | It does? |
| 16:51 | <annevk> | yeah, because <embed> creates a child browsing context |
| 16:51 | <Domenic> | The first bullet is about window.name I thought |
| 16:52 | <Domenic> | Ah no |
| 16:52 | <Domenic> | https://html.spec.whatwg.org/#creating-browsing-contexts:browsing-context-name |
| 16:52 | <Domenic> | I feel dirty |
| 16:52 | <annevk> | hah |
| 16:52 | <annevk> | you're playing with <embed> |
| 16:53 | <Domenic> | I think I blame name="" |
| 16:53 | <Domenic> | Not only does it do weird stuff to the global object of the embedder |
| 16:53 | <Domenic> | It also proxies to setting the window.name |
| 16:53 | <Domenic> | Which is itself a terrible feature |
| 17:11 | <shu> | should WebIDL callbacks be propagating the active script or module for dynamic import? |
| 17:55 | <Domenic> | (answered at https://github.com/tc39/ecma262/pull/2086#issuecomment-656257061) |
| 18:01 | <shu> | ty |
| 23:58 | <shu> | request to bikeshed a name: for incumbents, what do you call the point in time where the incumbent is captured as part of the callback interface type in WebIDL? |
| 23:58 | <shu> | "the time at which it is passed to an API responsible for its eventually being scheduled and run" is a mouthful |
| 23:59 | <shu> | best idea i have so far is "origination" |