diff options
Diffstat (limited to 'WebCore/manual-tests/plugins')
-rw-r--r-- | WebCore/manual-tests/plugins/flip4mac-update-alert-over-navigation.html | 30 | ||||
-rw-r--r-- | WebCore/manual-tests/plugins/object-clipping.html | 22 | ||||
-rw-r--r-- | WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.html | 25 | ||||
-rw-r--r-- | WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.swf | bin | 0 -> 5705 bytes |
4 files changed, 77 insertions, 0 deletions
diff --git a/WebCore/manual-tests/plugins/flip4mac-update-alert-over-navigation.html b/WebCore/manual-tests/plugins/flip4mac-update-alert-over-navigation.html new file mode 100644 index 0000000..2391717 --- /dev/null +++ b/WebCore/manual-tests/plugins/flip4mac-update-alert-over-navigation.html @@ -0,0 +1,30 @@ +<html> +<head> + <title>Test case for <rdar://problem/7313430> Many crashes in Safari inside Flip4Mac below -[NSAlert didEndAlert:returnCode:contextInfo:]</title> +</head> +<body> + <h1>Test case for <<a href='rdar://problem/7313430'>rdar://problem/7313430</a>> Many crashes in Safari inside Flip4Mac below -[NSAlert didEndAlert:returnCode:contextInfo:]</h1> + + <p>This test requires Flip4Mac to be installed and an update to be available for the version that is installed. Previous versions + of Flip4Mac can be downloaded from <a href='http://dynamic.telestream.net/downloads/download-flip4macwmv.htm'>Telestream's website</a>. + As of the writing of this test on 2010-04-21 the latest available version of Flip4Mac is 2.3.2.6. The prior version to that, + version 2.3.1.2, is therefore currently the most recent version that will reproduce this bug due to it being the most recent version + with an update available. + </p> + + <p>Once Flip4Mac is installed, you can test the bug by doing the following.</p> + <ol> + <li>Launch the browser with <code>NSZombieEnabled=YES</code> and <code>NSDeallocateZombies=NO</code> set in the enrivonment.</li> + <li>Load this page. A Flip4Mac update alert will be displayed, and soon after the page will navigate.</li> + <li>After the new page has loaded click the "Cancel" button on the update alert.The browser should not crash.</li> + </ol> + + <p>If you have the correct version of Flip4Mac installed but do not see the update alert displayed when loading this page then you may need to delete + the Flip4Mac preferences to force it to check for updates. You can do this by removing <code>~/Library/Preferences/net.telestream.wmv.*</code> + and then relaunching the browser.</p> + + <object type="application/asx"></object> + + <script>window.setTimeout(function() { window.location = "data:text/html,If the browser does not crash when you click 'Cancel' in the Flip4Mac update alert sheet then the bug is not present."; }, 10000)</script> +</body> +</html> diff --git a/WebCore/manual-tests/plugins/object-clipping.html b/WebCore/manual-tests/plugins/object-clipping.html new file mode 100644 index 0000000..23fd630 --- /dev/null +++ b/WebCore/manual-tests/plugins/object-clipping.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> + +<html> +<head> + <title>clipping objects</title> + <style type="text/css" media="screen"> + object { + margin: 30px; + border: 20px solid green; + } + </style> +</head> +<body> + <p>You should see a clipped video surrounded by a thick green border.</p> + <p><a href="https://bugs.webkit.org/show_bug.cgi?id=35555">https://bugs.webkit.org/show_bug.cgi?id=35555</a></p> + <object type="video/quicktime" data="../../../LayoutTests/media/content/test.mp4" width="200" height="150"> + <param value="false" name="autoplay"> + <param value="false" name="controller"> + </object> + +</body> +</html> diff --git a/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.html b/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.html new file mode 100644 index 0000000..53fc1b7 --- /dev/null +++ b/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.html @@ -0,0 +1,25 @@ +<html>
+<head>
+ <title>Test case for <rdar://problem/7856151> REGRESSION: NPP_Destroy is not called when page navigates when plug-in is displaying modal dialog</title>
+
+ <meta http-equiv="refresh" content="3; data:text/html,If we did not crash or hang and there is no Adobe Flash dialog on screen then this test was a success.<p><a href='javascript:history.back();'>Run again</a>.</p><p><a href='rdar://problem/7856151'>&lt;rdar://problem/7856151&gt;</a>.</p>">
+</head>
+<body>
+ <h1>Test case for <<a href='rdar://problem/7856151'>rdar://problem/7856151</a>> REGRESSION: NPP_Destroy is not called when page navigates when plug-in is displaying modal dialog</h1>
+
+ <p>This page loads some Adobe Flash content that results in the Flash Player plug-in displaying a modal alert window. The page then triggers
+ a navigation while this alert is on-screen. After the navigation completes the Flash Player plug-in's modal alert should no longer be
+ visible on-screen and the plug-in host and browser application should not crash.
+ </p>
+
+ <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" align="middle">
+ <param name="allowScriptAccess" value="sameDomain">
+ <param name="allowFullScreen" value="false">
+ <param name="movie" value="timeout-dialog-displayed-over-navigation.swf">
+ <param name="quality" value="high">
+ <param name="bgcolor" value="#ffffff">
+ <embed src="timeout-dialog-displayed-over-navigation.swf" quality="high" bgcolor="#ffffff" width="550" height="400" align="middle"
+ allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">
+ </object>
+</body>
+</html>
diff --git a/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.swf b/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.swf Binary files differnew file mode 100644 index 0000000..7e7c3d9 --- /dev/null +++ b/WebCore/manual-tests/plugins/timeout-dialog-displayed-over-navigation.swf |