Skip to content

Commit

Permalink
[] (0) Allow the origin to include extra data, such as the host's cer…
Browse files Browse the repository at this point in the history
…tificate. (credit: el)

git-svn-id: http://svn.whatwg.org/webapps@1839 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 1, 2008
1 parent 988e39f commit 66433e5
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 21 deletions.
25 changes: 19 additions & 6 deletions index
Expand Up @@ -30513,7 +30513,11 @@ never reset. This is nice and consistent.)
<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:

Expand Down Expand Up @@ -30583,6 +30587,12 @@ never reset. This is nice and consistent.)
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>
Expand Down Expand Up @@ -30802,6 +30812,10 @@ never reset. This is nice and consistent.)
<p>If <var title="">A</var> and <var title="">B</var> have port
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>
Expand Down Expand Up @@ -52778,9 +52792,9 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
David Baron, David Bloom, David Carlisle, David Flanagan, David
H&aring;s&auml;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&eacute;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&eacute;lain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon,
H&aring;kon Wium Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh
Winkler, Ignacio Javier, Ivo Emanuel Gon&ccedil;alves, J. King, Jacques
Distler, James Graham, James Justin Harrell, James M Snell, James Perrett,
Expand All @@ -52789,8 +52803,7 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
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, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof
Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura L. Carlson,
Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif Halvard Silli, Lenny
Expand Down
45 changes: 30 additions & 15 deletions source
Expand Up @@ -28005,8 +28005,13 @@ never reset. This is nice and consistent.)

<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>

Expand Down Expand Up @@ -28079,6 +28084,12 @@ never reset. This is nice and consistent.)

</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>
Expand Down Expand Up @@ -28322,6 +28333,10 @@ never reset. This is nice and consistent.)
<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>
Expand Down Expand Up @@ -47942,19 +47957,19 @@ interface <dfn>TimeoutHandler</dfn> {
David Flanagan, David H&aring;s&auml;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&eacute;lain, Garrett
Smith, Geoffrey Garen, Geoffrey Sneddon, H&aring;kon Wium Lie, Henri
Sivonen, Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo
Emanuel Gon&ccedil;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&eacute;lain,
Garrett Smith, Geoffrey Garen, Geoffrey Sneddon, H&aring;kon Wium
Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh Winkler, Ignacio
Javier, Ivo Emanuel Gon&ccedil;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,
&#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof
Zelechovski, Lachlan Hunt, Larry Page, Lars Gunther, Laura
L. Carlson, Laura Wisewell, Laurens Holst, Lee Kowalkowski, Leif
Expand Down

0 comments on commit 66433e5

Please sign in to comment.