Add temporary event listener to the Web Extensions Test API.
Pull request: https://github.com/WebKit/WebKit/pull/7413
Committed 257797@main (2e30913e291b): <https://commits.webkit.org/257797@main> Reviewed commits have been landed. Closing PR #7413 and removing active labels.
<rdar://problem/103305983>