summaryrefslogtreecommitdiffstats
path: root/dom/security
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-05 18:44:16 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-05 18:44:16 +0000
commit1da42403ec84fcbb634a816bec0618e47d5e0b70 (patch)
tree88e47e0339f16123bcd7b6c6fc913676fafddd0f /dom/security
parent602fbdcb44861c98c096d4fb2078c52a21b8485b (diff)
downloadUXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.gz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.lz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.tar.xz
UXP-1da42403ec84fcbb634a816bec0618e47d5e0b70.zip
Issue #1525 - Kill marquee element (uplift)
Diffstat (limited to 'dom/security')
-rw-r--r--dom/security/test/csp/file_bug1312272.html13
-rw-r--r--dom/security/test/csp/file_strict_dynamic_script_events_xbl.html14
-rw-r--r--dom/security/test/csp/test_strict_dynamic.html7
3 files changed, 0 insertions, 34 deletions
diff --git a/dom/security/test/csp/file_bug1312272.html b/dom/security/test/csp/file_bug1312272.html
deleted file mode 100644
index 18e0e5589..000000000
--- a/dom/security/test/csp/file_bug1312272.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML>
-<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
-<html>
-<head>
- <meta charset="utf-8">
- <title>marquee inline script tests for Bug 1312272</title>
-</head>
-<body>
-<marquee id="m" onstart="parent.postMessage('csp-violation-marquee-onstart', '*')">bug 1312272</marquee>
-<script src="file_bug1312272.js"></script>
-</body>
-</html>
diff --git a/dom/security/test/csp/file_strict_dynamic_script_events_xbl.html b/dom/security/test/csp/file_strict_dynamic_script_events_xbl.html
deleted file mode 100644
index 701ef3226..000000000
--- a/dom/security/test/csp/file_strict_dynamic_script_events_xbl.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
- <title>Bug 1316826 - 'strict-dynamic' blocking DOM event handlers</title>
-</head>
-<body>
-<div id="testdiv">blocked</div>
-
-<marquee onstart='document.getElementById("testdiv").innerHTML = "allowed";'>
- Bug 1316826
-</marquee>
-
-</body>
-</html>
diff --git a/dom/security/test/csp/test_strict_dynamic.html b/dom/security/test/csp/test_strict_dynamic.html
index 00e75143f..8f1b53f31 100644
--- a/dom/security/test/csp/test_strict_dynamic.html
+++ b/dom/security/test/csp/test_strict_dynamic.html
@@ -79,13 +79,6 @@ var tests = [
policy: "script-src 'strict-dynamic' 'nonce-foo'"
},
{
- // marquee is a special snowflake. Extra test for xbl things.
- desc: "strict-dynamic with DOM events should be blocked (XBL)",
- result: "blocked",
- file: "file_strict_dynamic_script_events_xbl.html",
- policy: "script-src 'strict-dynamic' 'nonce-foo'"
- },
- {
desc: "strict-dynamic with JS URLs should be blocked",
result: "blocked",
file: "file_strict_dynamic_js_url.html",