Unreviewed: Replace Windows line ending (CRLF) by Unix line ending (CR).
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 May 2017 18:02:46 +0000 (18:02 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 May 2017 18:02:46 +0000 (18:02 +0000)
* plugins/windowless_plugin_paint_test.html:

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

LayoutTests/ChangeLog
LayoutTests/plugins/windowless_plugin_paint_test.html

index c893047..750cee1 100644 (file)
@@ -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  <sabouhallawa@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  <ryanhaddad@apple.com>
index c8a9c5b..0d78c41 100644 (file)
@@ -1,41 +1,40 @@
 <!DOCTYPE html>
-
 <html>
-<head>
-  <script>\r
-    if (window.testRunner) {\r
-        testRunner.dumpAsText();\r
-        testRunner.waitUntilDone();\r
-    }
+    <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();
+        }
 
-    var paintCount = 0;\r
-\r
-    function onLoad() {\r
-        var pluginDiv = document.getElementById("pluginDiv");\r
-        // Create the plugin in the middle of the page.\r
-        pluginDiv.innerHTML = "<embed id=\"testPlugin\" type=\"application/x-webkit-test-netscape\" width=\"200\" height=\"200\" onpaintevent=\"didPaint()\" windowedPlugin=\"false\"></embed>";\r
-        if (window.internals)\r
-            internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();\r
-        testRunner.displayInvalidatedRegion();\r
-      }\r
-\r
-    function notifyDone() {\r
-        document.getElementById('result').innerHTML = "SUCCESS";\r
-        testRunner.notifyDone();\r
-    }\r
-      \r
-    function didPaint() {\r
-        paintCount++;\r
-        setTimeout("notifyDone();", 50);\r
-    }
-  </script>
-</head>
-<body onload="setTimeout(onLoad(), 50);">
-  This tests that dynamically added windowless plugins receive paint events on creation.
+        function notifyDone() {
+            document.getElementById('result').innerHTML = "SUCCESS";
+            testRunner.notifyDone();
+        }
 
-  <div id="result">FAILURE</div>
+        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="pluginDiv" style="position: absolute; left: 300px; top: 300px; height: 400px; width: 400px; padding: 1em;">
-  </div>
-</body>
+        <div id="result">FAILURE</div>
+        
+        <div id="pluginDiv" style="position: absolute; left: 300px; top: 300px; height: 400px; width: 400px; padding: 1em;">
+        </div>
+    </body>
 </html>