Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / system-language-crash.html
blob41d7e315cab382638cbb29056e78e111bbee27b7
1 <!DOCTYPE html>
2 <html>
3 <body onload="runTest()">
4 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=94650 -->
5 <div>PASS: did not crash.</div>
6 <svg id="svg" xmlns="http://www.w3.org/2000/svg">
7 <text id="text"></text>
8 </svg>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 function runTest() {
15 document.getElementById('svg').systemLanguage.initialize("X");
16 document.getElementById('text').systemLanguage.clear();
18 </script>
19 </body>
20 </html>