Block all plugins smaller than 5x5px
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Mar 2019 18:38:36 +0000 (18:38 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Mar 2019 18:38:36 +0000 (18:38 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242949 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index b128307..5343056 100644 (file)
@@ -1,3 +1,18 @@
+2019-03-14  Dean Jackson  <dino@apple.com>
+
+        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  <pecoraro@apple.com>
 
         Web Inspector: Network - HAR Import
index d8ec148..c136447 100644 (file)
@@ -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 -->
index 8732732..e398be1 100644 (file)
@@ -7,7 +7,7 @@
     <embed id="plugin" 
            type="application/x-webkit-test-netscape"
            src="data:text/plain,"
-           style="width:0; height:0">
+           style="width:10px; height:10px">
     </embed>
 </body>
 </html>
index 86bb9f9..318190c 100644 (file)
@@ -6,6 +6,7 @@
     <applet name="app"
             codebase="../../dom/resources"
             code="TestApplet"
+            width="10" height="10"
     </applet>
 </body>
 </html>
index 500ed7c..aa7d50e 100644 (file)
@@ -6,7 +6,7 @@
     <embed id="plugin" 
            type="application/x-webkit-test-netscape"
            src="data:text/plain,"
-           style="width:0; height:0">
+           style="width:10px; height:10px">
     </embed>
 </body>
 </html>
index d7248cf..0e56fc2 100644 (file)
@@ -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>