W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13433] Using "Function?" for the on* IDL attribute type doesn't seem to match implementations on setting

From: <bugzilla@jessica.w3.org>
Date: Mon, 01 Aug 2011 21:45:10 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qo0IQ-0001r0-Cd@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13433

--- Comment #15 from Travis Leithead [MSFT] <travil@microsoft.com> 2011-08-01 21:45:09 UTC ---
...the IE behavior I mentined in Comment 7 is happening due to an
implementation-specific binding. The intent of the binding is to store JS
functions, but due to implementation details, it also happens to store the
other types as well.

When an unsupported assignment is made to the IDL attribute, the currently
stored handler is thrown out and the property is re-set back to null.

We made an additional change to IE9 to _not_ support string assignments, which
is a behavior that existed in IE8.

I think we were going for a behavior match with HTML5 at the time.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 1 August 2011 21:45:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 1 August 2011 21:45:17 GMT