-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend environment concept #2004
Changes from all commits
5a1ef04
69f75c3
e1ced39
ed8576e
655c603
de7dde4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76515,8 +76515,8 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> { | |
</ul> | ||
</li> | ||
|
||
<li><p><span>Set up a browsing context environment settings object</span> with | ||
<var>realm execution context</var>.</p></li> | ||
<li><p><span>Set up a browsing context environment settings object</span> with <var>realm | ||
execution context</var>, and let <var>settingsObject</var> be the result.</p></li> | ||
|
||
<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 | ||
|
@@ -76560,6 +76560,9 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> { | |
|
||
<li><p><span>Implement the sandboxing</span> for <var>document</var>.</p></li> | ||
|
||
<li><p>Set <var>settingsObject</var>'s <span | ||
data-x="concept-environment-execution-ready-flag">execution ready flag</span>.</p></li> | ||
|
||
<li><p>Add <var>document</var> to <var>browsingContext</var>'s <span>session | ||
history</span>.</p></li> | ||
|
||
|
@@ -81795,6 +81798,9 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O | |
|
||
<li><p><span>Implement the sandboxing</span> for the <code>Document</code>.</p></li> | ||
|
||
<li><p>Set <var>settingsObject</var>'s <span | ||
data-x="concept-environment-execution-ready-flag">execution ready flag</span>.</p></li> | ||
|
||
<li> | ||
<p>If <var>settingsObject</var>'s <span | ||
data-x="concept-environment-active-service-worker">active service worker</span> is not null, | ||
|
@@ -85798,6 +85804,11 @@ interface <dfn>NavigatorOnLine</dfn> { | |
data-dfn-for="environment">active service worker</dfn></dt> | ||
<dd><p>Null or a <span data-x="dfn-service-worker">service worker</span> that <span | ||
data-x="dfn-control">controls</span> the <span>environment</span>.</p></dd> | ||
|
||
<dt>An <dfn data-x="concept-environment-execution-ready-flag" data-export="" | ||
data-dfn-for="environment">execution ready flag</dfn></dt> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be added to the previous There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was wondering whether I should get both the fields and the flag in the same There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A field can be a flag, yeah :). Flag is a type, kind of like a boolean but just a bit more awkward to use. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That makes sense. Addressed the comment. |
||
<dd><p>A flag that indicates whether the environment setup is done. It is initially | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should also have a data-dfn-for="environment". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah.. just missed this comment before pushing the data-x commit. Will add this. |
||
unset.</p></dd> | ||
</dl> | ||
|
||
<p>An <dfn data-export="">environment settings object</dfn> is an <span>environment</span> that | ||
|
@@ -96360,6 +96371,9 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> { | |
|
||
</li> | ||
|
||
<li><p>Set <var>inside settings</var>'s <span | ||
data-x="concept-environment-execution-ready-flag">execution ready flag</span>.</p></li> | ||
|
||
<!-- SCRIPT EXEC --> | ||
|
||
<li> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let settingsObject be the result; this is the first introduction of the settingsObject variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed the comment. Thanks.