Skip to content

Commit 5309672

Browse files
gvkingchromium-wpt-export-bot
authored andcommitted
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 <[email protected]> Commit-Queue: Vikram Pasupathy <[email protected]> Cr-Commit-Position: refs/heads/main@{#1439819}
1 parent 71ee931 commit 5309672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encrypted-media/scripts/playback-temporary-events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function runTest(config,qualifier) {
111111
closeMethodPromise.then(onClosed);
112112

113113
Promise.all([ closedAttributePromise, closeMethodPromise ]).then(function() {
114-
test.step_func(onAllClosed);
114+
test.step_func(onAllClosed)();
115115
}).catch(onFailure);
116116
}
117117
}

0 commit comments

Comments
 (0)