blob: e0bebe05ea235cda9df561aa65e8c4f871053112 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src='../resources/multiple-iframe-plugin-test.js'></script>
<script>
var tests = [
[false, 'plugin-types;'],
[false, 'plugin-types ;'],
[false, 'plugin-types \'none\''],
[false, 'plugin-types text'],
[false, 'plugin-types text/'],
[false, 'plugin-types /text'],
[false, 'plugin-types text//plain'],
[false, 'plugin-types text/plainapplication/nospace'],
[true, 'plugin-types text application/x-blink-test-plugin'],
];
</script>
</head>
<body onload="testExperimentalPolicy()">
<p>
This tests our handling of invalid `plugin-types` CSP directives.
Consider this test passing if each of the following frames contains
either "PASS" or no text at all.
</p>