Re: [w3c/IndexedDB] Adjust how the direction is defaulted in "Creating a request to retrieve multiple items" (PR #478)

SteveBeckerMSFT left a comment (w3c/IndexedDB#478)

Any JavaScript object may become an IDBGetAllOptions dictionary when passed into a function like getAllRecords().  Dictionary types do not exist in JavaScript.  This looks like the relevant section from the webidl spec:

https://webidl.spec.whatwg.org/#js-dictionary

You can also see this in action in Chromium's IDBGetAllOptions implementation, which is automatically generated by the V8 bindings code:

https://source.chromium.org/chromium/chromium/src/+/main:out/chromeos-Debug/gen/third_party/blink/renderer/bindings/modules/v8/v8_idb_get_all_options.cc;drc=240825a2c96b5bd0ae6d124919de323054ac6080;bpv=1;bpt=1;l=32?q=IDBGetAllOptions%20-file:out&ss=chromium%2Fchromium%2Fsrc



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/478#issuecomment-3417493956
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/pull/478/c3417493956@github.com>

Received on Friday, 17 October 2025 23:18:07 UTC