Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / value-without-selection-crash.html
blobc4de78bba4b1e9160eec787fbd561ae280afc87c
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 document.designMode = 'on';
10 window.getSelection().removeAllRanges();
11 document.queryCommandValue('backColor', false, null);
12 document.queryCommandValue('fontSize', false, null);
13 document.queryCommandValue('fontName', false, null);
14 document.queryCommandValue('foreColor', false, null);
16 document.writeln('PASS - WebKit did not crash when querying command value without selection.');
17 </script>
18 </body>
19 </html>