hixie: Make document.prototype.onreadystatechange not throw, for compat reasons. (whatwg r6786)

hixie: Make document.prototype.onreadystatechange not throw, for compat
reasons. (whatwg r6786)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5434&r2=1.5435&f=h
http://html5.org/tools/web-apps-tracker?from=6785&to=6786

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5434
retrieving revision 1.5435
diff -u -d -r1.5434 -r1.5435
--- Overview.html 30 Oct 2011 16:17:13 -0000 1.5434
+++ Overview.html 30 Oct 2011 16:53:43 -0000 1.5435
@@ -7794,7 +7794,7 @@
   [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>;
 
   // special <a href="#event-handler-idl-attributes">event handler IDL attributes</a> that only apply to Document objects
-  [TreatNonCallableAsNull] attribute <a href="#function">Function</a>? <a href="#handler-onreadystatechange" title="handler-onreadystatechange">onreadystatechange</a>;
+  [TreatNonCallableAsNull,LenientThis] attribute <a href="#function">Function</a>? <a href="#handler-onreadystatechange" title="handler-onreadystatechange">onreadystatechange</a>;
 };</pre><h4 id="security-document"><span class="secno">3.1.2 </span>Security</h4><p id="security">User agents <span class="impl">must</span> throw a
   <code><a href="#securityerror">SecurityError</a></code> exception whenever any properties of a
   <code><a href="#document">Document</a></code> object are accessed by scripts whose

Received on Sunday, 30 October 2011 16:54:05 UTC