Bug 300953
| Summary: | [APITest] `browser.test.assertRejects` returns Promise so it should be treated as such. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | Basuke Suzuki <basuke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Basuke Suzuki
There are some tests that runs `browser.test.assertRejects()` as usual function. They should be `await`. Also there is one mis-usage of the function.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
rdar://162803291
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/52530
EWS
Committed 301690@main (48e1564f70ca): <https://commits.webkit.org/301690@main>
Reviewed commits have been landed. Closing PR #52530 and removing active labels.