OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script src="../../../resources/js-test.js"></script> | |
5 <script> | |
6 jsTestIsAsync = true; | |
7 | |
8 if (window.testRunner) { | |
9 testRunner.waitUntilDone(); | |
10 testRunner.setCanOpenWindows(); | |
11 } | |
12 | |
13 description("Tests that invalid characters are ignored after a window property v alue."); | |
14 | |
15 var w = window.open("resources/window-property-invalid-characters-ignored.html", "blank", "width=123\u0130,height=123\u0130"); | |
cbiesinger
2014/06/12 23:49:39
This test doesn't test what the code is changing,
| |
16 | |
17 function finishTest() | |
18 { | |
19 shouldBe("w.innerWidth", "123"); | |
20 shouldBe("w.innerHeight", "123"); | |
21 shouldBeTrue("w !== window"); | |
22 w.close(); | |
23 | |
24 finishJSTest(); | |
25 } | |
26 | |
27 </script> | |
28 </head> | |
29 <body> | |
30 <pre id="console"></pre> | |
31 </body> | |
32 </html> | |
OLD | NEW |