• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3    <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>
4
5    <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>">
6</head>
7<body>
8    <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>
9
10    <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
11       a navigation while this alert is on-screen.  After the navigation completes the Flash Player plug-in's modal alert should no longer be
12       visible on-screen and the plug-in host and browser application should not crash.
13    </p>
14
15    <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">
16        <param name="allowScriptAccess" value="sameDomain">
17        <param name="allowFullScreen" value="false">
18        <param name="movie" value="timeout-dialog-displayed-over-navigation.swf">
19        <param name="quality" value="high">
20        <param name="bgcolor" value="#ffffff">
21        <embed src="timeout-dialog-displayed-over-navigation.swf" quality="high" bgcolor="#ffffff" width="550" height="400" align="middle"
22               allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">
23     </object>
24</body>
25</html>
26