0

wpt: Fix script to call onAllClosed properly

test.step_func was only referencing onAllClosed, but never calling it.

Tested with the clearkey-mp4-playback-temporary-events.https.html test,
which was previously failing, but with this changed, it passed.

Bug: 349649084
Change-Id: I5230fa5d0ea66ee2bfdeeb05a653e375852c886c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6410055
Reviewed-by: Feras Aldahlawi <feras@chromium.org>
Commit-Queue: Vikram Pasupathy <vpasupathy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1439819}
This commit is contained in:
Vikram Pasupathy 2025-03-28 18:24:43 -07:00 committed by Chromium LUCI CQ
parent cb8479c167
commit d7062ef688

@ -111,7 +111,7 @@ function runTest(config,qualifier) {
closeMethodPromise.then(onClosed);
Promise.all([ closedAttributePromise, closeMethodPromise ]).then(function() {
test.step_func(onAllClosed);
test.step_func(onAllClosed)();
}).catch(onFailure);
}
}