Title: [242949] trunk/LayoutTests
Revision
242949
Author
[email protected]
Date
2019-03-14 11:38:36 -0700 (Thu, 14 Mar 2019)

Log Message

Block all plugins smaller than 5x5px
https://bugs.webkit.org/show_bug.cgi?id=195702
<rdar://problem/28435204>

Updating some tests to account for this change. Make the plugins
big enough to be created.

* compositing/plugins/small-to-large-composited-plugin.html:
* fast/frames/resources/sandboxed-iframe-about-blank.html:
* fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html:
* fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html:
* fast/frames/resources/sandboxed-iframe-plugins-frame-object.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (242948 => 242949)


--- trunk/LayoutTests/ChangeLog	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/ChangeLog	2019-03-14 18:38:36 UTC (rev 242949)
@@ -1,3 +1,18 @@
+2019-03-14  Dean Jackson  <[email protected]>
+
+        Block all plugins smaller than 5x5px
+        https://bugs.webkit.org/show_bug.cgi?id=195702
+        <rdar://problem/28435204>
+
+        Updating some tests to account for this change. Make the plugins
+        big enough to be created.
+
+        * compositing/plugins/small-to-large-composited-plugin.html:
+        * fast/frames/resources/sandboxed-iframe-about-blank.html:
+        * fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html:
+        * fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html:
+        * fast/frames/resources/sandboxed-iframe-plugins-frame-object.html:
+
 2019-03-14  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Network - HAR Import

Modified: trunk/LayoutTests/compositing/plugins/small-to-large-composited-plugin.html (242948 => 242949)


--- trunk/LayoutTests/compositing/plugins/small-to-large-composited-plugin.html	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/compositing/plugins/small-to-large-composited-plugin.html	2019-03-14 18:38:36 UTC (rev 242949)
@@ -3,8 +3,8 @@
 <head>
   <style type="text/css" media="screen">
     embed {
-      height: 1px;
-      width: 1px;
+      height: 10px;
+      width: 10px;
       border: 1px solid black;
     }
     
@@ -45,7 +45,7 @@
 <body>
   
   <div class="container">
-    <embed id="plugin" type="application/x-webkit-test-netscape" width="1" height="1" drawingmodel="coreanimation">
+    <embed id="plugin" type="application/x-webkit-test-netscape" width="10" height="10" drawingmodel="coreanimation">
   </div>
 
   <!-- we should have layers after the resize -->

Modified: trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-about-blank.html (242948 => 242949)


--- trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-about-blank.html	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-about-blank.html	2019-03-14 18:38:36 UTC (rev 242949)
@@ -7,7 +7,7 @@
     <embed id="plugin" 
            type="application/x-webkit-test-netscape"
            src=""
-           style="width:0; height:0">
+           style="width:10px; height:10px">
     </embed>
 </body>
 </html>

Modified: trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html (242948 => 242949)


--- trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html	2019-03-14 18:38:36 UTC (rev 242949)
@@ -6,6 +6,7 @@
     <applet name="app"
             codebase=""
             code="TestApplet"
+            width="10" height="10"
     </applet>
 </body>
 </html>

Modified: trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html (242948 => 242949)


--- trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html	2019-03-14 18:38:36 UTC (rev 242949)
@@ -6,7 +6,7 @@
     <embed id="plugin" 
            type="application/x-webkit-test-netscape"
            src=""
-           style="width:0; height:0">
+           style="width:10px; height:10px">
     </embed>
 </body>
 </html>

Modified: trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-object.html (242948 => 242949)


--- trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-object.html	2019-03-14 18:27:08 UTC (rev 242948)
+++ trunk/LayoutTests/fast/frames/resources/sandboxed-iframe-plugins-frame-object.html	2019-03-14 18:38:36 UTC (rev 242949)
@@ -5,7 +5,7 @@
 <body>
     <object id="plugin" 
             type="application/x-webkit-test-netscape"
-            style="width:0; height:0">
+            style="width:10px; height:10px">
     </object>
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to