Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

form.method = 'POST' raises an error

#81

There is a minor typo in the setter for a FORM elements 'method' attribute:

[scribble]: metafeather $ ant concat
Buildfile: build.xml

concat:
     [echo] Building /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.1.1.rc2.js
     [echo] /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.1.1.rc2.js built.
     [copy] Copying 1 file to /Users/Shared/Dropbox/MF/Code/git/env-js/dist
     [echo] Building /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.rhino.1.1.rc2.js
     [echo] /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.rhino.1.1.rc2.js built.
     [copy] Copying 1 file to /Users/Shared/Dropbox/MF/Code/git/env-js/dist

BUILD SUCCESSFUL
Total time: 1 second
[scribble]: metafeather $ java -jar dist/env-js.jar 
Rhino 1.7 release 3 PRERELEASE 2009 07 08
js> load('dist/env.rhino.js')
js> var form = document.createElement('form')
js> form.method = 'POST'
js: "dist/env.rhino.js", line 7057: uncaught JavaScript runtime exception: ReferenceError: "method" is not defined.
    at dist/env.rhino.js:7057
    at <stdin>:4

js>

Reported by Liam Clancy (metafeather) · December 14th, 2009 @ 01:04 AM

State: resolved
Milestone: 1.2.x
Assigned to: Thatcher Thatcher

Activity

  1. Liam Clancy (metafeather)
    Liam Clancy (metafeather)

    After applying the fix to src/html/form.js line 47

    js> var form = document.createElement('form')
    js> form.method = 'POST'
    POST
    js>
    

    December 14th, 2009 @ 01:08 AM

  2. Thatcher
    Thatcher
    • State changed from new to open
    • Assigned user set to Thatcher
    • Milestone set to envjs.com - corrections and updates

    looking into this. sorry for the delay.

    thatcher

    February 3rd, 2010 @ 05:33 PM

  3. Thatcher
    Thatcher
    • State changed from open to resolved
    • Tag changed from form, rhino, setter to method post, form, rhino, setter
    • Milestone changed from envjs.com - corrections and updates to 1.2.x

    fixed, so sorry for the delay

    February 5th, 2010 @ 05:19 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.