trisquel-icecat/icecat/testing/web-platform/tests/IndexedDB/nested-cloning-basic.any.js
2025-10-06 02:35:48 -06:00

17 lines
468 B
JavaScript

// META: title=IndexedDB: basic objects are cloned correctly
// META: global=window,worker
// META: script=resources/support-promises.js
// META: script=resources/nested-cloning-common.js
// META: timeout=long
// Spec: https://w3c.github.io/IndexedDB/#abort-transaction
'use strict';
cloningTest('small typed array', [
{type: 'buffer', size: 64, seed: 1},
]);
cloningTest('blob', [
{type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink-1', seed: 1},
]);