[html5] r3829 - [giow] (2) Handle the situation where a plugin supports a UA-supported type (and [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Sep 13 22:34:13 PDT 2009


Author: ianh
Date: 2009-09-13 22:34:12 -0700 (Sun, 13 Sep 2009)
New Revision: 3829

Modified:
   index
   source
Log:
[giow] (2) Handle the situation where a plugin supports a UA-supported type (and give the UA types priority).

Modified: index
===================================================================
--- index	2009-09-14 05:26:39 UTC (rev 3828)
+++ index	2009-09-14 05:34:12 UTC (rev 3829)
@@ -20434,9 +20434,11 @@
 
         <p>If there is a <code title=attr-object-type><a href=#attr-object-type>type</a></code>
         attribute present on the <code><a href=#the-object-element>object</a></code> element, and that
-        attribute's value is a type that a <a href=#plugin>plugin</a>
-        supports, then let the <var title="">resource type</var> be
-        the type specified in that <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute.</p>
+        attribute's value is not a type that the user agent supports,
+        but it <em>is</em> a type that a <a href=#plugin>plugin</a> supports,
+        then let the <var title="">resource type</var> be the type
+        specified in that <code title=attr-object-type><a href=#attr-object-type>type</a></code>
+        attribute.</p>
 
        </li>
 
@@ -20490,18 +20492,21 @@
      <li><p>Handle the content as given by the first of the following
      cases that matches:</p>
 
-      <dl class=switch><dt>If the <var title="">resource type</var> can be handled by
-       a <a href=#plugin>plugin</a> and <a href=#sandboxPluginObject>plugins aren't being
-       sandboxed</a></dt>
+      <dl class=switch><dt>If the <var title="">resource type</var> is not a type that
+       the user agent supports, but it <em>is</em> a type that a
+       <a href=#plugin>plugin</a> supports</dt>
 
        <dd>
 
-        <p>The user agent <a href=#object-plugin>should use that
-        plugin</a> and pass the content of the resource to that
-        <a href=#plugin>plugin</a>. If the <a href=#plugin>plugin</a> reports an
-        error, then jump to the last step in the overall set of steps
-        (fallback).</p>
+        <p>If <a href=#sandboxPluginObject>plugins are being
+        sandboxed</a>, jump to the last step in the overall set of
+        steps (fallback).</p>
 
+        <p>Otherwise, the user agent should <a href=#object-plugin>use the plugin that supports <var title="">resource type</var></a> and pass the content of the
+        resource to that <a href=#plugin>plugin</a>. If the
+        <a href=#plugin>plugin</a> reports an error, then jump to the last
+        step in the overall set of steps (fallback).</p>
+
        </dd>
 
 

Modified: source
===================================================================
--- source	2009-09-14 05:26:39 UTC (rev 3828)
+++ source	2009-09-14 05:34:12 UTC (rev 3829)
@@ -21905,10 +21905,11 @@
 
         <p>If there is a <code title="attr-object-type">type</code>
         attribute present on the <code>object</code> element, and that
-        attribute's value is a type that a <span>plugin</span>
-        supports, then let the <var title="">resource type</var> be
-        the type specified in that <code
-        title="attr-object-type">type</code> attribute.</p>
+        attribute's value is not a type that the user agent supports,
+        but it <em>is</em> a type that a <span>plugin</span> supports,
+        then let the <var title="">resource type</var> be the type
+        specified in that <code title="attr-object-type">type</code>
+        attribute.</p>
 
        </li>
 
@@ -21971,19 +21972,23 @@
 
       <dl class="switch">
 
-       <dt>If the <var title="">resource type</var> can be handled by
-       a <span>plugin</span> and <a
-       href="#sandboxPluginObject">plugins aren't being
-       sandboxed</a></dt>
+       <dt>If the <var title="">resource type</var> is not a type that
+       the user agent supports, but it <em>is</em> a type that a
+       <span>plugin</span> supports</dt>
 
        <dd>
 
-        <p>The user agent <a href="#object-plugin">should use that
-        plugin</a> and pass the content of the resource to that
-        <span>plugin</span>. If the <span>plugin</span> reports an
-        error, then jump to the last step in the overall set of steps
-        (fallback).</p>
+        <p>If <a href="#sandboxPluginObject">plugins are being
+        sandboxed</a>, jump to the last step in the overall set of
+        steps (fallback).</p>
 
+        <p>Otherwise, the user agent should <a
+        href="#object-plugin">use the plugin that supports <var
+        title="">resource type</var></a> and pass the content of the
+        resource to that <span>plugin</span>. If the
+        <span>plugin</span> reports an error, then jump to the last
+        step in the overall set of steps (fallback).</p>
+
        </dd>
 
 




More information about the Commit-Watchers mailing list