[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 06:16:08 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9867





------- Comment #11 from opendarwin.org at mitzpettel.com  2006-07-24 06:16 PDT -------
(In reply to comment #10)
> 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.
> 

Line: 8
Char: 1
Error: 'HTMLFormElement' is undefined

Similar results in TOT: Can't find variable: HTMLFormElement


-- 
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