Commit Graph

41 Commits

Author SHA1 Message Date
relrelb 17e0eb112b web: Enforce ESLint's `camelcase` rule 2023-05-31 08:22:15 +03:00
Nathan Adams fe49f7b872 web: Temporarily disable cors test as it's too slow for runners 2023-01-09 20:14:05 +01:00
Daniel Jacobs 992e34764e web: Fix metadata test by adding uncompressedLength 2022-08-03 09:17:24 +03:00
Daniel Jacobs 7cae84b354 tests: Add YouTube Flash embed/object tests 2022-04-10 19:25:26 -07:00
Toad06 badb91c1db web: Add `object_double_object_classid` test 2022-04-03 10:15:19 -07:00
Toad06 fdc87267cd web: Update `object_double_object` test 2022-04-03 10:15:19 -07:00
relrelb 3f8f117fd3 web: Convert .eslintrc files from JSON to YAML
YAML is shorter, more modern, readable, and flexible than JSON.
In other words, YAML >>> JSON.

Auto-converted using [`yq`](https://github.com/kislyuk/yq).
2022-01-12 20:10:00 -08:00
Toad06 5854d4a23f tests: Don't polyfill files meant to be used as fallback content 2021-10-17 11:44:15 -07:00
Chris Midgley 535b614ee4
dev: remove wdio/sync (#5105)
* dev: remove wdio/sync

* chore: fix eslint errors
2021-08-21 16:34:08 +02:00
relrelb 803da71e9c web: Remove `RufflePlayer.playButtonClicked`
Replace its few usages with `play` which is part of the public API.
Also made little cleanups to the selfhosted test utils along the way.
2021-07-12 23:21:14 +03:00
Mike Welsh 22948789b8 web: Add MovieData.isActionScript3 and backgroundColor 2021-05-23 23:02:38 -07:00
relrelb f8a8b82c04 web: Cleanup ESLint configuration
* Cleanup .eslintrc.json files.
* Avoid unnecessary eslint-* directives.
2021-04-30 18:16:55 -07:00
Mike Welsh 10b014bf18 tests: Move utils.js out of polyfill folder 2021-04-23 16:58:24 -07:00
Mike Welsh 0c5951da52 tests: Add tests for Ruffle JS API
Add some basic scaffolding for testing the JS API. Adds a test for
`RufflePlayer.load` and `RufflePlayer.metadata`.
2021-04-23 16:58:24 -07:00
Toad06 dab96ba01b tests: Don't get fooled by GET parameters that look like a file extension 2020-12-13 15:38:18 -08:00
Toad06 5d55a60924
web: Avoid double polyfilling object-inside-object
* web: Avoid double polyfilling object-inside-object
* tests: Add polyfill test for object inside object
2020-12-10 13:36:40 -08:00
Toad06 83fcd7ba40 tests: Checks that iframe correctly fires its onload event 2020-12-09 17:01:20 -08:00
Toad06 457d707ec2 tests: `polyfills` option is now a boolean, defaulting to true 2020-12-07 15:22:51 -08:00
Toad06 49d4197dbf tests: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
Mike Welsh e84c432b00 tests: Add SWFObject.js polyfill test 2020-11-27 21:11:05 -08:00
Mike Welsh 7898776e0c tests: Add polyfill tests for missing movie 2020-11-26 18:19:57 -08:00
Mike Welsh 5d99dce16c tests: Add polyfill test for object+embed with only clsid 2020-11-26 18:19:57 -08:00
Mike Welsh b128c876ea tests: Alter embed-inside-object polyfill tests to expect ruffle-embed 2020-11-26 18:19:57 -08:00
Nathan Adams d21cb8473b web: Rename RufflePlayer.trace_observer to RufflePlayer.traceObserver 2020-11-24 16:36:33 -08:00
Nathan Adams 37ef9c15b4 web: Rename RufflePlayer.play_button_clicked to
RufflePlayer.playButtonClicked
2020-11-24 16:36:33 -08:00
Nathan Adams b7b67cacb2 web: Merge flashvars with swf url query vars 2020-10-12 15:28:16 -07:00
Nathan Adams 30fffa8022 test: Add tests for flashvars on web 2020-10-12 15:28:16 -07:00
Toad06 904b5c1463 web: Add missing file for the case-insensitive test 2020-10-09 12:25:37 -07:00
Toad06 6589710a61 web: Add tests to check swf extension 2020-10-09 12:25:37 -07:00
JustinCB d4fa329c54 web(test): Add test for fixed issue 2020-10-08 23:35:33 -07:00
Nathan Adams 085c61b94f tests: In browser based tests, actually press play and check that the movie spits out some text 2020-09-13 13:51:39 -07:00
Toad06 048bfaf53d tests: Add polyfill samples from #457 2020-09-07 13:16:44 -07:00
JustinCB 808b6588ab web(test): Add test for spl 2020-08-20 05:30:28 -07:00
Justin-CB 0cdad7520f web(tests): Enable pdf test, which works now 2020-08-18 11:25:15 -07:00
JustinCB 4f755eafff web: Add tests for new behaviour 2020-07-14 09:12:36 -07:00
Nathan Adams 9376003459 tests: Increase polyfill timeout to 30 seconds. Fixes #657 2020-06-09 16:47:34 -07:00
JustinCB e4f7c950bb chore: Enable fixed tests 2020-05-26 23:56:36 -07:00
Nathan Adams d846ed943b web: Split frame/iframe polyfill tests into provided vs injected, as we see issues with one or the other 2020-05-24 08:57:16 -07:00
Nathan Adams 8a32f0d053 web: Add polyfill test for <iframe>s 2020-05-24 08:57:16 -07:00
Nathan Adams a7abdba49c web: Add test for classic <frame>s 2020-05-24 08:57:16 -07:00
Nathan Adams a0bfe72b19 web: Add polyfill tests 2020-05-24 08:57:16 -07:00