openseadragon/test/modules
Andrew Armbruster c7df7be7f1 Catch rejected Promise on failed fullscreen request
Add a `catch()` rejection of request for fullscreen (standard Fullscreen API implementation), as well as fullscreen exit. For now there is no actual handling, but we send a message to the internal error channel.

Motivation: The fullscreen request was causing certain tests to fail when run with newer versions of QUnit (starting in 2.5.0), which now fails tests that have unhandled Promise rejections (as we did here).

The exit case is not currently covered by tests, but works the same way (also returns a promise).

See: https://fullscreen.spec.whatwg.org/#ref-for-dom-element-requestfullscreen%E2%91%A0
2023-05-28 14:15:55 +02:00
..
ajax-post-data.js Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting. 2022-01-12 22:31:13 +01:00
ajax-tiles.js Update navigator ajax headers 2023-05-12 21:46:16 +02:00
basic.js Catch rejected Promise on failed fullscreen request 2023-05-28 14:15:55 +02:00
controls.js updated tests 2022-03-30 23:05:14 +02:00
drawer.js reverted Viewport.setRotation, created Viewport.setRotationWithPivot 2022-12-05 19:38:46 -05:00
dzitilesource.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00
event-source.js Revert async support and event breaking support in EventSource. 2023-01-21 09:00:24 +01:00
events.js Fixing test failures 2022-12-02 15:52:53 -08:00
formats.js Merge branch 'master' of https://github.com/openseadragon/openseadragon into openseadragon-master 2022-06-28 14:11:02 +02:00
iiif.js Merge branch 'master' of https://github.com/openseadragon/openseadragon into openseadragon-master 2022-06-28 14:11:02 +02:00
imageloader.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00
multi-image.js Multi-image and overlays tests 2018-01-02 08:32:45 -08:00
navigator.js fixed logic of dragNavigatorBackToCenter method 2022-12-11 14:47:52 -05:00
overlays.js Multi-image and overlays tests 2018-01-02 08:32:45 -08:00
polyfills.js Update test helpers, basic tests, and polyfill tests 2018-01-02 08:32:45 -08:00
rectangle.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00
referencestrip.js only run shadow dom test if brower supports shadow dom 2019-07-19 16:29:19 -04:00
spring.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00
strings.js Rewrite TiledImage closure functions to be private class members. Fix tests that expect error message to appear in 'log' instead of 'error'. 2022-03-23 14:05:58 +01:00
tilecache.js Fix comments on #2148: part 2. Better commens on the new TileSource API. Deprecation if 'tile-loaded' image event parameter. Unwrap ImageJob and add userData property. 2022-04-29 23:45:01 +02:00
tiledimage.js Fixed fullyLoaded test when run in browser 2022-12-12 15:21:56 -08:00
tilesource-dynamic-url.js #1970: Update unit test to check for changed url behavior 2022-12-02 10:32:11 -05:00
tilesource.js Modify the unit test for changing maxLevel 2021-12-01 10:17:10 +09:00
tilesourcecollection.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00
units.js reverted Viewport.setRotation, created Viewport.setRotationWithPivot 2022-12-05 19:38:46 -05:00
utils.js Make timeWatcher args make more sense, add utils tests 2018-01-02 08:32:45 -08:00
viewerretrieval.js Add tests for OpenSeadragon.getViewer 2021-07-02 12:25:02 -05:00
viewport.js Merge pull request #2249 from pearcetm/rotated-constraints-fix 2022-12-15 13:57:44 -08:00
world.js Everything but the navigator tests 2018-01-02 08:32:45 -08:00