Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / xss-auditor-doesnt-crash-on-post-submit.html
blobbe87fd87773b10b38c2cdc7a6bd6a82e693a30c9
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 function test() {
7 if (document.location.hash !== '#submitted') {
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.setXSSAuditorEnabled(true)
11 testRunner.waitUntilDone();
14 var form = document.getElementById('form');
15 // Shouldn't trigger any assertions.
16 form.submit();
17 } else {
18 testPassed('No assertions raised.');
19 if (window.testRunner)
20 testRunner.notifyDone();
23 </script>
24 </head>
25 <body onload="test()">
26 This tests that no assertions are thrown when POST submitting a form.
27 <form method="post" id="form" action="#submitted">
28 <input type="text">
29 </form>
30 <div id="console"></div>
31 </body>
32 </html>