summaryrefslogtreecommitdiffstats
path: root/dom/security/test/general/file_framing_xfo_embed_object.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/general/file_framing_xfo_embed_object.sjs')
-rw-r--r--dom/security/test/general/file_framing_xfo_embed_object.sjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/security/test/general/file_framing_xfo_embed_object.sjs b/dom/security/test/general/file_framing_xfo_embed_object.sjs
new file mode 100644
index 0000000000..56616b7930
--- /dev/null
+++ b/dom/security/test/general/file_framing_xfo_embed_object.sjs
@@ -0,0 +1,7 @@
+"use strict";
+
+function handleRequest(request, response) {
+ response.setHeader("Cache-Control", "no-cache", false);
+ response.setHeader("x-frame-options", "deny", false);
+ response.write("<html>doc with x-frame-options: deny</html>");
+}