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

Unified Diff: LayoutTests/plugins/change-widget-and-click-crash.html

Issue 216933006: Remove carriage returns from LayoutTests (18) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/plugins/change-widget-and-click-crash.html
diff --git a/LayoutTests/plugins/change-widget-and-click-crash.html b/LayoutTests/plugins/change-widget-and-click-crash.html
index 7196af78fd2c5f5230b5e1fe1df8383fd2e11d8c..eaaf536d824fea9f1c3e8cf1365a9bd67ec47895 100644
--- a/LayoutTests/plugins/change-widget-and-click-crash.html
+++ b/LayoutTests/plugins/change-widget-and-click-crash.html
@@ -1,35 +1,35 @@
-<html>
-<script>
-function clickElement(element) {
- if (window.eventSender) {
- var centerX = element.offsetLeft + element.offsetWidth / 2;
- var centerY = element.offsetTop + element.offsetHeight / 2;
- eventSender.mouseMoveTo(centerX, centerY);
- eventSender.mouseDown();
- }
-}
-
-function crash() {
- var x = document.getElementById('x');
- x.setAttribute('data', x.data);
- clickElement(x);
- document.body.innerHTML = "PASS";
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function load() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- setTimeout(crash, 0);
-}
-</script>
-<body onload="load()">
- <object id="x" data="x" border="1" type="application/x-webkit-test-netscape">
- <param name="wmode" value="transparent">
- </object>
-</body>
-</html>
+<html>
+<script>
+function clickElement(element) {
+ if (window.eventSender) {
+ var centerX = element.offsetLeft + element.offsetWidth / 2;
+ var centerY = element.offsetTop + element.offsetHeight / 2;
+ eventSender.mouseMoveTo(centerX, centerY);
+ eventSender.mouseDown();
+ }
+}
+
+function crash() {
+ var x = document.getElementById('x');
+ x.setAttribute('data', x.data);
+ clickElement(x);
+ document.body.innerHTML = "PASS";
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+
+function load() {
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+ setTimeout(crash, 0);
+}
+</script>
+<body onload="load()">
+ <object id="x" data="x" border="1" type="application/x-webkit-test-netscape">
+ <param name="wmode" value="transparent">
+ </object>
+</body>
+</html>
« no previous file with comments | « LayoutTests/platform/win/tables/layering/paint-test-layering-2-expected.txt ('k') | LayoutTests/plugins/iframe-shims.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698