LayoutTest produces unhandled promise rejections
Reported by
m...@bocoup.com,
Jul 26
|
|||
Issue descriptionA LayoutTest named `call-extra-crash-is-locked.html` [1] 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[2], 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 the test in question make this impossible. Because of this, the test harness should be configured to allow unhandled promise rejections. [1] third_party/WebKit/LayoutTests/http/tests/fetch/chromium/call-extra-crash-is-locked.html [2] https://github.com/web-platform-tests/wpt/pull/8748
,
Jul 30
Can this be closed now?
,
Aug 14
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jul 27