Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / everything-to-string.html
index 27c6284..4ae9c45 100644 (file)
@@ -1,43 +1,43 @@
-<html><body>\r
-\r
-<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=8131">bug 8131</a>:\r
-Some properties and methods of window and document objects cannot be converted to a string.</p>\r
-<p>Should say SUCCESS:</p>\r
-\r
-<script>\r
-\r
-if (window.testRunner)\r
-        testRunner.dumpAsText();\r
-\r
-try {\r
-  var currProperty;\r
-  try {\r
-    for (var prop in window) {\r
-      currProperty = prop;\r
-      window[prop] + "";\r
-    }\r
-\r
-  } catch (ex) {\r
-    document.write('FAILURE (window.' + currProperty + '):' + ex.description);\r
-    throw ex;\r
-  }\r
-\r
-  try {\r
-    for (var prop in document) {\r
-      currProperty = prop;\r
-      document[prop] + "";\r
-    }\r
-\r
-  } catch (ex) {\r
-    document.write('FAILURE (document.' + currProperty + '):' + ex.description);\r
-    throw ex;\r
-  }\r
-\r
-  document.write('SUCCESS');\r
-\r
-} catch (ex) {\r
-}\r
-\r
-</script>\r
-\r
-</body></html>\r
+<html><body>
+
+<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=8131">bug 8131</a>:
+Some properties and methods of window and document objects cannot be converted to a string.</p>
+<p>Should say SUCCESS:</p>
+
+<script>
+
+if (window.testRunner)
+        testRunner.dumpAsText();
+
+try {
+  var currProperty;
+  try {
+    for (var prop in window) {
+      currProperty = prop;
+      window[prop] + "";
+    }
+
+  } catch (ex) {
+    document.write('FAILURE (window.' + currProperty + '):' + ex.description);
+    throw ex;
+  }
+
+  try {
+    for (var prop in document) {
+      currProperty = prop;
+      document[prop] + "";
+    }
+
+  } catch (ex) {
+    document.write('FAILURE (document.' + currProperty + '):' + ex.description);
+    throw ex;
+  }
+
+  document.write('SUCCESS');
+
+} catch (ex) {
+}
+
+</script>
+
+</body></html>