Re: [heycam/webidl] Add [InNamespace] to allow defining an interface in a namespace (#425)

Historically, WebAssembly seems to have somehow skipped the WebIDL formalization and TAG review before shipping ([blink-dev Intent to Ship thread](https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/6iqiskBdDQE)), so it recently got out of the door with these namespaces. It has now be shipping in Chrome for around six months, and has also shipped in Firefox. At this point, it could be a risk to web compatibility to change the API to be anything but namespaced.

The issue that @TimothyGu raises sort of comes up in practice already: Between WebAssembly and HTML, there are two interfaces called `Table`. Bikeshed seems to be able to disambiguate just fine [in the draft WebAssembly/JS spec](https://littledan.github.io/spec/document/JS.html), but I'm not sure if this could create some sort of problem in the future. @tobie 's syntax could get around this issue.

-- 
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/425#issuecomment-324854083

Received on Friday, 25 August 2017 08:17:13 UTC