Re: [heycam/webidl] Make the class strings for interface prototype objects and platform objects match. (#577)

tobie commented on this pull request.



> @@ -1076,6 +1076,19 @@ with a [{{NoInterfaceObject}}] [=extended attribute=],
 and [=callback interfaces=] which declare [=constants=]
 must be annotated with an [{{Exposed}}] [=extended attribute=].
 
+<div algorithm>
+
+The <dfn>qualified name</dfn> of an [=interface=] |I| is defined as follows:
+
+1.  Let |interface| be the [=identifier=] of |I|.
+1.  If |I| has a [{{LegacyNamespace}}] [=extended attribute=], then:
+    1.  Let |namespace| be the identifier argument of the [{{LegacyNamespace}}]
+        [=extended attribute=].
+    1.  Return the concatenation of |namespace|, ".", and |interface|.

Maybe link [infra concatenate](https://infra.spec.whatwg.org/#string-concatenate)?

-- 
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/577#pullrequestreview-144005219

Received on Tuesday, 7 August 2018 13:55:52 UTC