https://www.w3.org/Bugs/Public/show_bug.cgi?id=25914

Anne <ann...@annevk.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #28 from Anne <ann...@annevk.nl> ---
Don't check for "parse error", see if the algorithm returns failure.

Also, it may not return a host or port. You should probably check if it's a
relative scheme.

I think you probably just want to parse it and then say something like "return
/parsedURL/'s origin".

But maybe I should just bite the bullet and define origin for all URL schemes
we care about.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to