You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ed/algorithms/html.json
+45-18Lines changed: 45 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -27228,16 +27228,16 @@
27228
27228
"html": "<p>Set <var>unloadPromptShown</var> to true.</p>"
27229
27229
},
27230
27230
{
27231
-
"html": "<p>Invoke <a id=\"preventing-navigation:webdriver-bidi-user-prompt-opened\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user promptopened</a> with <var>document</var>'s\n <a id=\"preventing-navigation:concept-relevant-global-4\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">relevant global object</a>, \"<code>beforeunload</code>\", and \"\".</p>"
27231
+
"html": "<p>Let <var>userPromptHandler</var> be the result of <a id=\"preventing-navigation:webdriver-bidi-user-prompt-opened\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt\n opened</a> with <var>document</var>'s<a id=\"preventing-navigation:concept-relevant-global-4\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">relevant global object</a>,\n \"<code>beforeunload</code>\", and \"\".</p>"
27232
27232
},
27233
27233
{
27234
-
"html": "<p>Ask the user to confirm that they wish to unload the document, and <a id=\"preventing-navigation:pause\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">pause</a> while\n waiting for the user's response.</p>"
27234
+
"html": "<p>If <var>userPromptHandler</var> is \"<code>dismiss</code>\", then set\n <var>unloadPromptCanceled</var> to true.</p>"
27235
27235
},
27236
27236
{
27237
-
"html": "<p>If the user did not confirm the page navigation, set<var>unloadPromptCanceled</var> to\n true.</p>"
27237
+
"html": "<p>If <var>userPromptHandler</var> is \"<code>none</code>\", then:</p>\n\n <ul><li>\n <p>Ask the user to confirm that they wish to unload the document, and <a id=\"preventing-navigation:pause\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">pause</a>\n while waiting for the user's response.</p>\n\n \n </li><li><p>If the user did not confirm the page navigation, then set\n <var>unloadPromptCanceled</var> totrue.</p></li></ul>"
27238
27238
},
27239
27239
{
27240
-
"html": "<p>Invoke <a id=\"preventing-navigation:webdriver-bidi-user-prompt-closed\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <var>document</var>'s\n <a id=\"preventing-navigation:concept-relevant-global-5\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">relevant global object</a>and trueif <var>unloadPromptCanceled</var> is false or\n false otherwise.</p>"
27240
+
"html": "<p>Invoke <a id=\"preventing-navigation:webdriver-bidi-user-prompt-closed\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <var>document</var>'s\n <a id=\"preventing-navigation:concept-relevant-global-5\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global\">relevant global object</a>, \"<code>beforeunload</code>\", and true\n if <var>unloadPromptCanceled</var> is false or false otherwise.</p>"
27241
27241
}
27242
27242
]
27243
27243
},
@@ -34194,16 +34194,16 @@
34194
34194
"html": "<p>Set <var>message</var> to the result of <a href=\"https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#optionally-truncate-a-simple-dialog-string\" id=\"simple-dialogs:optionally-truncate-a-simple-dialog-string\">optionally truncating</a> <var>message</var>.</p>"
34195
34195
},
34196
34196
{
34197
-
"html": "<p>Show <var>message</var> to the user, treating U+000A LF as a line break.</p>"
34197
+
"html": "<p>Let <var>userPromptHandler</var> be <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with\n <a id=\"simple-dialogs:this-2\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>, \"<code>alert</code>\", and <var>message</var>.</p>"
34198
34198
},
34199
34199
{
34200
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with <a id=\"simple-dialogs:this-2\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>alert</code>\", and <var>message</var>.</p>"
34201
-
},
34202
-
{
34203
-
"html": "<p>Optionally, <a id=\"simple-dialogs:pause\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">pause</a> while waiting for the user to acknowledge the\n message.</p>"
34200
+
"html": "<p>If <var>userPromptHandler</var> is \"<code>none</code>\", then:</p>",
34201
+
"ignored": [
34202
+
"Show message to the user, treating U+000A LF as a line break.Optionally, pause while waiting for the user to acknowledge the message."
34203
+
]
34204
34204
},
34205
34205
{
34206
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-3\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>\n and true.</p>"
34206
+
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-3\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>alert</code>\", and true.</p>"
34207
34207
}
34208
34208
]
34209
34209
},
@@ -34226,16 +34226,31 @@
34226
34226
"html": "<p>Show <var>message</var> to the user, treating U+000A LF as a line break, and ask the user\n to respond with a positive or negative response.</p>"
34227
34227
},
34228
34228
{
34229
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened-2\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with<a id=\"simple-dialogs:this-5\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>confirm</code>\", and <var>message</var>.</p>"
34229
+
"html": "<p>Let <var>userPromptHandler</var> be <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened-2\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with\n <a id=\"simple-dialogs:this-5\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>, \"<code>confirm</code>\", and <var>message</var>.</p>"
34230
34230
},
34231
34231
{
34232
-
"html": "<p><a id=\"simple-dialogs:pause-2\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">Pause</a> until the user responds either positively or negatively.</p>"
34232
+
"html": "<p>Let <var>accepted</var> be false.</p>"
34233
+
},
34234
+
{
34235
+
"html": "If <var>userPromptHandler</var> is \"<code>none</code>\", then:",
34236
+
"rationale": "if",
34237
+
"steps": [
34238
+
{
34239
+
"html": "<p><a id=\"simple-dialogs:pause-2\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">Pause</a> until the user responds either positively or negatively.</p>"
34240
+
},
34241
+
{
34242
+
"html": "<p>If the user responded positively, then set <var>accepted</var> to true.</p>"
34243
+
}
34244
+
]
34233
34245
},
34234
34246
{
34235
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed-2\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-6\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n and true if the user responded positively or false otherwise.</p>"
34247
+
"html": "<p>If <var>userPromptHandler</var> is \"<code>accept</code>\", then set\n <var>accepted</var> to true.</p>"
34236
34248
},
34237
34249
{
34238
-
"html": "<p>If the user responded positively, return true; otherwise, the user responded negatively:\n return false.</p>"
34250
+
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed-2\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-6\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>confirm</code>\", and <var>accepted</var>.</p>"
34251
+
},
34252
+
{
34253
+
"html": "<p>Return <var>accepted</var>.</p>"
34239
34254
}
34240
34255
]
34241
34256
},
@@ -34261,16 +34276,28 @@
34261
34276
"html": "<p>Show <var>message</var> to the user, treating U+000A LF as a line break, and ask the user\n to either respond with a string value or abort. The response must be defaulted to the value given\n by <var>default</var>.</p>"
34262
34277
},
34263
34278
{
34264
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened-3\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with <a id=\"simple-dialogs:this-8\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>prompt</code>\", <var>message</var>, and <var>default</var>.</p>"
34279
+
"html": "<p>Let <var>userPromptHandler</var> be <a id=\"simple-dialogs:webdriver-bidi-user-prompt-opened-3\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened\" data-x-internal=\"webdriver-bidi-user-prompt-opened\">WebDriver BiDi user prompt opened</a> with\n <a id=\"simple-dialogs:this-8\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>, \"<code>prompt</code>\", and <var>message</var>.</p>"
34280
+
},
34281
+
{
34282
+
"html": "<p>Let <var>result</var> be null.</p>"
34265
34283
},
34266
34284
{
34267
-
"html": "<p><a id=\"simple-dialogs:pause-3\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">Pause</a> while waiting for the user's response.</p>"
34285
+
"html": "If <var>userPromptHandler</var> is \"<code>none</code>\", then:",
34286
+
"rationale": "if",
34287
+
"steps": [
34288
+
{
34289
+
"html": "<p><a id=\"simple-dialogs:pause-3\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#pause\">Pause</a> while waiting for the user's response.</p>"
34290
+
},
34291
+
{
34292
+
"html": "<p>If the user did not abort, then set <var>result</var> to the string that the user\n responded with.</p>"
34293
+
}
34294
+
]
34268
34295
},
34269
34296
{
34270
-
"html": "<p>Let <var>result</var> be null if the user aborts, or otherwise the string that the user\n responded with.</p>"
34297
+
"html": "<p>Otherwise, if <var>userPromptHandler</var> is \"<code>accept</code>\", then set\n <var>result</var> to the empty string.</p>"
34271
34298
},
34272
34299
{
34273
-
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed-3\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-9\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n false if <var>result</var> is null or true otherwise, and <var>result</var>.</p>"
34300
+
"html": "<p>Invoke <a id=\"simple-dialogs:webdriver-bidi-user-prompt-closed-3\" href=\"https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed\" data-x-internal=\"webdriver-bidi-user-prompt-closed\">WebDriver BiDi user prompt closed</a> with <a id=\"simple-dialogs:this-9\" href=\"https://webidl.spec.whatwg.org/#this\" data-x-internal=\"this\">this</a>,\n \"<code>prompt</code>\", false if <var>result</var> is null or true otherwise,\n and <var>result</var>.</p>"
"error": "Error: Loading https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html triggered HTTP status 521\n at processSpecification (file:///home/runner/work/webref/webref/node_modules/reffy/src/lib/util.js:481:19)\n at async crawlSpec (file:///home/runner/work/webref/webref/node_modules/reffy/src/lib/specs-crawler.js:107:22)\n at async processSpec (file:///home/runner/work/webref/webref/node_modules/reffy/src/lib/specs-crawler.js:352:22)\n at async ThrottledQueue.runThrottled (file:///home/runner/work/webref/webref/node_modules/reffy/src/lib/throttled-queue.js:78:22)"
0 commit comments