mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Set timestamp for DOM Events
This commit is contained in:
parent
51a52a867c
commit
ccd16c847e
Notes:
sideshowbarker
2024-07-17 08:27:05 +09:00
Author: https://github.com/shannonbooth
Commit: ccd16c847e
Pull-request: https://github.com/SerenityOS/serenity/pull/23935
2 changed files with 6 additions and 2 deletions
|
@ -1661,10 +1661,9 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<Event>> Document::create_event(StringView i
|
|||
// NOTE: These are done in the if-chain above
|
||||
// 5. Let event be the result of creating an event given constructor.
|
||||
// 6. Initialize event’s type attribute to the empty string.
|
||||
// 7. Initialize event’s timeStamp attribute to the result of calling current high resolution time with this’s relevant global object.
|
||||
// NOTE: This is handled by each constructor.
|
||||
|
||||
// FIXME: 7. Initialize event’s timeStamp attribute to the result of calling current high resolution time with this’s relevant global object.
|
||||
|
||||
// 8. Initialize event’s isTrusted attribute to false.
|
||||
event->set_is_trusted(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue