summaryrefslogtreecommitdiff
path: root/Demos/Cube
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-10-31 20:36:50 +0000
committerAndreas Kling <kling@serenityos.org>2020-11-01 10:23:08 +0100
commit3482b9b937aa29125e9585b76ad417c710d97aa3 (patch)
tree3c0da2a938bc7373cf0daa2a1bc22d2531a980c1 /Demos/Cube
parent4007ba5137d28918d527535a9ee639beba3dc6f9 (diff)
downloadserenity-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