mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
PR-URL: https://github.com/nodejs/node/pull/39759 Fixes: https://github.com/nodejs/node/issues/39713 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
10 lines
494 B
JavaScript
10 lines
494 B
JavaScript
// META: title=structuredClone() tests
|
|
// META: script=/html/webappapis/structured-clone/structured-clone-battery-of-tests.js
|
|
// META: script=/html/webappapis/structured-clone/structured-clone-battery-of-tests-with-transferables.js
|
|
// META: script=/html/webappapis/structured-clone/structured-clone-battery-of-tests-harness.js
|
|
|
|
runStructuredCloneBatteryOfTests({
|
|
structuredClone: (obj, transfer) => self.structuredClone(obj, { transfer }),
|
|
hasDocument: typeof document !== "undefined",
|
|
});
|