ISSUE-126 (isTrusted): Consider changing 'trusted' to 'isTrusted' [DOM3 Events]

2010-09-15 Thread Web Applications Working Group Issue Tracker

ISSUE-126 (isTrusted): Consider changing 'trusted' to 'isTrusted' [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/126

Raised by: Doug Schepers
On product: DOM3 Events

Simon Pieters 
http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0125.html:
[[
Gecko has a property called isTrusted that does the same as trusted, and
seems to be used in the wild. [4][5] Please rename trusted to isTrusted.

[4] http://software.hixie.ch/utilities/js/live-dom-viewer/saved/610
[5] http://www.google.com/codesearch?q=event%5C.isTrusted+lang%3Ajs

]]





Re: ISSUE-126 (isTrusted): Consider changing 'trusted' to 'isTrusted' [DOM3 Events]

2010-09-15 Thread Olli Pettay

On 09/15/2010 08:55 PM, Web Applications Working Group Issue Tracker wrote:


ISSUE-126 (isTrusted): Consider changing 'trusted' to 'isTrusted' [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/126

Raised by: Doug Schepers
On product: DOM3 Events

Simon Pietershttp://lists.w3.org/Archives/Public/www-dom/2010JulSep/0125.html:
[[
Gecko has a property called isTrusted that does the same as trusted, and
seems to be used in the wild. [4][5] Please rename trusted to isTrusted.

[4] http://software.hixie.ch/utilities/js/live-dom-viewer/saved/610
[5] http://www.google.com/codesearch?q=event%5C.isTrusted+lang%3Ajs

]]





IIRC, .trusted was used because XBL2 has that.
But we should probably change both D3E and XBL2 to have isTrusted.


-Olli