| 00:14 | <GPHemsley> | \example\..\demo/.\ |
| 00:15 | <GPHemsley> | what is the domain supposed to be on that, according to URL? |
| 00:15 | <GPHemsley> | sorry, host |
| 00:52 | <MikeSmith> | GPHemsley: https://quuz.org/url/liveview.html#\example\..\demo/.\ |
| 00:53 | <GPHemsley> | lovely, thank you |
| 00:54 | <GPHemsley> | wait, that automatically uses the current URL as the base? |
| 00:54 | <GPHemsley> | I should have specified, I'm looking for the raw output from "basic URL parser" |
| 00:55 | <MikeSmith> | that is it |
| 00:55 | <MikeSmith> | there is no URL without a base |
| 00:56 | <MikeSmith> | there it just uses https://quuz.org as the base |
| 00:56 | <MikeSmith> | but you can replace that with whatever other base you want |
| 00:56 | <GPHemsley> | how? |
| 00:56 | <MikeSmith> | conceptually |
| 00:57 | <MikeSmith> | it is arbitrary |
| 00:57 | <GPHemsley> | the algorithm acts differently when there is no base |
| 00:57 | <MikeSmith> | yeah it fails |
| 00:57 | <MikeSmith> | because it must have a base |
| 00:58 | <MikeSmith> | anyway the only relevant information to discern from that string is what path it would produce |
| 00:58 | <GPHemsley> | I'm trying to debug my implementation |
| 00:59 | <MikeSmith> | which https://quuz.org/url/liveview.html#\example\..\demo/.\ tells you |
| 00:59 | <MikeSmith> | I see |
| 00:59 | <MikeSmith> | well I don’t see how you can implement anything without evaluating the input string against a base |
| 00:59 | <GPHemsley> | again, base can be null |
| 01:00 | <GPHemsley> | and the algorithm acts differently when it is |
| 01:01 | <GPHemsley> | but ok, I guess I understand what you're saying |
| 01:01 | <MikeSmith> | OK yeah well I don’t know any other tools that let you test what happens with some input string in the base=null case |
| 01:01 | <GPHemsley> | I think my actual problem is in "host parser" |
| 01:02 | <GPHemsley> | so I'm trying to figure out what the return value for that is expected to be |
| 01:02 | <GPHemsley> | in this case |
| 01:05 | <GPHemsley> | in order for the "basic URL parser" to know to use the base URL's host, it has to determine that the URL doesn't have a valid host |
| 01:05 | <GPHemsley> | and my implementation seems to have a problem with doing that in this case |
| 06:26 | <annevk> | GPHemsley: if base is null you get failure for that input |
| 06:26 | <GPHemsley> | annevk: For which algorithm? |
| 07:25 | <annevk> | GPHemsley: URL parser |
| 10:42 | <JoWie> | I notice that a lot of browsers skip the capture phase during event dispatching in certain specific situations. this is not specced anywhere right? |
| 11:06 | <nox> | JoWie: Do you have a sample? |
| 11:08 | <JoWie> | img.dispatchEvent(new Event('load')) vs img.dispatchEvent(new Event('foo')) |
| 11:08 | <JoWie> | the first one only seems to handle the AT phase |
| 11:09 | <JoWie> | in firefox and chrome |
| 11:10 | <JoWie> | however if the load event is triggerd by the browser isTrusted, it does enter the capture phase |
| 11:10 | <JoWie> | i'm just wondering if this is against the spec or that i'm missing something |
| 11:12 | <nox> | JoWie: Is your listener's capture flag set to true? |
| 11:12 | <JoWie> | yep |
| 11:12 | <nox> | No idea then, can't find anything in the spec. :) |
| 11:12 | <JoWie> | i log both with and without |
| 11:12 | <JoWie> | yea that's what i thought |
| 11:13 | <JoWie> | i've noticed a lot of spec violations with event handling before, perhaps i should add some WPT's |
| 13:50 | <annevk> | JoWie: for load the Window object has a special case |
| 13:51 | <annevk> | JoWie: does not explain the isTrusted thing though, so maybe file a bug against DOM |
| 13:55 | <JoWie> | so the process nowadays is to file a DOM bug? not at each browser vendor? |
| 13:55 | <JoWie> | or HTML, etc |
| 14:15 | <annevk> | JoWie: depends on the bug, but this kind of mismatch prolly needs investigation |
| 14:16 | <JoWie> | ah sure |
| 14:16 | <annevk> | JoWie: and if browsers are consistent it seems best to start with the standard |
| 14:35 | <GPHemsley> | annevk: I need to know what happens for "host parser" |
| 14:40 | <annevk> | GPHemsley: would reject on the slashes iirc |
| 14:40 | <GPHemsley> | so return failure? |
| 15:58 | <annevk> | GPHemsley: hai |
| 15:58 | GPHemsley | waves |
| 17:08 | <JoWie> | annevk: my issue indeed only occurs for when i add the listener to the window. so i guess it's in the spec after all |
| 17:22 | <JoWie> | the isTrusted thing was incorrect |
| 19:09 | <GPHemsley> | annevk: I assume you've figured out by now that I've spent the week creating an implementation of URL in Perl. :) |
| 19:12 | <GPHemsley> | 800/849 tests passing, so almost there |
| 20:58 | <annevk> | GPHemsley: cool, I'm on vacation so haven't been keeping track of things |
| 23:30 | <GPHemsley> | annevk: When do you come back? |
| 23:31 | <GPHemsley> | (this is apparently what I do when *I'm* on vacation) |