This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://url.spec.whatwg.org/#concept-uu-query-object The "url" value doesn't seem to get set. It should be set whenever "input" changes, probably?
It gets set when href gets set. Am I missing something or is this a duplicate of bug 20928?
What if "href" is never set?
Then it remains null. The API accounts for that.
I don't understand. Take this example: <a href="/"><script>document.links[0].search = 'test'</script> We never set the href IDL attribute, yet this needs to navigate.
http://krijnhoetmer.nl/irc-logs/whatwg/20130213#l-1175 has additional context. I think I fixed this now with a new "set the input" algorithm as suggested. Leaving open for review. https://github.com/whatwg/url/commit/4253baf9e19e90d59d2188e98eeddb50b7d7ec75
Taking to review and update HTML.
See diff in bug 20072.