layout/generic/test/test_plugin_clipping2.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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