[Webkit-unassigned] [Bug 103263] onloadeddata callback is not implemented on HTMLElement
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 9 01:40:00 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=103263
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |karlcow at apple.com
--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
not sure the failures on activeCues are due to onloadeddata
Most of the subtests are passing there
http://wpt.live/html/semantics/embedded-content/media-elements/interfaces/TextTrack/activeCues.html
For example the first test failing in Safari is
TextTrack.activeCues, empty list
For Safari
assert_not_equals(null, null, "t2.activeCues should not be null")
/html/semantics/embedded-content/media-elements/interfaces/TextTrack/activeCues.html:32:22
For Firefox
assert_not_equals(object "[object TextTrackCueList]", null, "t2.activeCues should not be null")
/html/semantics/embedded-content/media-elements/interfaces/TextTrack/acti
And onloadeddata is called but this is on a VideoElement.
This probably needs a different test.
Antoine said:
HTMLElement interface defines an .onloadeddata property
Let's see
https://html.spec.whatwg.org/multipage/dom.html#htmlelement
It's defined in the Global
https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers-on-elements,-document-objects,-and-window-objects
> The following are the event handlers (and their corresponding event handler event types) that must be supported by all HTML elements, as both event handler content attributes and event handler IDL attributes; and that must be supported by all Document and Window objects, as event handler IDL attributes:
https://html.spec.whatwg.org/multipage/media.html#mediaevents
> The following events fire on media elements as part of the processing model described above:
In JSHTMLElement.cpp
https://searchfox.org/wubkat/source/__GENERATED__/WebCore/DerivedSources/JSHTMLElement.cpp#505
{ "onloadeddata"_s, JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute, NoIntrinsic, { HashTableValue::GetterSetterType, jsHTMLElement_onloadeddata, setJSHTMLElement_onloadeddata } },
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240509/f3430aa8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list