You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceTimeEvent : Event {
readonly attribute WindowProxy? view;
readonly attribute long detail;
undefined initTimeEvent(DOMString typeArg, Window? viewArg, long detailArg);
};
I noticed that TimeEvent does not have a constructor. And as far as I can tell there is no reserved name for document.createEvent(...) either. I think this means that there is no way for JS code to create a TimeEvent, and that the initTimeEvent method is rather pointless.
I noticed that
TimeEvent
does not have a constructor. And as far as I can tell there is no reserved name fordocument.createEvent(...)
either. I think this means that there is no way for JS code to create aTimeEvent
, and that theinitTimeEvent
method is rather pointless.I came across this when I was writing a test for a fix to some weird behavior in Firefox related to these events which was in the way of some performance optimizations.
The text was updated successfully, but these errors were encountered: