1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:17:35 +00:00
serenity/Libraries/LibWeb/DOM
Andreas Kling 8d2194bdbd LibWeb: Make DOM timers cancellable and stop leaking them
This patch adds a Web::Timer object that represents a single timer
registration made with window.setTimeout() or window.setInterval().
All live timers are owned by the DOM Window object.

The timers can be stopped via clearTimeout() or clearInterval().
Note that those API's are actually interchangeable, but we have to
support both.
2020-06-27 20:02:04 +02:00
..
Attribute.h LibWeb: Move Attribute to its own header file 2020-05-22 21:45:00 +02:00
AttributeNames.cpp LibWeb: Special-case initialization of HTML::AttributeNames::class_ 2020-06-03 22:06:52 +02:00
AttributeNames.h LibWeb: Add "data" to HTML::AttributeNames 2020-06-13 22:21:25 +02:00
CanvasRenderingContext2D.cpp LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CanvasRenderingContext2D.h LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CanvasRenderingContext2D.idl LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CharacterData.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CharacterData.h LibWeb: Start implementing character token parsing 2020-05-24 23:54:22 +02:00
Comment.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Comment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Document.cpp LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Document.h LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Document.idl LibWeb: Add Document.getElementsByTagName() 2020-06-26 00:53:25 +02:00
DocumentFragment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
DocumentType.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DocumentType.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Element.cpp LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Element.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Element.idl LibWeb: Add Element.tagName and Element.className 2020-06-21 12:01:13 +02:00
ElementFactory.cpp LibWeb: Add basic <object> element support 2020-06-13 22:24:49 +02:00
ElementFactory.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Event.h LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
Event.idl LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
EventListener.cpp LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventListener.h LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventTarget.cpp LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
EventTarget.h LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
EventTarget.idl LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
HTMLAnchorElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLAnchorElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBlinkElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBlinkElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBodyElement.cpp LibWeb: Fix <body> and <img> elements not parsing their class attribute 2020-06-04 16:04:52 +02:00
HTMLBodyElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBRElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLBRElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.idl LibWeb: Generate HTMLCanvasElement bindings from IDL :^) 2020-06-21 15:37:13 +02:00
HTMLElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLElement.h LibWeb: Add HTMLElement wrapper 2020-06-21 14:39:15 +02:00
HTMLElement.idl LibWeb: Add HTMLElement wrapper 2020-06-21 14:39:15 +02:00
HTMLFontElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFontElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLFormElement.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
HTMLFormElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHeadElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHtmlElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHtmlElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLIFrameElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLIFrameElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.idl LibWeb: Generate HTMLImageElement bindings from IDL :^) 2020-06-21 15:26:09 +02:00
HTMLInputElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLInputElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLLinkElement.cpp LibWeb: Don't load stylesheets with rel="alternate" 2020-06-15 20:31:18 +02:00
HTMLLinkElement.h LibWeb: Don't load stylesheets with rel="alternate" 2020-06-15 20:31:18 +02:00
HTMLObjectElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLObjectElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLScriptElement.cpp LibWeb: Let HTMLScriptElement call Document::run_javascript() 2020-06-23 16:45:01 +02:00
HTMLScriptElement.h LibWeb: Remove hacky old ways of running <script> element contents 2020-06-23 16:45:01 +02:00
HTMLStyleElement.cpp LibWeb: Process style sheets in document order 2020-06-04 16:06:32 +02:00
HTMLStyleElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTableCellElement.cpp LibWeb: Turn <td align> into CSS text-align 2020-06-13 15:16:56 +02:00
HTMLTableCellElement.h LibWeb: Turn <td bgcolor> into background-color 2020-06-12 22:47:51 +02:00
HTMLTableElement.cpp LibWeb: Turn <table bgcolor> into CSS background-color 2020-06-13 12:49:20 +02:00
HTMLTableElement.h LibWeb: Turn <table width> into the CSS width property 2020-06-12 22:52:38 +02:00
HTMLTableRowElement.cpp LibWeb: Add (stub) HTMLTable{,Cell,Row}Element C++ classes 2020-06-07 23:10:45 +02:00
HTMLTableRowElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTitleElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLTitleElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
ImageData.cpp LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
ImageData.h LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
ImageData.idl LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
MouseEvent.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
MouseEvent.idl LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
Node.cpp LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Node.h LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Node.idl LibWeb: Add Node.insertBefore(Node node, Node? child) 2020-06-21 17:42:00 +02:00
NonElementParentNode.h LibWeb: Add cached global attribute name FlyStrings 2020-05-26 23:45:43 +02:00
ParentNode.cpp LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
ParentNode.h LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
TagNames.cpp LibWeb: Use HTML::TagNames globals in the new HTML parser 2020-06-07 23:53:16 +02:00
TagNames.h LibWeb: Update parser with more insertion modes :^) 2020-06-21 10:13:31 +02:00
Text.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Text.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Timer.cpp LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
Timer.h LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
Window.cpp LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
Window.h LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
XMLHttpRequest.cpp LibWeb: Make wrapper factory functions take JS::GlobalObject& 2020-06-23 16:57:39 +02:00
XMLHttpRequest.h LibWeb: Add XMLHttpRequest.readyState and constants 2020-04-23 11:03:17 +02:00