3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
7 async_test(function(t
) {
8 if (window
.testRunner
) {
9 testRunner
.evaluateScriptInIsolatedWorld(1, "var p = Promise.reject(new Error());");
11 window
.onunhandledrejection
= t
.unreached_func('no events should fire');
12 window
.onrejectionhandled
= t
.unreached_func('no events should fire');
13 setTimeout(function() { t
.done(); }, 10);
14 }, 'promise rejection events should not be fired for content scripts');