ladybird/Tests
sideshowbarker 1975640e31 LibWeb: Make “create an event” set the event’s isTrusted to true
This change ensures that when then the code corresponding to the “create
an event” operation at https://dom.spec.whatwg.org/#concept-event-create
is called, the event’s isTrusted is set to true — as the spec requires.

That causes the failures for the following WPT tests to pass:

- https://wpt.fyi/results/html/semantics/forms/the-input-element/checkbox.html?run_id=5080423051034624
- https://wpt.fyi/results/html/semantics/interactive-elements/the-dialog-element/dialog-close.html?run_id=5080423051034624

…and there are likely a number of similar WPT tests that hit this same
code path which this commit will cause to be changed to passes.

Otherwise, without this change, the “create event” implementation
doesn’t conform to the spec requirements – nor behave interoperably with
other existing engines — and those WPT test would continue to fail.

This change also ensures that isTrusted continues to be set to false for
synthetic events.
2024-09-03 00:14:31 -06:00
..
AK Tests: Convert Swift tests to use Testing module where possible 2024-08-28 21:27:35 -06:00
ClangPlugins ClangPlugins: Add -Wno-unqualified-std-cast-call to test compile options 2024-08-26 17:24:53 -04:00
LibAudio Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCompress Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCore LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibCrypto LibCrypto: Move some data around earlier in GHash to make it go faster 2024-05-20 08:03:35 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibGfx LibGfx: Rename Painter => DeprecatedPainter 2024-08-20 09:30:05 +02:00
LibJS LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibMedia Tests: Do not install LibMedia test files 2024-07-25 13:25:09 -06:00
LibRegex LibRegex: Account for extra explicit And/Or in class parser assertion 2024-03-24 08:24:46 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Implement iso-2022-jp encoder 2024-08-08 17:49:58 +01:00
LibThreading LibThreading: ThreadPool deadlock test 2024-08-19 03:08:04 +02:00
LibTLS Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
LibTTF LibGfx/OpenType: Ensure Cmap subtable offset is within expected range 2023-11-11 22:20:17 +01:00
LibUnicode LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibURL LibURL: Remove unspecified steps in URL file slash parsing state 2024-08-06 07:58:07 +01:00
LibWasm LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
LibWeb LibWeb: Make “create an event” set the event’s isTrusted to true 2024-09-03 00:14:31 -06:00
LibWebView LibWebView: Allow data URLs in sanitize_url 2024-06-24 06:31:17 -04:00
LibXML LibXML: Actually append resolved references when parsing content 2023-07-23 16:09:12 +02:00
Resources Tests: Convert Swift tests to use Testing module where possible 2024-08-28 21:27:35 -06:00
CMakeLists.txt LibTimeZone: Remove LibTimeZone and TZDB data 2024-06-26 10:14:02 +02:00