summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html')
-rw-r--r--LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html b/LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html
new file mode 100644
index 0000000..5f28965
--- /dev/null
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/empty-string-property.html
@@ -0,0 +1,18 @@
+<body>
+ <p>
+ Regression test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15169">http://bugs.webkit.org/show_bug.cgi?id=15169</a>
+ Freeze on Google maps using the "Dig a hole" tool</i>.
+ </p>
+ <p>
+ This tests that the empty string property of a CSSStyleDeclaration is
+ undefined and that retrieving it does not cause a hang.
+ </p>
+ <p id="result">FAIL (timed out or did not finish)</p>
+ <script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ var type = typeof document.body.style[''];
+ document.getElementById("result").innerText = type == "undefined" ? "PASS" : "FAIL (typeof document.body.style[''] is " + type + ")";
+ </script>
+</body>