Re: [whatwg/url] remaining variable ambiguity (#308)

I think it's also important to define the behavior of _c_ when the pointer is less than 0.

This scenario happens during the transition between "scheme start state" and "scheme state" at the beginning of the string, where the pointer is set to -1 for the rest of the run. Though _c_ is not checked during this time, it should be clear what would happen if it were.

Should it just act as if it were 0 and point to the first code point? Or should it not reference any code point?

Similarly, if pointer is incremented past the EOF, what does _c_ represent? Does the string end in an infinite number of EOFs? Or just one, with any pointer value after that not referencing any code point?

-- 
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/308#issuecomment-306019449

Received on Sunday, 4 June 2017 05:31:24 UTC