ladybird/Tests/LibWeb/Text/expected/wpt-import/dom/window-extends-event-target.txt
mikiubo d4df0e1db9 LibWeb: Make Event.currentTarget return WindowProxy instead of Window
Make WindowProxy implement the EventTarget interface. Add a new method
current_target_for_bindings() that returns a WindowProxy object instead
of directly exposing the Window object.

These changes fixes several WPT tests that contain `window ===
currentTarget`.
2025-10-15 15:36:34 +02:00

8 lines
No EOL
246 B
Text

Harness status: OK
Found 3 tests
3 Pass
Pass EventTarget methods on Window instances are inherited from the EventTarget prototype
Pass window.addEventListener respects custom `this`
Pass window.addEventListener treats nullish `this` as `window`