Allow unhandled promise rejection in LayoutTest
This test is expected to cause unhandled promise rejections. Although the test harness reports an error when it detects unhandled promise rejections, they do not occur in this test until results have already been reported. In a forthcoming change to testharness.js [1], testing will pause until "cleanup" code has completed. This change will delay the reporting of results, and the previously-ignored unhandled rejections will interrupt the results. Ideally, the rejections could be handled with explicit code written for this purpose. The particulars of this test make this impossible. Instead, configure the test harness to allow unhandled promise rejections. [1] https://github.com/web-platform-tests/wpt/pull/8748 R=foolip@chromium.org, robertma@chromium.org Bug: 867708 Change-Id: I7ac53d88424e80b89e9969312f8cbfeb0922f579 Reviewed-on: https://chromium-review.googlesource.com/1150882Reviewed-by:Robert Ma <robertma@chromium.org> Reviewed-by:
Philip Jägenstedt <foolip@chromium.org> Commit-Queue: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#578830}
Showing
Please register or sign in to comment