[html5] r6786 - [giow] (2) Make document.prototype.onreadystatechange not throw, for compat reas [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Oct 30 09:49:23 PDT 2011


Author: ianh
Date: 2011-10-30 09:49:22 -0700 (Sun, 30 Oct 2011)
New Revision: 6786

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make document.prototype.onreadystatechange not throw, for compat reasons.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14037

Modified: complete.html
===================================================================
--- complete.html	2011-10-30 16:12:52 UTC (rev 6785)
+++ complete.html	2011-10-30 16:49:22 UTC (rev 6786)
@@ -9350,7 +9350,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>
 
 

Modified: index
===================================================================
--- index	2011-10-30 16:12:52 UTC (rev 6785)
+++ index	2011-10-30 16:49:22 UTC (rev 6786)
@@ -9350,7 +9350,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>
 
 

Modified: source
===================================================================
--- source	2011-10-30 16:12:52 UTC (rev 6785)
+++ source	2011-10-30 16:49:22 UTC (rev 6786)
@@ -9381,7 +9381,7 @@
   [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-onwaiting">onwaiting</span>;
 
   // special <span>event handler IDL attributes</span> that only apply to Document objects
-  [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-onreadystatechange">onreadystatechange</span>;
+  [TreatNonCallableAsNull,LenientThis] attribute <span>Function</span>? <span title="handler-onreadystatechange">onreadystatechange</span>;
 };</pre>
 
 




More information about the Commit-Watchers mailing list