[heycam/webidl] fix: Only install `@@toStringTag` on the prototype (#860)

Supersedes and closes #357

---

This matches the behaviour of **Chromium**, **WebIDL2JS** and the pre‑**ES2015** `[[Class]]` internal slot, which is still used in **Firefox** and **WebKit**.
You can view, comment on, or merge this pull request online at:

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


-- Commit Summary --

  * fix: Only install `@@toStringTag` on the prototype

-- File Changes --

    M index.bs (9)

-- Patch Links --

https://github.com/heycam/webidl/pull/860.patch

https://github.com/heycam/webidl/pull/860.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/860

Received on Thursday, 19 March 2020 15:14:58 UTC