W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2014

[whatwg] URL interop status and reference implementation demos

From: Sam Ruby <rubys@intertwingly.net>
Date: Tue, 18 Nov 2014 18:14:07 -0500
Message-ID: <546BD2BF.8060406@intertwingly.net>
To: whatWG <whatwg@whatwg.org>
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 
basic interface:


A second interface allows you to override the base:


A third interface allows you to see what happens when you call 
individual setters:


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
Received on Tuesday, 18 November 2014 23:14:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:26 UTC