Andreas Kling
42243d2e06
LibWeb: Rename Web::HtmlView => Web::PageView
...
This widget doesn't just view HTML, it views a web page. :^)
2020-05-28 18:22:54 +02:00
Linus Groh
14dffe4721
LibWeb: Set window object as this value in set{Interval,Timeout}()
2020-05-21 15:18:08 +02:00
Andreas Kling
3b11e471bd
LibWeb: Allow reloading the current page with location.reload()
2020-05-18 22:05:13 +02:00
Andreas Kling
efdfdbabdb
LibWeb: Allow navigating to a new URL by setting window.location.href
2020-05-18 21:52:50 +02:00
Andreas Kling
aaf35112a4
LibJS: Pass JS::Function around by reference more
2020-04-29 13:43:57 +02:00
Andreas Kling
54133c683d
LibWeb: Hack requestAnimationFrame() to provide a (very fake) timestamp
2020-04-21 23:49:09 +02:00
Nick Tiberi
1f6578ee0a
LibWeb: Implement JS confirm()
2020-04-17 13:41:03 +02:00
Andreas Kling
ca90f88d4e
LibWeb: Add window.setTimeout()
...
This also leaks the timer just like setInterval() (FIXME).
2020-04-05 00:56:16 +02:00
Andreas Kling
d062d7baa7
LibWeb+LibJS: Move DOM Window object to dedicated classes
...
LibWeb now creates a WindowObject which inherits from GlobalObject.
Allocation of the global object is moved out of the Interpreter ctor
to allow for specialized construction.
The existing Window interfaces are moved to WindowObject with their
implementation code in the new Window class.
2020-04-01 18:57:00 +02:00