The restrictions are mostly there to remove many foot guns.
In the case of Boolean, according to the spec, they aren't supported. So a Boolean wouldn't work when using the pure JavaScript version of IndexedDB either: https://www.w3.org/TR/IndexedDB/#key-construct
For anyone else who might be following (or stumble on this thread), commented on originally linked GitHub issue the possible workaround — basically: using