Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Side by Side Diff: ManualTests/plug-in-mutates-NSView-hierarchy-during-resize.html

Issue 1005223002: Blink: Replace all "plug-in" with "plugin". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert netscape-dom-access tests. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <style> 1 <style>
2 div { padding: 10px; margin: 8px; } 2 div { padding: 10px; margin: 8px; }
3 embed { width: 50px; height: 50px; } 3 embed { width: 50px; height: 50px; }
4 iframe { width: 50px; height: 50px; } 4 iframe { width: 50px; height: 50px; }
5 </style> 5 </style>
6 <script> 6 <script>
7 var callCount = 0; 7 var callCount = 0;
8 8
9 function hideFirst() 9 function hideFirst()
10 { 10 {
11 if (++callCount != 2) 11 if (++callCount != 2)
12 return; 12 return;
13 13
14 var target = document.getElementById("target"); 14 var target = document.getElementById("target");
15 if (!target) 15 if (!target)
16 return; 16 return;
17 17
18 target.parentNode.removeChild(target); 18 target.parentNode.removeChild(target);
19 document.body.offsetTop; 19 document.body.offsetTop;
20 } 20 }
21 </script> 21 </script>
22 <p> 22 <p>
23 Test that plug-ins cannot cause the NSView hierarchy to change beneath <tt>- [NSView _invalidateGStatesForTree]</tt>. 23 Test that plugins cannot cause the NSView hierarchy to change beneath <tt>-[ NSView _invalidateGStatesForTree]</tt>.
24 </p> 24 </p>
25 <p> 25 <p>
26 To test, resize the browser window. Reload and repeat a few times. Each time you resize, the orange rectangle and 26 To test, resize the browser window. Reload and repeat a few times. Each time you resize, the orange rectangle and
27 its contents should vanish, and the browser should not crash. 27 its contents should vanish, and the browser should not crash.
28 </p> 28 </p>
29 <div id="target" style="border: solid orange;"> 29 <div id="target" style="border: solid orange;">
30 <embed type="application/x-webkit-test-netscape"></embed> 30 <embed type="application/x-webkit-test-netscape"></embed>
31 <iframe src=""></iframe> 31 <iframe src=""></iframe>
32 <iframe src=""></iframe> 32 <iframe src=""></iframe>
33 <iframe src=""></iframe> 33 <iframe src=""></iframe>
34 </div> 34 </div>
35 <div style="border: solid blue;"> 35 <div style="border: solid blue;">
36 <embed type="application/x-webkit-test-netscape" onsetwindow="hideFirst()">< /embed> 36 <embed type="application/x-webkit-test-netscape" onsetwindow="hideFirst()">< /embed>
37 </div> 37 </div>
OLDNEW
« no previous file with comments | « ManualTests/nested-plugins.html ('k') | ManualTests/plugins/timeout-dialog-displayed-over-navigation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698