Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-submit-in-image-document.html
blob16b0fc24debbd7ded732a4d732cd27749f50c2e5
1 <!DOCTYPE html>
2 <body>
3 <script src="../../resources/js-test.js"></script>
5 <iframe src="resources/logo.gif"></iframe>
7 <script>
8 description('Test if Blink does not crash by form submission in a document with null encoding.');
9 jsTestIsAsync = true;
11 function finish() {
12 testPassed('if not crashed');
13 finishJSTest();
16 window.onload = function() {
17 var doc = document.querySelector('iframe').contentDocument;
18 var form = doc.createElement('form');
19 form.action = 'javascript:parent.finish()';
20 form.innerHTML = '<input type="hidden" name="hidden">';
21 doc.body.appendChild(form);
22 form.submit();
24 </script>
25 </body>