1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:07:43 +00:00
serenity/Userland/Libraries/LibWeb
Idan Horowitz a63c7549e1 LibWeb: Implement window.open
This implementation is some-what complete, with the most common missing
/broken feature being opening pages in new tabs using the "_blank"
target.

This is currently broken due to 2 reasons:
 - We currently always claim the Window does not have transient
   activation, as we do not track the transient activation timestamp
   yet. This means that all such window.open calls are detected as
   pop-ups, and as such they are blocked. This can be easily bypassed
   by unchecking the 'Block Pop-ups' checkbox in the debug menu.
 - There is currently no mechanism for the WebContent process to
   request a new tab to be created by the Browser process, and as
   such the call to BrowsingContext::choose_a_browsing_context does not
   actually open another tab.
2022-11-15 21:48:19 +00:00
..
Bindings LibWeb: Implement window.location.origin 2022-11-13 16:37:09 -07:00
Cookie Userland: Properly define IPC::encode and IPC::decode specializations 2022-11-15 13:25:51 -05:00
Crypto LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
CSS LibWeb: Handle inset properties in style_value_for_property() 2022-11-14 21:22:27 +00:00
DOM LibWeb: Check that there's a head element before looking for favicons 2022-11-07 14:10:41 +01:00
DOMParsing LibWeb: Use StringView literals for all WebIDL::SimpleExceptions 2022-10-29 15:48:46 +01:00
Encoding LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Fetch LibWeb: Remove unused type XMLHttpRequestBodyInit 2022-11-11 00:39:12 -07:00
FileAPI LibWeb: Add FileList from the FileAPI spec 2022-10-04 22:05:14 +02:00
Geometry LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HighResolutionTime LibWeb: Partially implement 'relative high resolution time' AOs 2022-10-30 20:10:29 +00:00
HTML LibWeb: Implement window.open 2022-11-15 21:48:19 +00:00
Infra LibWeb: Add is_code_unit_prefix() function 2022-10-24 23:06:56 +01:00
IntersectionObserver LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Layout LibWeb: Finish half-written comment in abspos height calculation 2022-11-09 16:16:10 +01:00
Loader LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
MimeSniff LibWeb: Merge latest mimesniff spec update 2022-11-11 12:13:09 +00:00
NavigationTiming LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Page LibWeb: Add 'should block pop ups' user config to Page 2022-11-15 21:48:19 +00:00
Painting LibWeb: Paint repeating-conic-gradient()s 2022-11-07 13:13:22 +00:00
Platform LibWeb+WebContent: Add EventLoopPlugin::quit() virtual 2022-10-08 10:54:52 +02:00
ReferrerPolicy LibWeb: Implement 'Determine request’s Referrer' AO 2022-10-30 20:10:29 +00:00
RequestIdleCallback LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
ResizeObserver LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SecureContexts LibWeb: Implement 'Is url potentially trustworthy?' AO 2022-10-30 20:10:29 +00:00
Selection LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
Streams LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVG LibWeb: Make SVG::AttributeParser use the new double parser 2022-10-23 15:48:45 +02:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Fire a keypress event after firing a keydown event 2022-11-07 14:10:41 +01:00
URL LibWeb: Implement 'host is domain' concept from the URL spec 2022-10-30 20:10:29 +00:00
WebAssembly LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
WebDriver Userland: Properly define IPC::encode and IPC::decode specializations 2022-11-15 13:25:51 -05:00
WebGL LibWeb: Remove unecessary dependence on Window from WebGL and WebSocket 2022-10-01 21:05:32 +01:00
WebIDL LibWeb: Mark WebIDL::ExceptionOr<T> as [[nodiscard]] 2022-10-31 14:12:44 +00:00
WebSockets LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
XHR LibWeb: Implement XMLHttpRequest.withCredentials 2022-11-14 10:00:11 +00:00
XML LibXML+LibWeb: Store the XML document's original source 2022-11-03 14:52:16 +00:00
CMakeLists.txt LibWeb: Re-implement WebDriver endpoint handling within Web::WebDriver 2022-11-13 16:41:07 +00:00
Dump.cpp LibWeb: Recognise the ::placeholder pseudo element 2022-11-07 14:10:41 +01:00
Dump.h LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
FontCache.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
FontCache.h LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Forward.h LibWeb: Add ConicGradientStyleValue 2022-11-01 23:07:05 +00:00
idl_files.cmake LibWeb: Expose NodeFilter on the Window object 2022-10-28 16:17:08 +01:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TreeNode.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00