Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7578 (closed defect: untested)

Opened 2 years ago

Last modified 1 year ago

JWebUnit pukes on R1.5.0

Reported by: sportrider Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version: edge
Severity: normal Keywords: Cannot read property 1604
Cc:

Description

When I drop in prototype 1.5.0 and test my pages with JWebUnit, it throws this error:

======= EXCEPTION START ======== EcmaError: lineNumber=[1604] column=[0] lineSource=[ copy(Form.Methods, HTMLFormElement.prototype);] name=[TypeError] sourceName=http://localhost:8080/scripts/prototype-1.5.0.js message=[TypeError: Cannot read property "prototype" from null (http://localhost:8080/scripts/prototype-1.5.0.js#1604)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "prototype" from null (http://localhost:8080/scripts/prototype-1.5.0.js#1604)

The problem appears to be around the anonymous block at line 1604. If I comment it out all works fine - I'm not using that method in my code so it's going away doesn't break anything for me. Just thought the devs should know.

Change History

06/14/07 00:35:44 changed by Tobie

  • status changed from new to closed.
  • resolution set to untested.

Please kindly upgrade to 1.5.1 and provide a bit more background to this issue. In the meantime, I'm filing this as untested.