[heycam/webidl] Install @@toStringTag on namespace objects (#873)

Follow-up of #357.

This change aligns WebIDL [namespace objects](https://heycam.github.io/webidl/#namespace-object) with ECMA-262 ones like [`Math`](https://tc39.es/ecma262/#sec-math-@@tostringtag) and [`Atomics`](https://tc39.es/ecma262/#sec-atomics-@@tostringtag).

Chrome (84.0.4126.0) already implements this PR:
```js
WebAssembly[Symbol.toStringTag] // => "WebAssembly"
```

_cc_ @domenic
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/873

-- Commit Summary --

  * Install @@toStringTag on namespace objects

-- File Changes --

    M index.bs (2)

-- Patch Links --

https://github.com/heycam/webidl/pull/873.patch
https://github.com/heycam/webidl/pull/873.diff

-- 
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/pull/873

Received on Saturday, 25 April 2020 13:15:34 UTC