Skip to content

Commit

Permalink
Remove "otherwise" language after throwing in algorithms. (#438)
Browse files Browse the repository at this point in the history
SHA: 8ce5425
Reason: push, by inexorabletash

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
evanstade and github-actions[bot] committed Jan 10, 2025
1 parent 4a39b14 commit d1a3235
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<title>Indexed Database API 3.0</title>
<meta content="ED" name="w3c-status">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 742f3d674, updated Mon Nov 4 14:56:54 2024 -0800" name="generator">
<meta content="Bikeshed version ac5ea272d, updated Fri Dec 6 15:45:15 2024 -0800" name="generator">
<link href="https://www.w3.org/TR/IndexedDB/" rel="canonical">
<link href="logo-db.svg" rel="icon">
<meta content="1dd072dfaf448831f21c4a387d17996834c6e949" name="revision">
<meta content="8ce54255509dd2f64c55f356dffe5a4d19ac0391" name="revision">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>
Expand Down Expand Up @@ -695,7 +695,7 @@
background-image: url(https://resources.whatwg.org/browser-logos/safari-ios.svg);
}
.mdn-anno > .feature > .support > .nodejs::before {
background-image: url(https://nodejs.org/static/images/favicons/favicon.ico);
background-image: url(https://nodejs.org/favicon.ico);
}
.mdn-anno > .feature > .support > .opera_android::before {
background-image: url(https://resources.whatwg.org/browser-logos/opera.svg);
Expand Down Expand Up @@ -1001,7 +1001,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">Indexed Database API 3.0</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-11-07">7 November 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2025-01-10">10 January 2025</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand All @@ -1011,7 +1011,7 @@ <h1 class="p-name no-ref" id="title">Indexed Database API 3.0</h1>
<dt>Latest published version:
<dd><a href="https://www.w3.org/TR/IndexedDB/">https://www.w3.org/TR/IndexedDB/</a>
<dt>Previous Versions:
<dd><a href="https://www.w3.org/TR/2024/WD-IndexedDB-3-20241015/" rel="prev">https://www.w3.org/TR/2024/WD-IndexedDB-3-20241015/</a>
<dd><a href="https://www.w3.org/TR/2024/WD-IndexedDB-3-20241107/" rel="prev">https://www.w3.org/TR/2024/WD-IndexedDB-3-20241107/</a>
<dt>Test Suite:
<dd><a href="https://github.com/web-platform-tests/wpt/tree/master/IndexedDB">https://github.com/web-platform-tests/wpt/tree/master/IndexedDB</a>
<dt>Feedback:
Expand All @@ -1024,7 +1024,7 @@ <h1 class="p-name no-ref" id="title">Indexed Database API 3.0</h1>
</div>
</details>
<div data-fill-with="warning"></div>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/policies/#copyright">Copyright</a> © 2024 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/copyright/software-license/" rel="license" title="W3C Software and Document License">permissive document license</a> rules apply. </p>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/policies/#copyright">Copyright</a> © 2025 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/copyright/software-license/" rel="license" title="W3C Software and Document License">permissive document license</a> rules apply. </p>
<hr title="Separator for header">
</div>
<div class="p-summary" data-fill-with="abstract">
Expand Down Expand Up @@ -2595,7 +2595,7 @@ <h3 class="heading settled" data-level="4.1" id="request-api"><span class="secno
<li data-md>
<p>If <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this">this</a>'s <a data-link-type="dfn" href="#request-done-flag" id="ref-for-request-done-flag⑤">done flag</a> is false, then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw" id="ref-for-dfn-throw②">throw</a> an "<code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#invalidstateerror" id="ref-for-invalidstateerror③">InvalidStateError</a></code>" <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-DOMException" id="ref-for-idl-DOMException⑨">DOMException</a></code>.</p>
<li data-md>
<p>Otherwise, return <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this①">this</a>'s <a data-link-type="dfn" href="#request-result" id="ref-for-request-result③">result</a>, or undefined if the request resulted in an error.</p>
<p>Return <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this①">this</a>'s <a data-link-type="dfn" href="#request-result" id="ref-for-request-result③">result</a>, or undefined if the request resulted in an error.</p>
</ol>
</div>
<div class="algorithm" data-algorithm="error" data-algorithm-for="IDBRequest">
Expand All @@ -2604,7 +2604,7 @@ <h3 class="heading settled" data-level="4.1" id="request-api"><span class="secno
<li data-md>
<p>If <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this②">this</a>'s <a data-link-type="dfn" href="#request-done-flag" id="ref-for-request-done-flag⑥">done flag</a> is false, then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw" id="ref-for-dfn-throw③">throw</a> an "<code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#invalidstateerror" id="ref-for-invalidstateerror④">InvalidStateError</a></code>" <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-DOMException" id="ref-for-idl-DOMException①⓪">DOMException</a></code>.</p>
<li data-md>
<p>Otherwise, return <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this③">this</a>'s <a data-link-type="dfn" href="#request-error" id="ref-for-request-error③">error</a>, or null if no error occurred.</p>
<p>Return <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this③">this</a>'s <a data-link-type="dfn" href="#request-error" id="ref-for-request-error③">error</a>, or null if no error occurred.</p>
</ol>
</div>
<p>The <dfn class="dfn-paneled idl-code" data-dfn-for="IDBRequest" data-dfn-type="attribute" data-export id="dom-idbrequest-source"><code>source</code></dfn> getter steps are to
Expand Down Expand Up @@ -3345,7 +3345,7 @@ <h3 class="heading settled" data-level="4.5" id="object-store-interface"><span c
<li data-md>
<p>If <var>store</var> does not have a <a data-link-type="dfn" href="#key-generator" id="ref-for-key-generator①⑦">key generator</a>, <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw" id="ref-for-dfn-throw③③">throw</a> a "<code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#dataerror" id="ref-for-dataerror①①">DataError</a></code>" <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-DOMException" id="ref-for-idl-DOMException④⑨">DOMException</a></code>.</p>
<li data-md>
<p>Otherwise, if <a data-link-type="dfn" href="#check-that-a-key-could-be-injected-into-a-value" id="ref-for-check-that-a-key-could-be-injected-into-a-value">check that a key could be injected into a value</a> with <var>clone</var> and <var>store</var>’s <a data-link-type="dfn" href="#object-store-key-path" id="ref-for-object-store-key-path①④">key path</a> return
<p>If <a data-link-type="dfn" href="#check-that-a-key-could-be-injected-into-a-value" id="ref-for-check-that-a-key-could-be-injected-into-a-value">check that a key could be injected into a value</a> with <var>clone</var> and <var>store</var>’s <a data-link-type="dfn" href="#object-store-key-path" id="ref-for-object-store-key-path①④">key path</a> return
false, <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw" id="ref-for-dfn-throw③④">throw</a> a "<code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#dataerror" id="ref-for-dataerror①②">DataError</a></code>" <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-DOMException" id="ref-for-idl-DOMException⑤⓪">DOMException</a></code>.</p>
</ol>
</ol>
Expand Down

0 comments on commit d1a3235

Please sign in to comment.