[html5] r7873 - [giow] (2) Allow data: URLs to be given download='' attribute names. Fixing http [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 30 15:05:55 PDT 2013


Author: ianh
Date: 2013-05-30 15:05:54 -0700 (Thu, 30 May 2013)
New Revision: 7873

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Allow data: URLs to be given download='' attribute names.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21505
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-05-30 21:59:36 UTC (rev 7872)
+++ complete.html	2013-05-30 22:05:54 UTC (rev 7873)
@@ -57864,18 +57864,18 @@
    then let <var title="">filename</var> have the value specified by
    the header, and jump to the step labeled <i>sanitize</i> below. <a href=#refsRFC6266>[RFC6266]</a></li>
 
-   <li><p>Let <var title="">resource origin</var> be the
-   <a href=#origin>origin</a> of the resource being downloaded.</li>
+   <li><p>Let <var title="">interface origin</var> be the <a href=#origin>origin</a> of the
+   <code><a href=#document>Document</a></code> in which the <a href=#downloading-hyperlinks title="downloading hyperlinks">download</a> or
+   <a href=#navigate>navigate</a> action resulting in the download was initiated, if any.</li>
 
-   <li><p>Let <var title="">interface origin</var> be the
-   <a href=#origin>origin</a> of the <code><a href=#document>Document</a></code> in which the <a href=#downloading-hyperlinks title="downloading hyperlinks">download</a> or
-   <a href=#navigate>navigate</a> action resulting in the download was
-   initiated, if any.</li>
+   <li><p>Let <var title="">resource origin</var> be the <a href=#origin>origin</a> of the URL of the
+   resource being downloaded, unless that URL's <a href=#concept-url-scheme title=concept-url-scheme>scheme</a>
+   component is <code title="">data</code>, in which case let <var title="">resource origin</var> be
+   the same as the <var title="">interface origin</var>, if any.</li>
 
-   <li><p>If there is no <var title="">interface origin</var>, then
-   let <var title="">trusted operation</var> be true. Otherwise, let
-   <var title="">trusted operation</var> be true if <var title="">resource origin</var> is the <a href=#same-origin>same origin</a> as
-   <var title="">interface origin</var>, and false otherwise.</li>
+   <li><p>If there is no <var title="">interface origin</var>, then let <var title="">trusted
+   operation</var> be true. Otherwise, let <var title="">trusted operation</var> be true if <var title="">resource origin</var> is the <a href=#same-origin>same origin</a> as <var title="">interface
+   origin</var>, and false otherwise.</li>
 
    <li><p>If <var title="">trusted operation</var> is true and the          <!-- Content-Disposition: *; filename="" overrides download="" for same-origin -->
    resource has a <code title=http-content-disposition>Content-Disposition</code> header

Modified: index
===================================================================
--- index	2013-05-30 21:59:36 UTC (rev 7872)
+++ index	2013-05-30 22:05:54 UTC (rev 7873)
@@ -57864,18 +57864,18 @@
    then let <var title="">filename</var> have the value specified by
    the header, and jump to the step labeled <i>sanitize</i> below. <a href=#refsRFC6266>[RFC6266]</a></li>
 
-   <li><p>Let <var title="">resource origin</var> be the
-   <a href=#origin>origin</a> of the resource being downloaded.</li>
+   <li><p>Let <var title="">interface origin</var> be the <a href=#origin>origin</a> of the
+   <code><a href=#document>Document</a></code> in which the <a href=#downloading-hyperlinks title="downloading hyperlinks">download</a> or
+   <a href=#navigate>navigate</a> action resulting in the download was initiated, if any.</li>
 
-   <li><p>Let <var title="">interface origin</var> be the
-   <a href=#origin>origin</a> of the <code><a href=#document>Document</a></code> in which the <a href=#downloading-hyperlinks title="downloading hyperlinks">download</a> or
-   <a href=#navigate>navigate</a> action resulting in the download was
-   initiated, if any.</li>
+   <li><p>Let <var title="">resource origin</var> be the <a href=#origin>origin</a> of the URL of the
+   resource being downloaded, unless that URL's <a href=#concept-url-scheme title=concept-url-scheme>scheme</a>
+   component is <code title="">data</code>, in which case let <var title="">resource origin</var> be
+   the same as the <var title="">interface origin</var>, if any.</li>
 
-   <li><p>If there is no <var title="">interface origin</var>, then
-   let <var title="">trusted operation</var> be true. Otherwise, let
-   <var title="">trusted operation</var> be true if <var title="">resource origin</var> is the <a href=#same-origin>same origin</a> as
-   <var title="">interface origin</var>, and false otherwise.</li>
+   <li><p>If there is no <var title="">interface origin</var>, then let <var title="">trusted
+   operation</var> be true. Otherwise, let <var title="">trusted operation</var> be true if <var title="">resource origin</var> is the <a href=#same-origin>same origin</a> as <var title="">interface
+   origin</var>, and false otherwise.</li>
 
    <li><p>If <var title="">trusted operation</var> is true and the          <!-- Content-Disposition: *; filename="" overrides download="" for same-origin -->
    resource has a <code title=http-content-disposition>Content-Disposition</code> header

Modified: source
===================================================================
--- source	2013-05-30 21:59:36 UTC (rev 7872)
+++ source	2013-05-30 22:05:54 UTC (rev 7873)
@@ -64290,20 +64290,19 @@
    the header, and jump to the step labeled <i>sanitize</i> below. <a
    href="#refsRFC6266">[RFC6266]</a></p></li>
 
-   <li><p>Let <var title="">resource origin</var> be the
-   <span>origin</span> of the resource being downloaded.</p></li>
+   <li><p>Let <var title="">interface origin</var> be the <span>origin</span> of the
+   <code>Document</code> in which the <span title="downloading hyperlinks">download</span> or
+   <span>navigate</span> action resulting in the download was initiated, if any.</p></li>
 
-   <li><p>Let <var title="">interface origin</var> be the
-   <span>origin</span> of the <code>Document</code> in which the <span
-   title="downloading hyperlinks">download</span> or
-   <span>navigate</span> action resulting in the download was
-   initiated, if any.</p></li>
+   <li><p>Let <var title="">resource origin</var> be the <span>origin</span> of the URL of the
+   resource being downloaded, unless that URL's <span title="concept-url-scheme">scheme</span>
+   component is <code title="">data</code>, in which case let <var title="">resource origin</var> be
+   the same as the <var title="">interface origin</var>, if any.</p></li>
 
-   <li><p>If there is no <var title="">interface origin</var>, then
-   let <var title="">trusted operation</var> be true. Otherwise, let
-   <var title="">trusted operation</var> be true if <var
-   title="">resource origin</var> is the <span>same origin</span> as
-   <var title="">interface origin</var>, and false otherwise.</p></li>
+   <li><p>If there is no <var title="">interface origin</var>, then let <var title="">trusted
+   operation</var> be true. Otherwise, let <var title="">trusted operation</var> be true if <var
+   title="">resource origin</var> is the <span>same origin</span> as <var title="">interface
+   origin</var>, and false otherwise.</p></li>
 
    <li><p>If <var title="">trusted operation</var> is true and the          <!-- Content-Disposition: *; filename="" overrides download="" for same-origin -->
    resource has a <code




More information about the Commit-Watchers mailing list