Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / pic / get-set-proxy-object.html
blob1c4df1081c4f7b7b85411c995b2f69cd8192add3
1 <p>
2 This page tests cached get and set through a proxy object. If the test passes,
3 you'll see a PASS message below.
4 </p>
6 <pre id="console"></pre>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsText();
12 function log(s)
14 if (this.document)
15 document.getElementById("console").appendChild(document.createTextNode(s));
16 else
17 print(s);
20 window.x = 1;
21 for (var i = 0; i < 3; ++i)
22 window.x += 1;
24 log("PASS: You didn't crash.\n");
25 </script>