diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-04 19:41:06 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-04 19:41:06 +0000 |
commit | 914368530ba622ff0117cd34bec058fb0d862155 (patch) | |
tree | 6c29459914d1b01ed27fad039d0b982d1dbc32c3 /testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html | |
parent | c5ad76a2875ca5c06c5bbff7b2f2e3ff7b3599c3 (diff) | |
download | UXP-914368530ba622ff0117cd34bec058fb0d862155.tar UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.gz UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.lz UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.xz UXP-914368530ba622ff0117cd34bec058fb0d862155.zip |
Issue #439 - Remove web-platform tests from the tree.
This removes a total of 23,936 files we would never use nor have the capacity
to properly maintain or keep up-to-date.
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html')
-rw-r--r-- | testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html b/testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html deleted file mode 100644 index 69c71986e..000000000 --- a/testing/web-platform/tests/content-security-policy/blink-contrib/object-src-applet-archive.sub.html +++ /dev/null @@ -1,41 +0,0 @@ -<!DOCTYPE html> -<html> - -<head> - <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.--> - <title>object-src-applet-archive</title> - <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> - <script src='../support/logTest.sub.js?logs=["PASS"]'></script> - <script src="../support/alertAssert.sub.js?alerts=[]"></script> - <!-- enforcing policy: -object-src 'none'; script-src 'self' 'unsafe-inline'; connect-src 'self'; ---> - -</head> - -<body> - <script> - var len = navigator.mimeTypes.length; - var allTypes = ""; - var appletMimeType = "application/x-java-applet"; - for (var i = 0; i < len; i++) { - allTypes += navigator.mimeTypes[i].type + ';'; - } - if (allTypes.indexOf(appletMimeType) == -1) { - t_log.set_status(t_log.NOTRUN, "No Java Plugin, cannot run test."); - t_log.phase = t_log.phases.HAS_RESULT; - t_log.done(); - } else { - var s = document.createElement('script'); - s.src = "../support/checkReport.sub.js?reportExists=true&reportField=violated-directive&reportValue=object-src%20'none'"; - document.body.appendChild(s); - } - - </script> - This test passes if there is a CSP violation saying the plugin was blocked. - <applet code="TestThingie" archive="/plugins/archive.jar" id="appletObject" onload="log('FAIL')" onerror="log('PASS')"></applet> - <div id="log"></div> -</body> - -</html> |