1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-12 11:15:04 +02:00
video.js/test/unit
Gary Katsevman 85575dbaba
fix(evented): log an error on invalid type (#7067)
Follow up from #6982. We previously threw an error, but we've seen it
happen unexpectedly. Instead, we should log an error.
We will still throw an error if the event is undefined or null.

Here, if we have a `log` object on the current object, we should use it,
otherwise, we use a default `log` object.
2021-01-26 13:56:41 -05:00
..
control-bar/text-track-controls fix: group subtitles and captions when switching tracks (#6008) 2019-06-10 16:15:23 -04:00
mixins fix(evented): log an error on invalid type (#7067) 2021-01-26 13:56:41 -05:00
tech fix: prevent dispose error and text track duplicate listeners (#6984) 2021-01-21 17:02:15 -05:00
tracks fix: prevent dispose error and text track duplicate listeners (#6984) 2021-01-21 17:02:15 -05:00
utils fix: Better mouse position handling (#5773) 2020-08-31 12:32:57 -04:00
autoplay.test.js fix: correctly resolve play promise when terminated via middleware (#5895) 2019-04-11 14:29:27 -04:00
button.test.js fix: Reduce the multiple-announcement by screen readers of the new name of a button when its text label changes. (#5158) 2018-05-11 14:31:28 -04:00
clickable-component.test.js feat: trigger languagechange event on a language change (#6891) 2020-11-10 18:09:37 -05:00
close-button.test.js fix: handle esc key properly inside of the CloseButton (#6050) 2019-06-18 16:23:26 -04:00
component.test.js fix: clear readyQueue with dispose (#6967) 2020-12-11 16:04:09 -05:00
controls.test.js fix: Disable PIP if tech doesn't support it (#6678) 2020-06-19 14:36:43 -04:00
event-target.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00
events.test.js feat(events): add any function (#5977) 2019-06-17 14:04:25 -04:00
extend.test.js fix(extend): super_ should be available for backwards compatibility (#6329) 2019-11-22 12:32:18 -05:00
live-tracker.test.js fix: set liveWindow to 0 liveCurrentTime is Infinity (#7034) 2021-01-11 17:24:53 -05:00
media-error.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
menu.test.js perf: Use WeakMap for dom data (#6103) 2019-08-01 14:26:59 -04:00
modal-dialog.test.js fix: make sure hotkeys are not triggered outside the player or in form fields within the player (#5969) 2019-06-10 16:15:24 -04:00
play.test.js feat(middleware): allow middleware to handle volume setter and getter (#5906) 2019-04-23 13:42:52 -04:00
player-breakpoints.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00
player-fullscreen.test.js refactor: switch to fullscreen.options (#6054) 2019-06-17 16:51:28 -04:00
player-loadmedia.test.js feat: Add loadMedia and getMedia methods (#5652) 2019-01-03 13:49:34 -05:00
player-play.test.js feat: Improve currentTime to allow it to be called before player is ready (#6507) 2020-03-25 17:54:51 -04:00
player-user-actions.test.js fix: do not handle hotkeys in contenteditable elements (#6182) 2019-08-19 14:57:15 -04:00
player.test.js fix(player): Ensure fluid works when dimensions not initially known (#7023) 2021-01-06 12:49:57 -05:00
plugin-advanced.test.js feat: Add a default, plugin-specific logger to advanced plugins (#6693) 2020-07-10 11:59:04 -04:00
plugin-basic.test.js feat: Add 'beforepluginsetup' event and named plugin setup events (e.g. 'pluginsetup:foo') (#4255) 2017-05-11 17:13:22 -04:00
plugin-static.test.js chore(test): silence plugin warning from test (#4173) 2017-03-07 14:13:19 -05:00
poster.test.js feat: trigger languagechange event on a language change (#6891) 2020-11-10 18:09:37 -05:00
reset-ui.test.js fix: ensure that durationDisplay and remainingTimeDisplay exist before calling their 'updateContent' method during reset() (#5839) 2019-03-18 14:54:14 -04:00
resize-manager.test.js fix(resize-manager): Prevent tabbing into RM and hide from Screen Readers (#5754) 2019-01-22 16:36:20 -05:00
seek-to-live.test.js fix(liveui): tweaks to prevent jitter (#6405) 2020-03-30 17:27:45 -04:00
setup.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
sourceset.test.js docs: Fix simple typo, intial -> initial (#6851) 2020-09-22 14:38:19 -04:00
test-helpers.js fix: Improves isSingleLeftClick() to handle mousemove (#6138) 2019-07-29 17:45:40 -04:00
video.test.js test: run tests via rollup (#5601) 2019-08-30 14:56:41 -04:00
videojs-hooks.test.js test: check dom-data to verify we aren't leaking memory and event handlers (#5862) 2019-03-19 15:05:48 -04:00
videojs-integration.test.js test: run tests via rollup (#5601) 2019-08-30 14:56:41 -04:00