summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/mochitest/test_finalizationRegistry_cleanupSome.html
blob: d70cfa7172fd90399a8c412f737e27aa7e492f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>Test FinalizationRegistry cleanupSome method is not exposed by default</title>
    <script src="/tests/SimpleTest/SimpleTest.js"></script>
    <script type="application/javascript">
      let registry = new FinalizationRegistry(x => 1);
      is(registry.cleanupSome, undefined,
         "The cleanupSome method should not be exposed by default");
    </script>
  </head>
</html>