Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git] / js / xpconnect / tests / mochitest / test_finalizationRegistry_cleanupSome.html
blobd70cfa7172fd90399a8c412f737e27aa7e492f6d
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test FinalizationRegistry cleanupSome method is not exposed by default</title>
6 <script src="/tests/SimpleTest/SimpleTest.js"></script>
7 <script type="application/javascript">
8 let registry = new FinalizationRegistry(x => 1);
9 is(registry.cleanupSome, undefined,
10 "The cleanupSome method should not be exposed by default");
11 </script>
12 </head>
13 </html>