Re: [whatwg/url] Make property accessors into owned properties, or at least enumerable (#301)

@annevk: Yeah, I understand that its `href` string value is essentially its serialized form and that is indeed valuable.

The frustration comes when someone wants to find out why 2 URLs are different.  Viewing a difference comparison of strings can be nearly incomprehensible for some people, depending on the number of and types of differences.  The fact that you can break them down into URL objects is fantastic but the fact that those objects are then not easily comparable via normal comparison methods is not so fantastic.  The data is right there waiting to be used but requires custom code, or comparison methods that may be undesirable and inefficient in other situations (i.e. I definitely do not want to compare prototype properties of any plain Array, Object, or primitive data type).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/301#issuecomment-297996487

Received on Friday, 28 April 2017 13:24:18 UTC