<!DOCTYPE html>
<meta charset="utf-8">
<title>Structured cloning of Error objects: extra tests</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>

<!-- Most tests are in the general framework in structuredclone_0.html.
     This contains specialty tests that don't fit into that framework. -->

<body>

<script>
"use strict";
test(t => {
  const exceptionToThrow = new Error("throw me!");

  const badError = new Error();
  Object.de