Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the temporary "visibilitychange" listener, in PDFViewer, with AbortSignal.any() #18873

Merged

Commits on Oct 8, 2024

  1. Remove the temporary "visibilitychange" listener, in PDFViewer, wit…

    …h `AbortSignal.any()`
    
    This is similar to a lot of other code, where we've been replacing explicit `removeEventListener`-calls.
    Given the somewhat limited availability of `AbortSignal.any()`, see [MDN](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static#browser_compatibility), this event listener will no longer be immediately removed in older browsers (however that should be fine).
    Snuffleupagus committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    31b0a49 View commit details
    Browse the repository at this point in the history