Tom
386ca85db8
implement native webgl renderer, and many associated changes related to drawing pipeline and testing
2023-06-26 21:29:08 -04:00
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
Jirka
8a2c998cb9
Finish on image job now accepts request argument. Further comments cleanup. Deprecation message for image property in tile loaded event. Removal of downloadTileFinish(). More robust aborting that cleans up an image properties when aborted (not done until now).
2022-05-04 15:16:13 +02:00
Jirka
ec430779f4
Move open-failed error message to the handler, adjust test for the new message style. Add 'numberOfHandlers()' method for events.
2022-04-15 10:32:08 +02:00
Jirka
aa0119be45
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
David McAlpine
998439f29c
Upgraded grunt-contrib-qunit to ^3.1.0 which utilizes pupetter instead of phantomjs
2019-07-17 20:02:40 -04:00
nein09
9f39f7bf03
Convert events tests
2018-01-02 08:32:45 -08:00
nein09
2af7db43a4
Update test helpers, basic tests, and polyfill tests
2018-01-02 08:32:45 -08:00
John Perdue
191cf81d6b
Skip version tests when running coverage.
2017-06-20 22:30:58 +01:00
John Perdue
bfa0ac0137
Added setDebugMode function to Viewer.
...
Added SetDebugMode tests.
Update in respose to PR review.
2017-06-19 21:29:41 +01:00
Antoine Vandecreme
41b8956df6
Fix version object not filled. Fix #1024
2017-01-07 17:38:38 +01:00
Antoine Vandecreme
6370a6bafa
Fix tests
2016-11-05 16:41:09 +01:00
Larissa Smith
4ccabe78de
Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api.
2016-07-28 09:35:43 -06:00
Petar Petrov
7406727090
Merge branch 'master' of https://github.com/openseadragon/openseadragon
2015-11-16 16:44:31 +02:00
Petar Petrov
515c15bf98
various fixes for edge smoothing - #755
2015-11-05 16:19:56 +02:00
Antoine Vandecreme
03ed52c5b4
Remove duplicate isCanvasTainted function in tests.
2015-11-04 17:49:13 -05:00
Antoine Vandecreme
ed72ae748f
Fix tests and coverage
2015-02-27 14:07:42 -05:00
Antoine Vandecreme
a372274ee1
Fix Cross Origin policy not working ( #612 )
...
Remove useless hostUrl field
2015-02-26 17:57:31 -05:00
Ian Gilman
cf0059daa5
Reorganized test folder
2014-11-19 16:52:33 -08:00