gecko-dev/dom/promise/tests/test_promise_uncatchable_exception.html
Alec Gibson 6614404241 Bug 1532935 - Enable ESLint for dom/promise (automatic changes). r=mccr8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D29645

--HG--
extra : moz-landing-system : lando
2019-06-25 20:11:52 +00:00

36 lines
834 B
HTML

<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<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(evt) {
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>