Re: A URL API

On Sun, Sep 19, 2010 at 10:50 PM, Darin Fisher <darin@chromium.org> wrote:
> On Sun, Sep 19, 2010 at 10:41 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>>  * A getCommonBaseSpec() method that will take two URIs and return a
>>    URI string they could both be relative to, if any.
>>  * A getRelativeSpec() method that takes two URIs and returns a
>>    string that represents one as a relative URI relative to the
>>    other (if this is possible).
>
> ^^^ these are convenient

I haven't added these yet, but I certainly wouldn't rule out adding
them in the future.

Adam

Received on Wednesday, 22 September 2010 07:56:39 UTC