Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define top level origin of a document #4966

Merged
merged 37 commits into from
Mar 11, 2020
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
16041a9
Added top level origin definition
shivanigithub Oct 3, 2019
62eb0c6
Change link for navigation
shivanigithub Oct 3, 2019
b4981d0
Fixed parse error
shivanigithub Oct 3, 2019
f484159
Adding top level origin in the navigation section
shivanigithub Oct 10, 2019
e7f6f3e
reverted newline change
shivanigithub Oct 10, 2019
da502cf
Removing trailing whitespace
shivanigithub Oct 10, 2019
3b5fa11
Adding top level origin to environment settings
shivanigithub Oct 24, 2019
52e2d54
Added top-level origin to settings object definition
shivanigithub Oct 25, 2019
f83487d
Feedback
shivanigithub Nov 19, 2019
8d095e0
dfn for top-level origin fixed
shivanigithub Nov 19, 2019
890c4d2
return the var top-level origin
shivanigithub Nov 19, 2019
3bceaf6
Fix some formatting nits
domenic Nov 20, 2019
7b38330
top level origin made mandatory argument and added for workers
shivanigithub Dec 3, 2019
78fc264
fixed parse error
shivanigithub Dec 3, 2019
fbf9e59
format nits
shivanigithub Dec 3, 2019
2c35783
Typographical and grammar fixes
domenic Dec 4, 2019
d464974
feedback
shivanigithub Dec 17, 2019
aa0e97f
Lazy computation of top-level origin
shivanigithub Jan 13, 2020
e135536
Lazy computation of top-level origin
shivanigithub Jan 13, 2020
50ebf05
feedback
shivanigithub Jan 14, 2020
d239858
Small tweaks
domenic Jan 14, 2020
7f63f1e
Return null if discarded
shivanigithub Jan 23, 2020
5915bb0
feedback
shivanigithub Jan 23, 2020
318b1f1
Revert "feedback"
shivanigithub Jan 29, 2020
9d4d898
Revert "Return null if discarded"
shivanigithub Jan 29, 2020
1a22388
Revert "Small tweaks"
shivanigithub Jan 29, 2020
ab45aff
Revert "feedback"
shivanigithub Jan 29, 2020
fcb7d6a
Revert "Lazy computation of top-level origin"
shivanigithub Jan 29, 2020
1451bcf
Revert "Lazy computation of top-level origin"
shivanigithub Jan 29, 2020
0d3ca3a
intended top level browsing context
shivanigithub Feb 12, 2020
a2b7b8f
removing determining the top-level origin
shivanigithub Feb 13, 2020
067bba7
Numbering formatting
shivanigithub Feb 13, 2020
2a84963
parse error fix
shivanigithub Feb 13, 2020
ba3f160
Nits
domenic Feb 18, 2020
89e1fe2
feedback
shivanigithub Mar 8, 2020
bcdd0e9
add back the definition of topLevelBrowsingContext
shivanigithub Mar 9, 2020
7fe83d1
Export "obtaining an agent cluster key" too
domenic Mar 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding top level origin to environment settings
  • Loading branch information
shivanigithub committed Oct 24, 2019
commit 3b5fa11a296aa786717eea667966d9ac0a474a53
34 changes: 21 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -78367,18 +78367,6 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
<li><p>Return <var>url</var>'s <span data-x="concept-url-origin">origin</span>.</p></li>
</ol>

<p> To <dfn data-x="determining the top level origin">determine the top level origin</dfn>,
given <span>browsing context</span> <var>browsingContext</var>:</p>

<ol>
<li><p>If the browsingContext is a <span>top-level browsing context</span>, then return the
result of <span>determining the origin </span>.</p></li>

<li><p>If the browsingContext is a <span>child browsing context</span>, then return the result
of <span>determining the origin</span> of the browsingContext's <span>top-level browsing context
</span>.</p></li>
</ol>

<p>To <dfn data-x="creating a new browsing context">create a new browsing context</dfn>, given
null or a <code>Document</code> object <var>creator</var> and <span>browsing context group</span>
<var>group</var>:</p>
shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
Expand Down Expand Up @@ -78426,8 +78414,19 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
</ul>
</li>

<li><p>Let <var>top-level origin</var> be the result of determining the origin given
shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
<var>browsingContext</var>:
<ul>
<li><p>If <var>browsingContext</var> is a <span>top-level browsing context</span>, then return
shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
<var>origin</var>.</p></li>

<li><p>If <var>browsingContext</var> is a <span>child browsing context</span>, then return the
result of <span>determining the origin</span> of the <span>top-level browsing context</span> of
<var>browsingContext</var>.</p></li>
</ul>

<li><p><span>Set up a window environment settings object</span> with <var>realm execution
context</var>, and let <var>settingsObject</var> be the result.</p></li>
context</var>, <var>top-level origin</var> and let <var>settingsObject</var> be the result.</p></li>
domenic marked this conversation as resolved.
Show resolved Hide resolved

shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
<li><p>Let <var>document</var> be a new <code>Document</code>, marked as an <span data-x="HTML
documents">HTML document</span> in <span>quirks mode</span>, whose <span
Expand Down Expand Up @@ -88297,6 +88296,15 @@ interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {

</dd>

<dt>A <dfn data-x="concept-settings-object-top-level-origin" data-export=""
data-dfn-for="environment settings object">top-level origin</dfn></dt>

<dd>

<p>A <span>top-level origin</span> used in security checks.</p>

</dd>

<dt>An <dfn data-export="" data-dfn-for="environment settings object">HTTPS state</dfn></dt>

<dd><p>An <span>HTTPS state value</span> representing the security properties of the network
shivanigithub marked this conversation as resolved.
Show resolved Hide resolved
Expand Down