[Webkit-unassigned] [Bug 9867] REGRESSION: code that modifies form element in Firefox modifies form attribute in WebKit
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Mon Jul 24 04:08:10 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9867
------- Comment #10 from lypanov at mac.com 2006-07-24 04:08 PDT -------
Need to know the result of:
<body onload="foo()"/>
<form action="/">
<input type=hidden name="action" value="">
</form>
<script>
function foo() {
document.forms[0].action.value = "Passed";
HTMLFormElement.prototype["action"] = function() { return "foo"; };
alert(document.forms[0].action);
}
</script>
In Internet Explorer. Exception thrown in firefox.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list