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

Yes, I'm just stating that there're easy ways to do things. I've also written [isur](https://npmjs.com/isurl) to handle expected properties:
```js
if (isURL.lenient(url1) && isURL.lenient(url2)) {
  return url1.href === url2.href;
}
```

I can understand where you're coming from with this, though, as you want:
```js
o={}; Object.defineProperty(o, 'p', { get:()=>'v', enumerable:true }); Object.keys(o)
//-> ['p']
```

... which ES2015 classes do not do. I think that your issue may need to be brought up with ECMA and not WHATWG?

-- 
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-298003102

Received on Friday, 28 April 2017 13:51:39 UTC