Skip to content

Commit 263cdc2

Browse files
Rely on "WebDriver BiDi scripting is enabled" hook
1 parent dbd6338 commit 263cdc2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4619,6 +4619,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
46194619
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed">WebDriver BiDi user prompt closed</dfn></li>
46204620
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened">WebDriver BiDi user prompt opened</dfn></li>
46214621
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened">WebDriver BiDi file dialog opened</dfn></li>
4622+
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-scripting-is-enabled">WebDriver BiDi scripting is enabled</dfn></li>
46224623
</ul>
46234624
</dd>
46244625

@@ -109549,6 +109550,9 @@ document.querySelector("button").addEventListener("click", bound);
109549109550
<span data-x="concept-document-window">associated <code>Document</code></span>'s <span>active
109550109551
sandboxing flag set</span> does not have its <span>sandboxed scripts browsing context flag</span>
109551109552
set.</li>
109553+
109554+
<li id="WebDriverBiDiScriptingIsEnabled">The result of <span>WebDriver BiDi scripting is
109555+
enabled</span> with <var>settings</var> is true.</li>
109552109556
</ul>
109553109557

109554109558
<p id="concept-bc-noscript"><dfn data-x="concept-environment-noscript">Scripting is disabled</dfn>
@@ -110734,7 +110738,7 @@ document.querySelector("button").addEventListener("click", bound);
110734110738
<var>settings</var>, a <span>URL</span> <var>baseURL</var>, a <span>script fetch options</span>
110735110739
<var>options</var>, an optional boolean <var>mutedErrors</var> (default false), an optional
110736110740
<span>URL</span>-or-null <var>sourceURLForWindowScripts</var> (default null) and an optional
110737-
boolenaor-null <var>bypassDisabledScripting</var> (default null):</p>
110741+
boolean <var>bypassDisabledScripting</var> (default false):</p>
110738110742

110739110743
<ol>
110740110744
<li>
@@ -110748,7 +110752,7 @@ document.querySelector("button").addEventListener("click", bound);
110748110752
</li>
110749110753

110750110754
<li><p>If <span data-x="concept-environment-noscript">scripting is disabled</span> for
110751-
<var>settings</var> and <var>bypassDisabledScripting</var> is not equal to true, then set
110755+
<var>settings</var> and <var>bypassDisabledScripting</var> is false, then set
110752110756
<var>source</var> to the empty string.</p></li>
110753110757

110754110758
<li><p>Let <var>script</var> be a new <span>classic script</span> that this algorithm will

0 commit comments

Comments
 (0)