Break pluginReplacementEnabled into youTubeFlashPluginReplacementEnabled and quickTim...
[WebKit-https.git] / LayoutTests / security / contentSecurityPolicy / plugins-types-blocks-quicktime-plugin-replacement-without-mime-type.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Security-Policy" content="plugin-types text/html">
5 <script>
6 if (window.testRunner) {
7     testRunner.dumpAsText();
8     testRunner.waitUntilDone();
9 }
10
11 if (window.internals)
12     window.internals.settings.setQuickTimePluginReplacementEnabled(true);
13
14 function done()
15 {
16     if (window.testRunner)
17         testRunner.notifyDone();
18 }
19
20 document.addEventListener("securitypolicyviolation", done, false);
21 </script>
22 </head>
23 <body>
24 <embed width="640" height="480" src="../../plugins/resources/yellow.mov" qtsrc="../../plugins/resources/orange.mov">
25 </body>
26 </html>