1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/workers/test/test_bug1002702.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<!DOCTYPE HTML> 1.9 +<html> 1.10 +<head> 1.11 + <title>Test for bug 1002702</title> 1.12 + <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> 1.13 + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 1.14 +</head> 1.15 +<body> 1.16 +<p id="display"></p> 1.17 +<div id="content" style="display: none"></div> 1.18 +<pre id="test"></pre> 1.19 +<script class="testbody" type="text/javascript"> 1.20 + 1.21 +var port = new SharedWorker('data:application/javascript,1').port; 1.22 +port.close(); 1.23 +SpecialPowers.forceGC(); 1.24 +ok(true, "No crash \\o/"); 1.25 + 1.26 +</script> 1.27 +</pre> 1.28 +</body> 1.29 +</html> 1.30 +