Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: !debug
- Manifest: dom/promise/tests/mochitest.toml
<!--
Any copyright is dedicated to the Public Domain.
-->
<html>
<head>
<title>Promise - uncatchable exceptions</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
onmessage = function() {
ok(true, "finished");
SimpleTest.finish();
};
function go() {
var script = document.createElement("script");
script.src = "promise_uncatchable_exception.js";
document.body.appendChild(script);
}
SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv({set: [["dom.expose_test_interfaces", true]]}, go);
</script>
</pre>
</body>
</html>