blob: 83a153bd40df280bf05c63f873b7a71297dd8382 [file] [log] [blame]
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11444">http://bugs.webkit.org/show_bug.cgi?id=11444</a>
REGRESSION (r17378): Exception (-[NSCFDictionary setObject:forKey:]: attempt to insert nil value) when submitting a form with an empty uninitialized field</i>.
</p>
<p id="result">FAIL</p>
<hr>
<form id="t"><input></form>
<script>
if (!location.href.match('\\?')) {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.getElementById("t").submit();
} else {
document.getElementById("result").innerText = "PASS";
if (window.testRunner)
testRunner.notifyDone();
}
</script>