| 11:06 | <MikeSmith> | TabAtkins: for using <wpt> with the HTML spec, we will need some way to override the WPT Path Prefix per-<wpt>-element |
| 11:07 | <MikeSmith> | ... because some tests for the HTML spec are not in the wpt /html top-level directory, but are instead in /2dcontext, /custom-elements, etc |
| 11:07 | <MikeSmith> | https://github.com/web-platform-tests/wpt/tree/master/html#html |
| 11:07 | <MikeSmith> | (has the list) |
| 11:10 | <MikeSmith> | in https://github.com/tabatkins/bikeshed/issues/1116#issue-267243756 I see mention of “Add a test-path-prefix metadata, so you can omit the common parts of your test path. Probably *add an attribute to <test> to let you override that*”, but I guess that attribute doesn’t exist yet? |
| 11:12 | <MikeSmith> | to be clear, I don’t need support for it to be implemented in Bikeshed yet ーinstead all I would need it some decision about what the name of the attribute should be |
| 11:14 | <MikeSmith> | oh bah.. nevermind |
| 11:14 | <MikeSmith> | I need to read the docs more carefully.. |
| 11:15 | <MikeSmith> | I had overlooked https://tabatkins.github.io/bikeshed/#element-attrdef-wpt-pathprefix “an explicit pathprefix attribute can also provide the path prefix, and will override the metadata if specified” |
| 11:15 | <MikeSmith> | (sorry for the noise) |
| 13:57 | <TabAtkins> | 😀 |
| 22:09 | <devsnek> | Domenic: so if the @@asyncIterator method takes all the options |
| 22:09 | <devsnek> | why bother having iterator() |
| 22:10 | <Domenic> | devsnek: Seems better to not make people call symbol-named methods manually |
| 22:10 | <devsnek> | i see the convenience |
| 22:10 | <devsnek> | but do we do this pattern elsewhere |
| 22:11 | <Domenic> | Well, we have .values() === [Symbol.iterator]() in various places |
| 22:11 | <Domenic> | Or .entries() |
| 22:12 | <Domenic> | Seems like the same sort of thing, have a string-named method for real people to call, have a symbol-named method for the for-(await-)of syntax to call |
| 22:12 | <devsnek> | rip being a real person |
| 22:19 | <TabAtkins> | MikeSmith: Oh, missed this question earlier. No, the metadata keys are ASCII case-insensitive. (And generally the values are too, tho it's possible I've missed some conversions.) |
| 23:16 | <MikeSmith> | TabAtkins: ah OK, cool ーthanks |