[html5] r1839 - [] (0) Allow the origin to include extra data, such as the host's certificate. ( [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jul 1 16:09:40 PDT 2008
Author: ianh
Date: 2008-07-01 16:09:39 -0700 (Tue, 01 Jul 2008)
New Revision: 1839
Modified:
index
source
Log:
[] (0) Allow the origin to include extra data, such as the host's certificate. (credit: el)
Modified: index
===================================================================
--- index 2008-07-01 00:24:01 UTC (rev 1838)
+++ index 2008-07-01 23:09:39 UTC (rev 1839)
@@ -30513,8 +30513,12 @@
<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:
<dl>
@@ -30583,6 +30587,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>
@@ -30803,6 +30813,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>
@@ -52778,9 +52792,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,
@@ -52789,8 +52803,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
Modified: source
===================================================================
--- source 2008-07-01 00:24:01 UTC (rev 1838)
+++ source 2008-07-01 23:09:39 UTC (rev 1839)
@@ -28005,9 +28005,14 @@
<p>The <dfn>origin</dfn> of a resource and the <dfn>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.</p>
+ tuples consisting of a scheme component, a host component, a port
+ component, and optionally extra data.</p>
+ <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>
+
<p>These characteristics are defined as follows:</p>
<dl>
@@ -28079,6 +28084,12 @@
</ol>
+ <p>In addition, if the <span>URL</span> is in fact associated with
+ a <code>Document</code> object that was created by parsing the
+ resource obtained from fetching <span>URL</span>, and this was
+ done over a secure connection, then the server's secure
+ certificate may be added to the origin as additional data.</p>
+
</dd>
<dt>For scripts</dt>
@@ -28322,6 +28333,10 @@
<li><p>If <var title="">A</var> and <var title="">B</var> have port
components that are not identical, return false.</p></li>
+ <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.</p></li>
+
<li><p>Return true.</p></li>
</ol>
@@ -47942,19 +47957,19 @@
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, 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, Jan-Klaas
- Kollhof, Jason White, Jasper Bryant-Greene, Jeff Cutsinger, Jeff
- Walden, Jens Bannmann, Jens Fendler, Jeroen van der Meer, Jim
- Jewett, Jim 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 Lesinski,
+ 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,
+ Jan-Klaas Kollhof, Jason White, Jasper Bryant-Greene, Jeff
+ Cutsinger, Jeff Walden, Jens Bannmann, Jens Fendler, Jeroen van der
+ Meer, Jim Jewett, Jim 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 Lesinski,
黒澤剛志 (KUROSAWA Takeshi), Kristof
Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura
L. Carlson, Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif
More information about the Commit-Watchers
mailing list