blob: d8cab6d9103b8bf37a9b9afec7c6e301a4038469 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE html>
<meta charset=utf-8>
<title>Unhandled rejection following subtest</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
setup({ explicit_done: true });
window.addEventListener('unhandledrejection', () => { done(); }, {once: true});
test(function() {});
Promise.reject(new Error("error outside any setup or test"));
</script>
|