- From: poot <cvsmail@w3.org>
- Date: Wed, 2 Jul 2008 08:12:23 +0900 (JST)
- To: public-html-diffs@w3.org
Allow the origin to include extra data, such as the host's certificate. (credit: el) (whatwg r1839) (changed by: Ian Hickson) Diffs for this change per section: http://people.w3.org/mike/diffs/html5/spec/Overview.1.1028.html#same-origin http://people.w3.org/mike/diffs/html5/spec/Overview.1.1028.html#acknowledgements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1028.html#effective3 http://people.w3.org/mike/diffs/html5/spec/Overview.1.1028.html#origin0 Current content per affected section: http://dev.w3.org/html5/spec/Overview.html#same-origin http://dev.w3.org/html5/spec/Overview.html#acknowledgements http://dev.w3.org/html5/spec/Overview.html#effective3 http://dev.w3.org/html5/spec/Overview.html#origin0 Previously published WD content per affected section: http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#same-origin http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#acknowledgements http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#effective3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#origin0 Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1027&r2=1.1028&f=h http://html5.org/tools/web-apps-tracker?from=1838&to=1839 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1027 retrieving revision 1.1028 diff -u -d -r1.1027 -r1.1028 --- Overview.html 1 Jul 2008 00:25:37 -0000 1.1027 +++ Overview.html 1 Jul 2008 23:09:49 -0000 1.1028 @@ -30617,7 +30617,11 @@ <p>The <dfn id=origin0>origin</dfn> of a resource and the <dfn id=effective3>effective script origin</dfn> of a resource are both either opaque identifiers or tuples consisting of a scheme component, a host - component, and a port component. + component, a port component, and optionally extra data. + + <p class=note>The extra data could include the certificate of the site when + using encrypted connections, to ensure that if the site's secure + certificate changes, the origin is considered to change as well. <p>These characteristics are defined as follows: @@ -30687,6 +30691,12 @@ title="">host</var>, <var title="">port</var>). </ol> + <p>In addition, if the <a href="#url">URL</a> is in fact associated with + a <code>Document</code> object that was created by parsing the resource + obtained from fetching <a href="#url">URL</a>, and this was done over a + secure connection, then the server's secure certificate may be added to + the origin as additional data.</p> + <dt>For scripts <dd> @@ -30907,6 +30917,10 @@ components that are not identical, return false. <li> + <p>If either <var title="">A</var> or <var title="">B</var> have + additional data, but that data is not identical for both, return false. + + <li> <p>Return true. </ol> @@ -52882,9 +52896,9 @@ David Baron, David Bloom, David Carlisle, David Flanagan, David Håsäther, David Hyatt, Dean Edridge, Debi Orton, Derek Featherstone, DeWitt Clinton, Dimitri Glazkov, dolphinling, Doron - Rosenberg, Doug Kramer, Eira Monstad, Elliotte Harold, Erik Arvidsson, - Evan Martin, Evan Prodromou, fantasai, Felix Sasaki, Franck 'Shift' - Quélain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon, + Rosenberg, Doug Kramer, Eira Monstad, Elliotte Harold, Eric Law, Erik + Arvidsson, Evan Martin, Evan Prodromou, fantasai, Felix Sasaki, Franck + 'Shift' Quélain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon, Håkon Wium Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel Gonçalves, J. King, Jacques Distler, James Graham, James Justin Harrell, James M Snell, James Perrett, @@ -52893,8 +52907,7 @@ Meehan, Joe Clark, Jjgod Jiang, Joel Spolsky, Johan Herland, John Boyer, John Bussjaeger, John Harding, Johnny Stenback, Jon Perlow, Jonathan Worent, Jorgen Horstink, Josh Levenberg, Joshua Randall, Jukka K. Korpela, - Julian Reschke, Kai Hendry, <!-- Keryx - Web, = Lars Gunther --> Kornel + Julian Reschke, Kai Hendry, <!-- Keryx Web, = Lars Gunther --> Kornel Lesinski, 黒澤剛志 (KUROSAWA Takeshi), Kristof Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura L. Carlson, Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif Halvard Silli, Lenny
Received on Tuesday, 1 July 2008 23:13:02 UTC