new DOMCharacterData; fails on spidermonkey
Reported by Aman Gupta | January 9th, 2009 @ 01:25 PM
in DOMCharacterData(), there is a
this.length = 0
but in DOMCharacterData.prototype, there's a getter defined
get length(){return this.nodeValue.length;},
Removing the this.length= fixes the issue.
Comments and changes to this ticket
-
thatcher.christopher (at gmail) January 16th, 2009 @ 08:53 AM
- State changed from new to resolved
- Assigned user set to thatcher.christopher (at gmail)
Found a bunch of similar things as well.
Also made nodeType a getter so it cant be modified.
-
thatcher.christopher (at gmail) January 16th, 2009 @ 08:59 AM
pasted wrong link to commit above
correct link is http://github.com/thatcher/env-j...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment
People watching this ticket
- Nobody is watching this ticket.