summaryrefslogtreecommitdiffstats
path: root/dom/security/test/sri/iframe_csp_directive_style_imports.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/sri/iframe_csp_directive_style_imports.html')
-rw-r--r--dom/security/test/sri/iframe_csp_directive_style_imports.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/security/test/sri/iframe_csp_directive_style_imports.html b/dom/security/test/sri/iframe_csp_directive_style_imports.html
new file mode 100644
index 000000000..0abea7854
--- /dev/null
+++ b/dom/security/test/sri/iframe_csp_directive_style_imports.html
@@ -0,0 +1,6 @@
+<!-- file should be loaded (text is blue), but subsequent files shouldn't (text is red) -->
+<link rel="stylesheet" href="style_importing.css"
+ integrity="sha384-m5Q2GOhAtLrdiv6rCmxY3GjEFMVInALcdTyDnEddUUiDH2uQvJSX5GSJYQiatpTK"
+ onload="parent.postMessage('finish', '*');"
+ onerror="parent.postMessage('finish', '*');">
+<p id="text-for-import-test">blue text</p>