Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / navigator-userAgent.html
blob55a989b26f99d245f9815644501430648dbc04e6
1 <html>
2 <body>
3 <p>Tests for <a href="https://bugs.webkit.org/show_bug.cgi?id=47753">bug 47753</a>:
4 REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.</p>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var userAgent = navigator.userAgent;
11 document.write("User Agent should contain Mozilla: " + (userAgent.indexOf("Mozilla") >= 0) + "<br>");
12 document.write("User Agent should contain AppleWebKit: " + (userAgent.indexOf("AppleWebKit") >= 0) + "<br>");
13 document.write("User Agent should contain KHTML, like Gecko: " + (userAgent.indexOf("KHTML, like Gecko") >= 0));
14 </script>
15 </body>
16 </html>