gecko-dev/dom/indexedDB/crashtests/1507229-1.html
violet 0a2e5d2dc2 Bug 1505821 - DeserializeFromString should append an empty string for a trailing comma r=asuth
KeyPath [..., ''] will be serialized to have a trailing comma, when deserializing it, we should
append back the empty string. Otherwise we will get inconsistent result with the KeyPath::Parse() method, causing assertions failure.

Differential Revision: https://phabricator.services.mozilla.com/D24724

--HG--
extra : moz-landing-system : lando
2019-04-17 12:52:46 +00:00

7 lines
205 B
HTML

<script>
window.indexedDB.open("bug1507229_1_hello").onsuccess = function(event) {
event.target.result.createMutableFile("");
window.indexedDB.deleteDatabase("bug1507229_1_hello");
}
</script>