WebTransport wpt: await promise_rejects_dom
Two of the tests in webtransport/close.https.any.js did not await the
result of promise_rejects_dom. As a result, when the assertion failed
instead of causing those specific tests to fail it caused an uncaught
rejection harness error instead.
Await the result of promise_rejects_dom.
Change-Id: I7043a98b87c8e0de59a95a329802a2faf99945e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5728556
Commit-Queue: Nidhi Jaju nidhijaju@chromium.org
Auto-Submit: Adam Rice ricea@chromium.org
Reviewed-by: Nidhi Jaju nidhijaju@chromium.org
Cr-Commit-Position: refs/heads/main@{#1331526}