Skip to content

Commit

Permalink
Bug 1462661 [wpt PR 11069] - Add tests for structuredClone, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-tests
Add tests for structuredClone

Follows whatwg/html#3414.
--

wpt-commits: 7cfc0be8d4d4c3ae374e1f8444a2309c0eefc563
wpt-pr: 11069
  • Loading branch information
surma authored and moz-wptsync-bot committed Jul 31, 2021
1 parent 192514a commit 97186df
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<title>structuredClone() tests</title>
<meta charset=utf-8>
<div id=log></div>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/html/webappapis/structured-clone/structured-clone-battery-of-tests.js></script>
<script src=/html/webappapis/structured-clone/structured-clone-battery-of-tests-with-transferables.js></script>
<script src=/html/webappapis/structured-clone/structured-clone-battery-of-tests-harness.js></script>
<script>
runStructuredCloneBatteryOfTests({
structuredClone: (obj, transfer) => structuredClone(obj, {transfer});
});
</script>

0 comments on commit 97186df

Please sign in to comment.