4 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
5964acf330 Tests: Fix module/nomodule tests flakiness
The module/nomodule tests are the most flaky ones, contributing significantly
to increase number of test failures (somewhat mitigated by auto-retries).

Fix flakiness of module/nomodule tests:
1. For module tests, increase the timeout to 5 seconds. In order for most tests
   to not wait that long, change callbacks called by module scripts to verify
   the results as soon as all scripts have run.
2. For nomodule tests, run the check in 1 second. All modern browsers will
   need to wait that long, hence a smaller timeout, and if occasionally the
   check runs too quickly, the test will still pass.

Closes gh-5699
2025-09-15 18:27:13 +02:00
Michał Gołębiowski-Owczarek
3527a38405 Core: Remove IE-specific support tests, rely on document.documentMode
Also, update some tests to IE-sniff when deciding whether
to skip a test.

Fixes gh-4386
Closes gh-4387
2019-05-13 21:39:56 +02:00
Michał Gołębiowski-Owczarek
6ced2639b5 Build: Update QUnit from 1.23.1 to 2.9.2
Closes gh-4307
2019-03-04 20:10:21 +01:00
Michał Gołębiowski-Owczarek
e4de8b4626 Manipulation: Respect script nomodule attribute in DOM manipulation
PR #3869 added support for `<script type="module">` & some support for
the `nomodule` attribute but with no tests for `nomodule` and with the
attribute only respected on inline scripts. This commit adds support for
source-based scripts as well. It also adds tests for `nomodule`, including
making sure legacy browsers execute such scripts as they'd natively do - that's
the whole point of `nomodule` scripts, after all.

Fixes gh-4281
Closes gh-4282
Ref gh-3871
Ref gh-3869
2019-01-21 18:34:40 +01:00