Bug 1505821 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Interestingly, this bug is caused by two unrelated serialization/deserialization bugs.

The most serious one is the out-of-order backreference in StructuredClone code in JS engine, it's irrelevant to IndexedDB. See bug 1538622. This is the cause of the immediate crash of the whole browser when the original testcase is loaded in the release build.

However, there is still a minor bug in the IndexedDB part. The serialization and deserialization for KeyPath is inconsistent for `['']`. That will cause an assertion failure when the testcase twice is loaded twice.
Interestingly, this bug is caused by two unrelated serialization/deserialization bugs.

The most serious one is the out-of-order backreference in StructuredClone code in JS engine, it's irrelevant to IndexedDB. See bug 1538622. This is the cause of the immediate crash of the whole browser when the original testcase is loaded in the release build.

However, there is still a minor bug in the IndexedDB part. The serialization and deserialization for KeyPath is inconsistent for `['']`. That will cause an assertion failure when the testcase is loaded twice.

Back to Bug 1505821 Comment 1