Files
serenity/Userland/Libraries/LibWeb/HTML/Window.cpp
Alan Kemp ae8d143338 LibWeb: Pageshow event dispatched by the user agent should be trusted
The spec says that "isTrusted is a convenience that indicates whether
an event is dispatched by the user agent (as opposed to using
dispatchEvent())"

But when dispatching a pageshow event the flag was incorrectly set
to false.

This fixes https://wpt.fyi/results/html/syntax/parsing/the-end.html

(cherry picked from commit d2fbbabd893d84a6b8b68a8bc8034e4d6dc4da4a)
2024-11-25 09:21:14 -05:00

79 KiB