diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-10-31 20:36:50 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-01 10:23:08 +0100 |
commit | 3482b9b937aa29125e9585b76ad417c710d97aa3 (patch) | |
tree | 3c0da2a938bc7373cf0daa2a1bc22d2531a980c1 /Demos/Cube | |
parent | 4007ba5137d28918d527535a9ee639beba3dc6f9 (diff) | |
download | serenity-3482b9b937aa29125e9585b76ad417c710d97aa3.zip |
LibWeb: Enforce Same-Origin Policy (SOP) for XMLHttpRequest requests
`DOM::XMLHttpRequest` now checks if the requested URL has the same
`Origin` as the requesting `Document`. If the requested URL is in
violation of SOP the request is rejected and an "error" `DOM::Event`
is dispatched.
Diffstat (limited to 'Demos/Cube')
0 files changed, 0 insertions, 0 deletions