jquery/test/unit
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
..
ajax.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
animation.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
attributes.js Attributes: Make .attr( name, false ) remove for all non-ARIA attrs 2024-03-20 00:46:30 +01:00
basic.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
callbacks.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
core.js CSS:Selector: Align with 3.x, remove the outer selector.js wrapper 2023-09-20 02:31:35 +02:00
css.js Tests: Use allowlist instead of whitelist 2024-03-01 00:40:41 +01:00
data.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
deferred.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
deprecated.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
dimensions.js Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00
effects.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
event.js Tests: Make the beforeunload event tests work regardless of extensions 2024-04-25 00:24:55 +02:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
offset.js Offset: Increase search depth when finding the 'real' offset parent 2024-04-19 15:47:52 +02:00
queue.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
ready.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
selector.js Attributes: Make .attr( name, false ) remove for all non-ARIA attrs 2024-03-20 00:46:30 +01:00
serialize.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
support.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
traversing.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
tween.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
wrap.js Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00