layout/generic/test/test_plugin_clipping2.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
     3 <html xmlns="http://www.w3.org/1999/xhtml" title="Test Plugin Clipping: Dynamic Tests">
     4 <head>
     5   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     6 </head>
     7 <body>
     9 <script class="testbody" type="application/javascript">
    10 <![CDATA[
    11 if (navigator.platform.indexOf("Mac") == 0) {
    12   todo(false, "Mac plugins do not support complex clipping");
    13 } else {
    14   window.open("plugin_clipping_helper2.xhtml", "", "width=620,height=320");
    15   SimpleTest.waitForExplicitFinish();
    16 }
    17 ]]>
    18 </script>
    20 </body>
    21 </html>

mercurial