[Bug 23332] Support Binary Keys

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23332

--- Comment #10 from Jonas Sicking <jonas@sicking.cc> ---
An important question is, how to we handle the multiple different types?

For example, is Int8Array([5, 9]) a different or the same key as
Int16Array([0x0905])? What about Uint8Array([5, 9]).

This question applies both for matching as well as for reading data back. I.e.
if you enumerate an objectStore, does the key contain exactly the type that was
used to store an entry, or does it contain some normalized type?

See also comment 3 and comment 4.

I understand why WebIDL has the general recommendation that it has. But I'm
still inclined to say that we should keep things simpler here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 23 December 2014 19:55:27 UTC