W3C home > Mailing lists > Public > public-secondscreen@w3.org > September 2016

Re: [presentation-api] PresentationRequest constructor uses entry settings object, but it probably shouldn't

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Sep 2016 03:13:01 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-249755585-1474945979-sysbot+gh@w3.org>
You want current settings object here. Quoting from the link in the 

> In general, web platform specifications should use the relevant 
concept, applied to the object being operated on (usually the this 
value of the current method). This mismatches the JavaScript 
specification, where current is generally used as the default (e.g. in
 determining the JavaScript realm whose Array constructor should be 
used to construct the result in Array.prototype.map). But this 
inconsistency is so embedded in the platform that we have to accept it
 going forward.
> **Note that in constructors, where there is no this value yet, the 
current concept is the appropriate default.**

GitHub Notification of comment by domenic
Please view or discuss this issue at 
 using your GitHub account
Received on Tuesday, 27 September 2016 03:13:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:19:01 UTC