W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 May 2011 01:12:41 +0000
To: public-script-coord@w3.org
Message-Id: <E1QJF1d-0005Ke-Qd@jessica.w3.org>

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
                 CC|                            |bzbarsky@mit.edu

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> 2011-05-09 01:12:41 UTC ---
The other case where this come up is this:

  function f() {
  f.prototype = document;
  var d = new f();
  d.write("What happens here?");

Some UAs throw in this situation; some actually invoke the native write
function on the document.  I would prefer throwing, as the represetative of one
of the UAs which currently does NOT throw here but would like to change that

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 01:12:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC