WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300953
[APITest] `browser.test.assertRejects` returns Promise so it should be treated as such.
https://bugs.webkit.org/show_bug.cgi?id=300953
Summary
[APITest] `browser.test.assertRejects` returns Promise so it should be treate...
Basuke Suzuki
Reported
2025-10-16 20:07:27 PDT
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
Comment 1
2025-10-16 20:10:08 PDT
rdar://162803291
Basuke Suzuki
Comment 2
2025-10-16 20:12:27 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52530
EWS
Comment 3
2025-10-16 21:38:54 PDT
Committed
301690@main
(48e1564f70ca): <
https://commits.webkit.org/301690@main
> Reviewed commits have been landed. Closing PR #52530 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug