mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 589457 - remove delay from test_x-frame-options response, r=ehsan, a=testonly
This commit is contained in:
parent
2e7aa8b527
commit
fdb10cdcc5
@ -12,7 +12,6 @@ function handleRequest(request, response)
|
||||
|
||||
// X-Frame-Options header value
|
||||
if (query['xfo'] == "deny") {
|
||||
for (var i = 0 ; i < 0x7fffff ; i++) { }
|
||||
response.setHeader("X-Frame-Options", "DENY", false);
|
||||
}
|
||||
else if (query['xfo'] == "sameorigin") {
|
||||
|
Loading…
Reference in New Issue
Block a user