summaryrefslogtreecommitdiffstats
path: root/dom/console/tests/test_bug989665.html
blob: 484656a06ba642560a66e18eca135862d52d73ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=989665
-->
<head>
  <meta charset="utf-8">
  <title>Test for Bug 989665</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=989665">Mozilla Bug 989665</a>
<script type="application/javascript">

let w = new Worker("data:text/javascript;charset=UTF-8, console.log('%s', {toString: function() { throw 3 }}); ");
ok(true, "This test should not crash.");

</script>
</body>
</html>