Backed out changeset 8fc3326bce7f (bug 1943032) for causing failures at browser_tab_g...
[gecko.git] / dom / canvas / test / webgl-conf / checkout / extra / context-creation-and-destruction-stress.html
blob7f316da3a00c7ac5596309381de08a528e6d97c8
1 <!--
2 Copyright (c) 2019 The Khronos Group Inc.
3 Use of this source code is governed by an MIT-style license that can be
4 found in the LICENSE.txt file.
5 -->
7 <!DOCTYPE html>
8 <html>
9 <head>
10 <meta charset="utf-8">
11 <title>Test that contexts are freed and garbage collected reasonably</title>
12 <link rel="stylesheet" href="../resources/js-test-style.css"/>
13 <script src="../js/js-test-pre.js"></script>
14 <script src="../js/webgl-test-utils.js"> </script>
15 <script src="../js/tests/iterable-test.js"> </script>
16 </head>
17 <body>
18 <div id="description"></div>
19 <div id="console"></div>
20 <script>
21 "use strict";
22 description();
24 var wtu = WebGLTestUtils;
26 var test = IterableTest.createContextCreationAndDestructionTest();
27 var iterations = parseInt(wtu.getUrlOptions().iterations, 10) || 500;
28 IterableTest.run(test, iterations);
30 var successfullyParsed = true;
31 </script>
33 </body>
34 </html>