[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

--- Comment #3 from Hallvord R. M. Steen <hallvord@opera.com> 2011-05-09 00:43:29 UTC ---
Another way to hit the same problem is of course to do 

document.alert=window.alert;
document.alert('If a document pops up an alert and nobody sees it, does it
still pop up?');

-- 
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 Monday, 9 May 2011 00:43:31 UTC