Home | History | Annotate | Download | only in CSSStyleDeclaration
      1 <body>
      2     <p>
      3         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>
      4         Freeze on Google maps using the "Dig a hole" tool</i>.
      5     </p>
      6     <p>
      7         This tests that the empty string property of a CSSStyleDeclaration is
      8         undefined and that retrieving it does not cause a hang.
      9     </p>
     10     <p id="result">FAIL (timed out or did not finish)</p>
     11     <script>
     12         if (window.layoutTestController)
     13             layoutTestController.dumpAsText();
     14 
     15         var type = typeof document.body.style[''];
     16         document.getElementById("result").innerText = type == "undefined" ? "PASS" : "FAIL (typeof document.body.style[''] is " + type + ")";
     17     </script>
     18 </body>
     19