summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/unsafe-hashes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/content-security-policy/unsafe-hashes
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/unsafe-hashes')
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/__dir__.ini1
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-href_blank.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_location.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_open.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_location.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_open.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-attr.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-elem.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_location.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_open.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_allowed.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_missing_unsafe_hashes.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_wrong_hash.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_allowed.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_missing_unsafe_hashes.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_wrong_hash.html.ini3
21 files changed, 61 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/__dir__.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/__dir__.ini
new file mode 100644
index 0000000000..ecd25ae52a
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.targetBlankNoOpener.enabled:false, security.csp.unsafe-hashes.enabled:true]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-href_blank.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-href_blank.html.ini
new file mode 100644
index 0000000000..b246e21d3d
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-href_blank.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_allowed-href_blank.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_location.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_location.html.ini
new file mode 100644
index 0000000000..8389a861b3
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_location.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_allowed-window_location.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_open.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_open.html.ini
new file mode 100644
index 0000000000..ba124c7b54
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_allowed-window_open.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_allowed-window_open.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html.ini
new file mode 100644
index 0000000000..c292b6d3da
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-attr.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html.ini
new file mode 100644
index 0000000000..39167678ec
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_missing_unsafe_hashes-href_blank-script-src-elem.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank.html.ini
new file mode 100644
index 0000000000..d0c3fca4c7
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-href_blank.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_missing_unsafe_hashes-href_blank.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_location.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_location.html.ini
new file mode 100644
index 0000000000..6da98d6a99
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_location.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_missing_unsafe_hashes-window_location.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_open.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_open.html.ini
new file mode 100644
index 0000000000..61473ae657
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_missing_unsafe_hashes-window_open.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_missing_unsafe_hashes-window_open.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href.html.ini
new file mode 100644
index 0000000000..5c7214748b
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-href.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-attr.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-attr.html.ini
new file mode 100644
index 0000000000..2276ff8dac
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-attr.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-href_blank-script-src-attr.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-elem.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-elem.html.ini
new file mode 100644
index 0000000000..bf8489cbba
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank-script-src-elem.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-href_blank-script-src-elem.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank.html.ini
new file mode 100644
index 0000000000..965ac7f2a2
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-href_blank.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-href_blank.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_location.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_location.html.ini
new file mode 100644
index 0000000000..afce1781e9
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_location.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-window_location.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_open.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_open.html.ini
new file mode 100644
index 0000000000..adec8f787a
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/javascript_src_denied_wrong_hash-window_open.html.ini
@@ -0,0 +1,3 @@
+[javascript_src_denied_wrong_hash-window_open.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_allowed.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_allowed.html.ini
new file mode 100644
index 0000000000..0a0ba91a7a
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_allowed.html.ini
@@ -0,0 +1,3 @@
+[script_event_handlers_allowed.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_missing_unsafe_hashes.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_missing_unsafe_hashes.html.ini
new file mode 100644
index 0000000000..418322bc42
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_missing_unsafe_hashes.html.ini
@@ -0,0 +1,3 @@
+[script_event_handlers_denied_missing_unsafe_hashes.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_wrong_hash.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_wrong_hash.html.ini
new file mode 100644
index 0000000000..e0bb62d364
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/script_event_handlers_denied_wrong_hash.html.ini
@@ -0,0 +1,3 @@
+[script_event_handlers_denied_wrong_hash.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_allowed.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_allowed.html.ini
new file mode 100644
index 0000000000..57ee65f4d6
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_allowed.html.ini
@@ -0,0 +1,3 @@
+[style_attribute_allowed.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_missing_unsafe_hashes.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_missing_unsafe_hashes.html.ini
new file mode 100644
index 0000000000..4989198df5
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_missing_unsafe_hashes.html.ini
@@ -0,0 +1,3 @@
+[style_attribute_denied_missing_unsafe_hashes.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_wrong_hash.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_wrong_hash.html.ini
new file mode 100644
index 0000000000..babb086a64
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashes/style_attribute_denied_wrong_hash.html.ini
@@ -0,0 +1,3 @@
+[style_attribute_denied_wrong_hash.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]