html5/spec-author-view Overview.html,1.845,1.846 infrastructure.html,1.586,1.587 spec.html,1.853,1.854

Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv24741

Modified Files:
	Overview.html infrastructure.html spec.html 
Log Message:
Revamp how <object> type handling works, as the previous model was getting impenetrable and didn't match _any_ browsers. This one should more or less match Gecko and avoids known security problems with the previous model. Please let me know if you're a browser vendor and cannot implement this for whatever reason. (whatwg r4985)

[updated by splitter]


Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.586
retrieving revision 1.587
diff -u -d -r1.586 -r1.587
--- infrastructure.html	4 Apr 2010 22:47:28 -0000	1.586
+++ infrastructure.html	8 Apr 2010 04:37:50 -0000	1.587
@@ -410,7 +410,11 @@
   rendering of a <code><a href="#document">Document</a></code> object, but that neither acts
   as a <a href="browsers.html#child-browsing-context">child browsing context</a> of the
   <code><a href="#document">Document</a></code> nor introduces any <code><a href="#node">Node</a></code> objects
-  to the <code><a href="#document">Document</a></code>'s DOM.</p><p>Typically such content handlers are provided by third parties,
+  to the <code><a href="#document">Document</a></code>'s DOM.</p><p>A user agent must not consider the types <code>text/plain</code>
+  and <code>application/octet-stream</code> as having a registered
+  <a href="#plugin">plugin</a>.</p><!-- because of the way <object> handles
+  those types, if nothing else (it also doesn't make any sense to have
+  a plugin registered for those types, of course) --><p>Typically such content handlers are provided by third parties,
   though a user agent can designate content handlers to be
   plugins.</p><p class="example">One example of a plugin would be a PDF viewer
   that is instantiated in a <a href="browsers.html#browsing-context">browsing context</a> when the

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.845
retrieving revision 1.846
diff -u -d -r1.845 -r1.846
--- Overview.html	7 Apr 2010 05:17:19 -0000	1.845
+++ Overview.html	8 Apr 2010 04:37:50 -0000	1.846
@@ -287,7 +287,7 @@
    <h1>HTML5 (Author Edition)</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-7-april-2010">Editor's Draft 7 April 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-8-april-2010">Editor's Draft 8 April 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -305,7 +305,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href="spec.html">single page HTML</a>,
     <a href="Overview.html">multipage HTML</a>.
-This is revision 1.4003.
+This is revision 1.4004.
    </p> 
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -394,7 +394,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 7 April 2010 Editor's Draft.
+  This specification is the 8 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   specification</a> published by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.853
retrieving revision 1.854
diff -u -d -r1.853 -r1.854
--- spec.html	7 Apr 2010 05:17:19 -0000	1.853
+++ spec.html	8 Apr 2010 04:37:50 -0000	1.854
@@ -285,7 +285,7 @@
    <h1>HTML5 (Author Edition)</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id=editor-s-draft-7-april-2010>Editor's Draft 7 April 2010</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-8-april-2010>Editor's Draft 8 April 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href=http://www.w3.org/TR/html5/>http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -303,7 +303,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href=spec.html>single page HTML</a>,
     <a href=Overview.html>multipage HTML</a>.
-This is revision 1.4003.
+This is revision 1.4004.
    </p> 
    <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
    © 2010 <a href=http://www.w3.org/><abbr title="World Wide
@@ -392,7 +392,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 7 April 2010 Editor's Draft.
+  This specification is the 8 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href=http://www.whatwg.org/specs/web-apps/current-work/multipage/>a
   specification</a> published by the <a href=http://www.whatwg.org/>WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href=http://www.w3.org/Consortium/Patent-Policy-20040205/>5
@@ -1959,7 +1959,11 @@
   rendering of a <code><a href=#document>Document</a></code> object, but that neither acts
   as a <a href=#child-browsing-context>child browsing context</a> of the
   <code><a href=#document>Document</a></code> nor introduces any <code><a href=#node>Node</a></code> objects
-  to the <code><a href=#document>Document</a></code>'s DOM.</p><p>Typically such content handlers are provided by third parties,
+  to the <code><a href=#document>Document</a></code>'s DOM.</p><p>A user agent must not consider the types <code>text/plain</code>
+  and <code>application/octet-stream</code> as having a registered
+  <a href=#plugin>plugin</a>.</p><!-- because of the way <object> handles
+  those types, if nothing else (it also doesn't make any sense to have
+  a plugin registered for those types, of course) --><p>Typically such content handlers are provided by third parties,
   though a user agent can designate content handlers to be
   plugins.</p><p class=example>One example of a plugin would be a PDF viewer
   that is instantiated in a <a href=#browsing-context>browsing context</a> when the

Received on Thursday, 8 April 2010 04:37:55 UTC