[html5] r4934 - [giow] (2) Make IDL setters of enumerated attributes not throw an exception but [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Mar 31 19:31:59 PDT 2010


Author: ianh
Date: 2010-03-31 19:31:57 -0700 (Wed, 31 Mar 2010)
New Revision: 4934

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make IDL setters of enumerated attributes not throw an exception but instead pass invalid values through unmodified.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9227

Modified: complete.html
===================================================================
--- complete.html	2010-04-01 01:21:32 UTC (rev 4933)
+++ complete.html	2010-04-01 02:31:57 UTC (rev 4934)
@@ -6148,8 +6148,8 @@
   the conforming value associated with the state that the attribute
   would be in if set to the given new value, otherwise, if the new
   value is the empty string, then the content attribute must be
-  removed, otherwise, the setter must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
-  exception.</p>
+  removed, otherwise, the content attribute must be set to the given
+  new value.</p>
 
   <p>If a reflecting IDL attribute is a <code>DOMString</code> but
   doesn't fall into any of the above categories, then the getting and

Modified: index
===================================================================
--- index	2010-04-01 01:21:32 UTC (rev 4933)
+++ index	2010-04-01 02:31:57 UTC (rev 4934)
@@ -6046,8 +6046,8 @@
   the conforming value associated with the state that the attribute
   would be in if set to the given new value, otherwise, if the new
   value is the empty string, then the content attribute must be
-  removed, otherwise, the setter must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
-  exception.</p>
+  removed, otherwise, the content attribute must be set to the given
+  new value.</p>
 
   <p>If a reflecting IDL attribute is a <code>DOMString</code> but
   doesn't fall into any of the above categories, then the getting and

Modified: source
===================================================================
--- source	2010-04-01 01:21:32 UTC (rev 4933)
+++ source	2010-04-01 02:31:57 UTC (rev 4934)
@@ -5693,8 +5693,8 @@
   the conforming value associated with the state that the attribute
   would be in if set to the given new value, otherwise, if the new
   value is the empty string, then the content attribute must be
-  removed, otherwise, the setter must raise a <code>SYNTAX_ERR</code>
-  exception.</p>
+  removed, otherwise, the content attribute must be set to the given
+  new value.</p>
 
   <p>If a reflecting IDL attribute is a <code>DOMString</code> but
   doesn't fall into any of the above categories, then the getting and




More information about the Commit-Watchers mailing list