1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00
serenity/Libraries/LibWeb
Linus Groh 50b76e4cc7 LibWeb: Don't allocate XMLHttpRequestConstructor twice
add_constructor() will already allocate an XMLHttpRequestConstructor and
update m_xhr_constructor accordingly, we don't have to do it ourselves.
This is now in line with how all the LibJS constructors work. Also make
the XHR constructor responsible for setting its "prototype" property
itself, for consistency and fail-proofing.
Previously we would only set it on the constructor we allocated manually
but which was then thrown away, leading to the property never being set
properly.
2020-12-09 12:49:30 +01:00
..
Bindings LibWeb: Don't allocate XMLHttpRequestConstructor twice 2020-12-09 12:49:30 +01:00
CodeGenerators LibWeb: Don't generate a wrap() function for the Event IDL interface 2020-11-27 13:54:58 +01:00
CSS LibWeb: Uhh, scale back the default padding on <ul> and <ol> a bit 2020-12-07 21:37:00 +01:00
DOM LibWeb: Cache parsed inline style of DOM elements 2020-12-07 20:00:27 +01:00
DumpLayoutTree LibWeb: Add missing license header to DumpLayoutTree 2020-12-08 23:41:45 +01:00
HighResolutionTime LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
HTML LibWeb: <iframe src> same-origin check should be based on host document 2020-12-08 17:49:02 +01:00
Layout LibWeb: Compute final line box width *after* placing all fragments 2020-12-07 21:48:23 +01:00
Loader LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
Page LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
Painting LibWeb: Move border painting from Layout::Box to a free function 2020-12-04 18:02:21 +01:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Tests LibWeb: Add initial implementation of foreign content parsing 2020-10-22 15:24:42 +02:00
UIEvents LibWeb: Add HTML::EventNames and UIEvents::EventNames 2020-11-22 18:20:56 +01:00
CMakeLists.txt LibWeb: Build the DumpLayoutTree subdirectory 2020-12-08 23:41:56 +01:00
DOMTreeModel.cpp LibWeb: Implement <template> parsing 2020-08-21 11:57:11 +02:00
DOMTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Dump.cpp LibWeb: Allow dumping layout tree into a StringBuilder 2020-12-08 23:36:19 +01:00
Dump.h LibWeb: Allow dumping layout tree into a StringBuilder 2020-12-08 23:36:19 +01:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Cache parsed inline style of DOM elements 2020-12-07 20:00:27 +01:00
InProcessWebView.cpp LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
InProcessWebView.h LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
LayoutTreeModel.cpp LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block() 2020-12-04 16:27:07 +01:00
LayoutTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Namespace.cpp LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Namespace.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Origin.h LibWeb: Add Origin::is_same(const Origin&) 2020-09-22 20:10:20 +02:00
OutOfProcessWebView.cpp LibWeb: Remove an empty line from OOPWV 2020-12-08 23:40:45 +01:00
OutOfProcessWebView.h LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
QualifiedName.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
StylePropertiesModel.cpp LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
StylePropertiesModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
TreeNode.h LibWeb: Two more edge cases for TreeNode::insert_before. 2020-11-27 23:23:33 +01:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h Meta+LibHTTP through LibWeb: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
WebContentClient.cpp LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
WebContentClient.h LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00
WebViewHooks.h LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00