servo/tests/wpt/meta/html/webappapis/scripting/events
Andrei Volykhin 6468734aea
svg: Add mock SVGImageElement interface (#36975)
Add mock SVGImageElement interface to fix TIMEOUT WPT tests
which are related to ImageBitmap (html/canvas/*).
https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement

Rationality of this change to fire event "error" on any attempt to fetch
image resource on href attribute change to not block WPT tests
execution.

Some WPT tests use the legacy namespace attribute "xlink:href", so
support for it was added to source code.
https://svgwg.org/svg2-draft/linking.html#XLinkHrefAttribute
 - setAttributeNS("http://www.w3.org/1999/xlink", 'xlink:href', src);

Testing: Covered by existed WPT tests
 - fetch/metadata/generated/svg-image*
 - html/canvas/element/manual/*
 - html/dom/idlharness.https.html
 - html/semantics/embedded-content/the-canvas-element/*
 - html/webappapis/scripting/events/event-handler-all-global-events.html
 - mozilla/interfaces.https.html

Fixes: https://github.com/servo/servo/issues/35881

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
2025-05-13 10:43:10 +00:00
..
compile-event-handler-lexical-scopes-form-owner.html.ini
compile-event-handler-lexical-scopes.html.ini
compile-event-handler-settings-objects.html.ini Update web-platform-tests to revision b'504dbb9401e985461bdc3fb534cb26fd5bb9d9ad' (#31372) 2024-02-18 04:56:46 +00:00
event-handler-all-global-events.html.ini svg: Add mock SVGImageElement interface (#36975) 2025-05-13 10:43:10 +00:00
event-handler-attributes-body-window.html.ini Update the list of global and window event handlers (#36894) 2025-05-10 15:54:13 +00:00
event-handler-attributes-frameset-window.html.ini Update the list of global and window event handlers (#36894) 2025-05-10 15:54:13 +00:00
event-handler-non-content-document-idl-attributes.html.ini Update web-platform-tests to revision b'1a5b13545ae58e468ed11e4c21912a3faf3355ea' (#35384) 2025-02-09 01:38:02 +00:00
event-handler-removal.window.js.ini
invalid-uncompiled-raw-handler-compiled-late.window.js.ini
invalid-uncompiled-raw-handler-compiled-once.window.js.ini
invalid-uncompiled-raw-handler-keeps-position.window.js.ini
messageevent-constructor.https.html.ini