Andrew Kaster 
								
							 
						 
						
							
							
							
							
								
							
							
								7f043e3083 
								
							 
						 
						
							
							
								
								LibWeb: Add window.navigation property  
							
							
							
						 
						
							2023-08-24 11:03:57 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Aliaksandr Kalenik 
								
							 
						 
						
							
							
							
							
								
							
							
								5f21285337 
								
							 
						 
						
							
							
								
								LibWeb: Add Window::navigable()  
							
							
							
						 
						
							2023-08-22 20:30:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								72c9f56c66 
								
							 
						 
						
							
							
								
								LibJS: Make Heap::allocate<T>() infallible  
							
							... 
							
							
							
							Stop worrying about tiny OOMs. Work towards #20449 .
While going through these, I also changed the function signature in many
places where returning ThrowCompletionOr<T> is no longer necessary. 
							
						 
						
							2023-08-13 15:38:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								9f6ceff7cf 
								
							 
						 
						
							
							
								
								LibWeb: Implement basic version of CSSOM View's VisualViewport  
							
							... 
							
							
							
							We got some errors while loading https://twinings.co.uk/  about this
interface missing, and it looked fairly simple so I sketched it out.
Note that I did leave some FIXMEs where it's not clear exactly which
metrics we should be returning. 
							
						 
						
							2023-08-06 16:29:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								ec24d7555a 
								
							 
						 
						
							
							
								
								LibWeb: Add a simple internals objects only available during testing  
							
							... 
							
							
							
							This object is available as `window.internals` (or just `internals`) and
is only accessible while running in "test mode".
This first version only has one API: gc(), which triggers a garbage
collection immediately.
In the future, we can add more APIs here to help us test parts of the
engine that are hard or impossible to reach via public web APIs. 
							
						 
						
							2023-08-06 15:26:34 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shannon Booth 
								
							 
						 
						
							
							
							
							
								
							
							
								a975fca42e 
								
							 
						 
						
							
							
								
								LibWeb: Implement size attribute of ByteLengthQueuingStrategy  
							
							... 
							
							
							
							Co-authored-by: Matthew Olsson <mattco@serenityos.org> 
							
						 
						
							2023-06-23 13:27:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shannon Booth 
								
							 
						 
						
							
							
							
							
								
							
							
								49689e5d8e 
								
							 
						 
						
							
							
								
								LibWeb: Implement size attribute of CountQueuingStrategy  
							
							... 
							
							
							
							Co-authored-by: Matthew Olsson <mattco@serenityos.org> 
							
						 
						
							2023-06-23 13:27:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									stelar7 
								
							 
						 
						
							
							
							
							
								
							
							
								29029de839 
								
							 
						 
						
							
							
								
								LibWeb: Set last activation timestamp on the window  
							
							
							
						 
						
							2023-06-01 14:28:52 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								e43027091d 
								
							 
						 
						
							
							
								
								LibWeb: Don't include HTML/Window.h from DOM/Element.h  
							
							... 
							
							
							
							This required moving HTML::ScrollOptions to its own header file. 
							
						 
						
							2023-05-08 09:29:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								cbefab21be 
								
							 
						 
						
							
							
								
								LibWeb: Port fire_a_page_transition_event() to new FlyString  
							
							
							
						 
						
							2023-04-09 17:27:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								4d87072201 
								
							 
						 
						
							
							
								
								LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String  
							
							
							
						 
						
							2023-04-06 23:49:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Luke Wilde 
								
							 
						 
						
							
							
							
							
								
							
							
								034aaf3f51 
								
							 
						 
						
							
							
								
								LibWeb: Introduce CustomElementRegistry and creating custom elements  
							
							... 
							
							
							
							The main missing feature here is form associated custom elements. 
							
						 
						
							2023-04-06 11:36:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								9c569e8a0f 
								
							 
						 
						
							
							
								
								LibWeb: Implement the [PutForwards] IDL extended attribute  
							
							... 
							
							
							
							For example, consider the attribute:
    interface Element {
        [PutForwards=value] readonly attribute DOMTokenList classList;
    }
When `classList` is set, we should instead set the attribute `value` on
the `classList` attribute of the Element interface. 
							
						 
						
							2023-03-14 16:30:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								0aa4466ce9 
								
							 
						 
						
							
							
								
								LibWeb: Port {set,clear}{Timeout,Interval} to IDL  
							
							
							
						 
						
							2023-03-14 09:07:40 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								dd992e7dad 
								
							 
						 
						
							
							
								
								LibWeb: Move timer implementations to WindowOrWorkerGlobalScopeMixin  
							
							... 
							
							
							
							This is where it belongs according to the spec, and where these methods'
IDL will be placed.
This forces us to implement a few steps closer to the spec as well. 
							
						 
						
							2023-03-14 09:07:40 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								41b8d81d49 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Remove redundant namespace qualifiers from Window.{cpp,h}  
							
							
							
						 
						
							2023-03-11 18:26:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								324dacbc5d 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Propagate OOM errors from Window::{local,session}_storage()  
							
							... 
							
							
							
							This requires a bit of error type conversion glue as HashMap::try_ensure
expects the callback to return ErrorOr<T> like the function itself does. 
							
						 
						
							2023-03-11 18:26:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								4da68384e6 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Make Window::m{location,navigator} lazily allocated  
							
							... 
							
							
							
							This now matches the other window-owned objects, which already do this:
m_crypto, m_performance, m_screen. 
							
						 
						
							2023-03-11 17:53:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								b6a69f5f03 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Consolidate duplicate public/private sections in Window.h  
							
							
							
						 
						
							2023-03-11 17:09:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								351e5ca917 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.queueMicrotask() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								129ab02470 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.structuredClone() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								a31c561a5a 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.sessionStorage to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								37e9302dd9 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.localStorage to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								5cc6b1c4db 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.fetch() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								a2fb3a1653 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.cancelAnimationFrame() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								211e6c1fbc 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.requestAnimationFrame() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								86589f09dc 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.cancelIdleCallback() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								b410804f54 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.requestIdleCallback() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								606b9ff6f3 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.getSelection() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								56550b6ec0 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.focus() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								b59505aba5 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.getComputedStyle() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								8454eb874f 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.devicePixelRatio to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								46e547d774 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.outer{Width,Height} to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								80acf03278 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.screen{X,Y} / Window.screen{Left,Top} to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								3d075e55f5 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.scrollBy() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								2b6d9cca1a 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.scroll() to IDL  
							
							... 
							
							
							
							...with various changes required due to ScrollBehavior / ScrollOptions
moving from Element.idl to Window.idl. 
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								40b4ee88de 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.scroll{X,Y} / Window.page{X,Y}Offset to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								25f53a577d 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.inner{Width,Height} to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								0c691087ca 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.screen to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								2beb99b76e 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.matchMedia() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								198db2ebd9 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.crypto to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								7de9179a6d 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.performance to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								95ce5735ce 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.event to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								6dd1934ed8 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.atob() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								192f5e61f6 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.btoa() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								94f1eff291 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.isSecureContext to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								188aac5077 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.origin to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								376fb9ae40 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Hook up WindowOrWorkerGlobalScopeMixin to Window  
							
							... 
							
							
							
							This prepares us to use the shared implementations from this class. 
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								b2409517bd 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.open() to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								efa48142d2 
								
							 
						 
						
							
							
								
								LibWeb/HTML: Port Window.frameElement to IDL  
							
							
							
						 
						
							2023-03-07 23:33:34 +00:00