1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Libraries/LibWeb
Andreas Kling 37c287b1d4 LibWeb: Disallow cross-origin access to <iframe>.contentDocument
With this patch, we now enforce basic same-origin policy for this one
<iframe> attribute.

To make it easier to add more attributes like this, I've added an
extended IDL attribute ("[ReturnNullIfCrossOrigin]") that does exactly
what it sounds like. :^)
2020-09-22 20:10:20 +02:00
..
Bindings LibWeb: Add WindowObject::origin() 2020-09-22 20:10:20 +02:00
CodeGenerators LibWeb: Disallow cross-origin access to <iframe>.contentDocument 2020-09-22 20:10:20 +02:00
CSS LibWeb: Add support for viewport-relative length units (#3433) 2020-09-08 20:39:09 +02:00
DOM LibJS: Move the current exception from Interpreter to VM 2020-09-22 20:10:20 +02:00
HTML LibWeb: Disallow cross-origin access to <iframe>.contentDocument 2020-09-22 20:10:20 +02:00
Layout LibWeb: Rename HTMLIFrameElement::hosted_frame() => content_frame() 2020-09-22 20:10:20 +02:00
Loader LibWeb: Dispatch DOM "load" event on <iframe> elements 2020-09-22 20:10:20 +02:00
Page LibWeb: Rename HTMLIFrameElement::hosted_frame() => content_frame() 2020-09-22 20:10:20 +02:00
Painting LibWeb: Only paint focus outline when browser window has focus 2020-08-15 00:05:45 +02:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: SVG: implement SmoothQuadraticBezierCurve 2020-09-08 13:57:18 +02:00
Tests LibWeb: Implement document ready state 2020-08-31 23:05:51 +02:00
UIEvents LibWeb: Oops, provide the correct WrapperType for UIEvent 2020-07-28 19:40:11 +02:00
CMakeLists.txt LibWeb: Add Bindings::ScriptExecutionContext 2020-09-20 19:22:44 +02: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: Implement <template> parsing 2020-08-21 11:57:11 +02:00
Dump.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02: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: Dispatch DOM "load" event on <iframe> elements 2020-09-22 20:10:20 +02:00
InProcessWebView.cpp LibWeb: Register the InProcessWebView widget 2020-09-14 16:16:36 +02:00
InProcessWebView.h LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
LayoutTreeModel.cpp LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
LayoutTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Origin.h LibWeb: Add Origin::is_same(const Origin&) 2020-09-22 20:10:20 +02:00
OutOfProcessWebView.cpp LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
OutOfProcessWebView.h LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +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: Move tree iteration helpers from Node/LayoutNode to TreeNode 2020-08-10 15:21:23 +02: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 LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
WebContentClient.cpp LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebContentClient.h LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebViewHooks.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00