timeout-dialog-displayed-over-navigation.html   [plain text]


<html>
<head>
    <title>Test case for &lt;rdar://problem/7856151&gt; 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'>&amp;lt;rdar://problem/7856151&amp;gt;</a>.</p>">
</head>
<body>
    <h1>Test case for &lt;<a href='rdar://problem/7856151'>rdar://problem/7856151</a>&gt; 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>