[Bug 12635] calling Functions corresponding to IDL operations/attributes on unexpected objects should throw

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12635

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Cameron McCormack <cam@mcc.id.au> 2011-06-28 03:40:11 UTC ---
(In reply to comment #6)
> Noticed 
> 
> apf.setZeroTimeout=(apf.isIE&&apf.isIE<9)||apf.isO3||apf.isAIR?setTimeout:(function(){
> . .
> 
> in cloud9ide's source. Now, this might simply be breaking browsers they don't
> bother testing in..but if this is actually tested code, it seems having a
> pointer to setTimeout on another object will work in some browsers.

That doesn't appear to work today:
http://people.mozilla.org/~cmccormack/tests/settimeout-this.html

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 28 June 2011 03:40:18 UTC