Re: [heycam/webidl] Add an algorithm to create a platform object. (#635)

Ms2ger commented on this pull request.



> @@ -13327,7 +13363,7 @@ Each {{DOMException}} object has an associated <dfn for="DOMException">name</dfn
 The <dfn constructor for="DOMException"><code>DOMException(|message|, |name|)</code></dfn>
 constructor, when invoked, must run these steps:
 
-1. Let |e| be a new {{DOMException}} object.
+1. Let |e| be a [=new=] {{DOMException}} object in {{NewTarget}}'s Realm, with {{NewTarget}}.

I think we can assume that NewTarget is not undefined in a constructor, because of the check in https://heycam.github.io/webidl/#create-an-interface-object ; will consider the rest of your comment next week.

-- 
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/635#discussion_r255153361

Received on Friday, 8 February 2019 16:54:43 UTC