Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /IndexedDB/nested-cloning-basic.any.html - WPT Dashboard Interop Dashboard
- /IndexedDB/nested-cloning-basic.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/nested-cloning-basic.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/nested-cloning-basic.any.worker.html - WPT Dashboard Interop Dashboard
// 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
'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},
]);