mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
1975640e31
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. |
||
---|---|---|
.. | ||
AK | ||
ClangPlugins | ||
LibAudio | ||
LibCompress | ||
LibCore | ||
LibCrypto | ||
LibDiff | ||
LibGfx | ||
LibJS | ||
LibMedia | ||
LibRegex | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTLS | ||
LibTTF | ||
LibUnicode | ||
LibURL | ||
LibWasm | ||
LibWeb | ||
LibWebView | ||
LibXML | ||
Resources | ||
CMakeLists.txt |