- From: Alex Russell <slightlyoff@google.com>
- Date: Thu, 7 Feb 2013 09:16:25 -0800
- To: whatwg <whatwg@lists.whatwg.org>
- Cc: Jake Archibald <jakearchibald@google.com>
While using the shiny new URL spec in some API work, I've got a couple of questions, some sparked by Jake's excellent insights: 1. It doesn't appear straightforward to test if two URL objects reference the same path. The serialization algorithm has as flag for omitting the fragment, but not the query. Is there something in the API that I'm missing that would make this easier than custom-serializing 2 URLs to omit queries and then test string equality? 2. The word "search" seems drived from window.location's use of that. Is it only included for compat with window.location? if so, can we drop it and spec window.location to use a subclass that provides it? Thanks.
Received on Thursday, 7 February 2013 17:16:50 UTC