- From: Matt Falkenhagen <notifications@github.com>
- Date: Tue, 13 Feb 2018 15:56:49 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 13 February 2018 23:57:28 UTC
Thanks but I'm still not sure what the spec is saying. Let's run the basic URL parser where `input`="" and `base`="https://www.example.com". Here's my reading: After step 1, `url` is a new URL. After step 10. "Let `pointer` be a pointer to first code point in `input`.", `pointer` points to EOF. In step 11. we enter the state machine at "scheme start state". `c` is undefined, so we set state to "no scheme state" and decrease `pointer` by one. Now the state machine step is over, so increase `pointer` by one and continue. `pointer` is again pointing to EOF, so the state machine is done. So we return `url`, which is a new URL. Is that correct as-written, and as-intended? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/373#issuecomment-365446966
Received on Tuesday, 13 February 2018 23:57:28 UTC