[html5] r6874 - [giow] (3) Change atob() to ignore whitespace. This is a potentially breaking ch [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 14 16:44:22 PST 2011


Author: ianh
Date: 2011-12-14 16:44:21 -0800 (Wed, 14 Dec 2011)
New Revision: 6874

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Change atob() to ignore whitespace. This is a potentially breaking change, but Opera has implemented it for a while and doesn't seem to have had any problems resulting.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2011-12-14 23:52:33 UTC (rev 6873)
+++ complete.html	2011-12-15 00:44:21 UTC (rev 6874)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 14 December 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 15 December 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -68497,12 +68497,17 @@
    (4.0b8). WebKit is somewhat laxer, and Opera throws no exceptions
    at all. gsnedders reports Opera's behavior causes site-compat
    problems, and I figure most sites depend on Firefox if on anything,
-   so go with that. --><li><p>Let <var title="">input</var> be the string being
+   so go with that. --><!-- Since updated to drop whitespace, based on the arguments here:
+      http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031613.html
+   --><li><p>Let <var title="">input</var> be the string being
    parsed.</li>
 
    <li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
    string.</li>
 
+   <li><p>Remove all <a href=#space-character title="space character">space
+   characters</a> from <var title="">input</var>.</li>
+
    <li><p>If the length of <var title="">input</var> divides by 4
    leaving no remainder, then: if <var title="">input</var> ends with
    one or two U+003D EQUALS SIGN (=) characters, remove them from <var title="">input</var>.</li>

Modified: index
===================================================================
--- index	2011-12-14 23:52:33 UTC (rev 6873)
+++ index	2011-12-15 00:44:21 UTC (rev 6874)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 14 December 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 15 December 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -68497,12 +68497,17 @@
    (4.0b8). WebKit is somewhat laxer, and Opera throws no exceptions
    at all. gsnedders reports Opera's behavior causes site-compat
    problems, and I figure most sites depend on Firefox if on anything,
-   so go with that. --><li><p>Let <var title="">input</var> be the string being
+   so go with that. --><!-- Since updated to drop whitespace, based on the arguments here:
+      http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031613.html
+   --><li><p>Let <var title="">input</var> be the string being
    parsed.</li>
 
    <li><p>Let <var title="">position</var> be a pointer into <var title="">input</var>, initially pointing at the start of the
    string.</li>
 
+   <li><p>Remove all <a href=#space-character title="space character">space
+   characters</a> from <var title="">input</var>.</li>
+
    <li><p>If the length of <var title="">input</var> divides by 4
    leaving no remainder, then: if <var title="">input</var> ends with
    one or two U+003D EQUALS SIGN (=) characters, remove them from <var title="">input</var>.</li>

Modified: source
===================================================================
--- source	2011-12-14 23:52:33 UTC (rev 6873)
+++ source	2011-12-15 00:44:21 UTC (rev 6874)
@@ -80124,6 +80124,10 @@
    problems, and I figure most sites depend on Firefox if on anything,
    so go with that. -->
 
+   <!-- Since updated to drop whitespace, based on the arguments here:
+      http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-May/031613.html
+   -->
+
    <li><p>Let <var title="">input</var> be the string being
    parsed.</p></li>
 
@@ -80131,6 +80135,9 @@
    title="">input</var>, initially pointing at the start of the
    string.</p></li>
 
+   <li><p>Remove all <span title="space character">space
+   characters</span> from <var title="">input</var>.</p></li>
+
    <li><p>If the length of <var title="">input</var> divides by 4
    leaving no remainder, then: if <var title="">input</var> ends with
    one or two U+003D EQUALS SIGN (=) characters, remove them from <var




More information about the Commit-Watchers mailing list