Anne has kindly given me access to the directory on the server where the
url.spec lives. I've started to move some of my work there.
Note that the expected results come from:
I'd like to suggest that the following test be added:
And that the expected results be changed on the following tests:
Note: I appear to have direct update access to urltestdata.txt, but I
would appreciate a review before I make any updates.
- - -
I also have a reference implementation I've been working on. First, a
A second interface allows you to override the base:
A third interface allows you to see what happens when you call
Note: while all versions are a work in progress, this is more true for
liveview3 than the others. In particular, this was created today, and
only has href, protocol, and username roughed in at the moment.
The setters also have unit tests:
I'm planning to refactor these tests, separating the test data from the
code so that other libraries and user agents can test against the same
data. Once I do, I'll publish interop test results for these setters too.
As a final note, the reference implementation has a list of known
differences from the published standard:
- Sam Ruby