0
Firefox 47はIDBKeyRange
のincludes
メソッドをサポートしていますが、なぜそれが与える結果を与えるのかを理解するのは難しいです。IDBKeyRange.includesからの動作が混乱しています
// These work as I'd expect to return false
console.log(IDBKeyRange.lowerBound(2).includes(1));
console.log(IDBKeyRange.lowerBound(4).includes(3));
// These do not behave as expected (I'd expect "true")
console.log(IDBKeyRange.lowerBound(1).includes(1)); // FF gives false
console.log(IDBKeyRange.lowerBound(3).includes(4)); // FF gives false
私はここで何が欠けていますか?
ご協力いただきありがとうございます。私はまた、Node-basedテストを要求するhttps://github.com/w3c/web-platform-tests/issues/3218に問題を追加しました。ノードをサポートするポリフィルで働いている人たちも同じ利点を得ることができます(特別な掻き取りや設定は必要ありません)。 –