jquery/test
Michał Gołębiowski-Owczarek 399a78ee9f
Tests: Make the beforeunload event tests work regardless of extensions
Some browser extensions, like React DevTools, send messages to the content area.
Since our beforeunload event test listens for all messages, it used to catch
those as well, failing the test.

Add a `source` field to the payload JSON and check for it before treating the
message as coming from our own test to make sure the test passes even with such
browser extensions installed.

Closes gh-5478
2024-04-25 00:24:55 +02:00
..
bundler_smoke_tests Core: Fix the exports setup to make bundlers work with ESM & CommonJS 2024-03-12 00:39:34 +01:00
data Tests: Make the beforeunload event tests work regardless of extensions 2024-04-25 00:24:55 +02:00
integration Event: Fix delegated radio events when arrow keys are used 2015-10-18 13:06:37 -04:00
node_smoke_tests Core: Fix the exports setup to make bundlers work with ESM & CommonJS 2024-03-12 00:39:34 +01:00
promises_aplus_adapters Core: Move the factory to separate exports 2023-09-19 18:58:24 +02:00
runner Tests: share queue/browser handling for all worker types 2024-04-01 10:23:36 -04:00
unit Tests: Make the beforeunload event tests work regardless of extensions 2024-04-25 00:24:55 +02:00
delegatetest.html Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00
hovertest.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
index.html Tests: reuse browser workers in BrowserStack tests (#5428) 2024-03-05 14:44:01 -05:00
jquery.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
middleware-mockserver.cjs Build: drop support for Node 10 2024-03-09 10:36:47 -05:00
networkerror.html Docs: Replace #NUMBER Trac issue references with trac-NUMBER 2022-01-04 16:27:18 +01:00
xhtml.php Added a way to run the test suite as an XHTML page. 2009-01-19 18:14:51 +00:00