[heycam/webidl] [[Construct]] for legacy platform objects? (#407)

On a page with `#title`:

```js
new document.all('title')
```

In Chrome the snippet returns the same result as `document.all('title')`, while on Firefox the following error is thrown:

```
TypeError: document.all is not a constructor
```

[[Construct]] is technically undefined by this spec right now, so either behavior is strictly speaking acceptable. However, the Chrome behavior doesn't make much sense to me, so I'd like to propose a dedicated section for [[Construct]] saying that it does not exist for legacy platform objects.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/407

Received on Monday, 14 August 2017 15:40:50 UTC