Skip to content

Commit dc2ae87

Browse files
Rely on "WebDriver BiDi scripting is enabled" hook
1 parent 4d53487 commit dc2ae87

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
@@ -4621,6 +4621,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
46214621
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed">WebDriver BiDi user prompt closed</dfn></li>
46224622
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened">WebDriver BiDi user prompt opened</dfn></li>
46234623
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened">WebDriver BiDi file dialog opened</dfn></li>
4624+
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-scripting-is-enabled">WebDriver BiDi scripting is enabled</dfn></li>
46244625
</ul>
46254626
</dd>
46264627

@@ -109349,6 +109350,9 @@ document.querySelector("button").addEventListener("click", bound);
109349109350
<span data-x="concept-document-window">associated <code>Document</code></span>'s <span>active
109350109351
sandboxing flag set</span> does not have its <span>sandboxed scripts browsing context flag</span>
109351109352
set.</li>
109353+
109354+
<li id="WebDriverBiDiScriptingIsEnabled">The result of <span>WebDriver BiDi scripting is
109355+
enabled</span> with <var>settings</var> is true.</li>
109352109356
</ul>
109353109357

109354109358
<p id="concept-bc-noscript"><dfn data-x="concept-environment-noscript">Scripting is disabled</dfn>
@@ -110534,7 +110538,7 @@ document.querySelector("button").addEventListener("click", bound);
110534110538
<var>settings</var>, a <span>URL</span> <var>baseURL</var>, a <span>script fetch options</span>
110535110539
<var>options</var>, an optional boolean <var>mutedErrors</var> (default false), an optional
110536110540
<span>URL</span>-or-null <var>sourceURLForWindowScripts</var> (default null) and an optional
110537-
boolenaor-null <var>bypassDisabledScripting</var> (default null):</p>
110541+
boolean <var>bypassDisabledScripting</var> (default false):</p>
110538110542

110539110543
<ol>
110540110544
<li>
@@ -110548,7 +110552,7 @@ document.querySelector("button").addEventListener("click", bound);
110548110552
</li>
110549110553

110550110554
<li><p>If <span data-x="concept-environment-noscript">scripting is disabled</span> for
110551-
<var>settings</var> and <var>bypassDisabledScripting</var> is not equal to true, then set
110555+
<var>settings</var> and <var>bypassDisabledScripting</var> is false, then set
110552110556
<var>source</var> to the empty string.</p></li>
110553110557

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

0 commit comments

Comments
 (0)