Bug 589457 - remove delay from test_x-frame-options response, r=ehsan, a=testonly

This commit is contained in:
Brandon Sterne 2011-03-17 09:21:13 -07:00
parent 2e7aa8b527
commit fdb10cdcc5

View File

@ -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") {