1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:14:58 +00:00
serenity/Userland/Libraries/LibWebView
Timothy Flynn f07f5a2622 LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML
Attribute values may contain HTML, and may contain invalid HTML at that.
If the latter occurs, let's not generate invalid Inspector HTML when we
embed the attribute values as data attributes. Instead, cache the values
in the InspectorClient, and embed just a lookup index into the HTML.

This also nicely reduces the size of the generated HTML. The Inspector
on https://github.com/SerenityOS/serenity reduces from 2.3MB to 1.9MB
(about 318KB, or 13.8%).
2024-02-20 17:04:36 +01:00
..
Attribute.cpp LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
Attribute.h LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
CMakeLists.txt LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
CookieJar.cpp LibWebView: Port the CookieJar to String 2024-01-26 20:22:39 +01:00
CookieJar.h LibWebView: Port the CookieJar to String 2024-01-26 20:22:39 +01:00
Database.cpp Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Database.h Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Forward.h LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
History.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
History.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
InspectorClient.cpp LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
InspectorClient.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
OutOfProcessWebView.cpp Ladybird+WebContent: Update IPC calls to handle multiple traversables 2024-02-03 20:51:37 -05:00
OutOfProcessWebView.h Ladybird: Add ability to create a tab without creating a new WebContent 2024-02-03 20:51:37 -05:00
RequestServerAdapter.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
RequestServerAdapter.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
SearchEngine.cpp LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SearchEngine.h LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SocketPair.cpp LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
SocketPair.h LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
SourceHighlighter.cpp LibWebView: Extract CSS to highlight HTML source to a constant 2023-11-24 08:37:19 +01:00
SourceHighlighter.h LibWebView: Implement a WebView-based Inspector client 2023-11-24 08:37:19 +01:00
URL.cpp LibFileSystem+Userland: Return ByteString from real_path() 2024-01-16 08:42:34 +00:00
URL.h LibWebView: Add some helpers for "Copy email/telephone" functionality 2023-12-05 11:36:22 -05:00
UserAgent.cpp Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
UserAgent.h Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ViewImplementation.cpp Ladybird+WebContent: Update IPC calls to handle multiple traversables 2024-02-03 20:51:37 -05:00
ViewImplementation.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebContentClient.cpp LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebContentClient.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebSocketClientAdapter.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WebSocketClientAdapter.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30