Title: [216194] trunk/LayoutTests
Revision
216194
Author
s...@apple.com
Date
2017-05-04 11:02:46 -0700 (Thu, 04 May 2017)

Log Message

Unreviewed: Replace Windows line ending (CRLF) by Unix line ending (CR).

* plugins/windowless_plugin_paint_test.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (216193 => 216194)


--- trunk/LayoutTests/ChangeLog	2017-05-04 17:46:59 UTC (rev 216193)
+++ trunk/LayoutTests/ChangeLog	2017-05-04 18:02:46 UTC (rev 216194)
@@ -2,6 +2,12 @@
 
         Unreviewed: Replace Windows line ending (CRLF) by Unix line ending (CR).
 
+        * plugins/windowless_plugin_paint_test.html:
+
+2017-05-04  Said Abou-Hallawa  <sabouhall...@apple.com>
+
+        Unreviewed: Replace Windows line ending (CRLF) by Unix line ending (CR).
+
         * compositing/video/video-with-invalid-source.html:
 
 2017-05-04  Ryan Haddad  <ryanhad...@apple.com>

Modified: trunk/LayoutTests/plugins/windowless_plugin_paint_test.html (216193 => 216194)


--- trunk/LayoutTests/plugins/windowless_plugin_paint_test.html	2017-05-04 17:46:59 UTC (rev 216193)
+++ trunk/LayoutTests/plugins/windowless_plugin_paint_test.html	2017-05-04 18:02:46 UTC (rev 216194)
@@ -1,41 +1,40 @@
 <!DOCTYPE html>
-
 <html>
-<head>
-  <script>
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
+    <head>
+        <script>
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
+            }
 
-    var paintCount = 0;
-
-    function onLoad() {
-        var pluginDiv = document.getElementById("pluginDiv");
-        // Create the plugin in the middle of the page.
-        pluginDiv.innerHTML = "<embed id=\"testPlugin\" type=\"application/x-webkit-test-netscape\" width=\"200\" height=\"200\" _onpaintevent_=\"didPaint()\" windowedPlugin=\"false\"></embed>";
-        if (window.internals)
-            internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
-        testRunner.displayInvalidatedRegion();
-      }
-
-    function notifyDone() {
-        document.getElementById('result').innerHTML = "SUCCESS";
-        testRunner.notifyDone();
-    }
-      
-    function didPaint() {
-        paintCount++;
-        setTimeout("notifyDone();", 50);
-    }
-  </script>
-</head>
-<body _onload_="setTimeout(onLoad(), 50);">
-  This tests that dynamically added windowless plugins receive paint events on creation.
+        var paintCount = 0;
 
-  <div id="result">FAILURE</div>
+        function onLoad() {
+            var pluginDiv = document.getElementById("pluginDiv");
+            // Create the plugin in the middle of the page.
+            pluginDiv.innerHTML = "<embed id=\"testPlugin\" type=\"application/x-webkit-test-netscape\" width=\"200\" height=\"200\" _onpaintevent_=\"didPaint()\" windowedPlugin=\"false\"></embed>";
+            if (window.internals)
+            internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
+            testRunner.displayInvalidatedRegion();
+        }
 
-  <div id="pluginDiv" style="position: absolute; left: 300px; top: 300px; height: 400px; width: 400px; padding: 1em;">
-  </div>
-</body>
+        function notifyDone() {
+            document.getElementById('result').innerHTML = "SUCCESS";
+            testRunner.notifyDone();
+        }
+
+        function didPaint() {
+            paintCount++;
+            setTimeout("notifyDone();", 50);
+        }
+        </script>
+    </head>
+    <body _onload_="setTimeout(onLoad(), 50);">
+        This tests that dynamically added windowless plugins receive paint events on creation.
+
+        <div id="result">FAILURE</div>
+        
+        <div id="pluginDiv" style="position: absolute; left: 300px; top: 300px; height: 400px; width: 400px; padding: 1em;">
+        </div>
+    </body>
 </html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to