MockHTMLSelectElement and MockHTMLOptionElement should behave like real browser inputs

Bug #604980 reported by Jonathan Jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Methanal
Fix Released
Low
Jonathan Jacobs

Bug Description

Javascript 1.5 supports getter and setter properties[1][2], which can be used to implement "value" properties for MockHTMLOptionElement and MockHTMLSelectElement that behave more like their web browser counterparts. This will also provide an opportunity to uncomment a test in Methanal.Tests.TestView.TestSelectInput.

[1] <http://ejohn.org/blog/javascript-getters-and-setters/>
[2] <http://whereswalden.com/2010/04/16/more-spidermonkey-changes-ancient-esoteric-very-rarely-used-syntax-for-creating-getters-and-setters-is-being-removed/>

Related branches

Changed in methanal:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 0.2.1
description: updated
description: updated
description: updated
summary: - MockHTMLSelectElement should coerce values to strings
+ MockHTMLSelectElement and MockHTMLOptionElement should behave like real
+ browser inputs
Changed in methanal:
status: Confirmed → In Progress
assignee: nobody → Jonathan Jacobs (jjacobs)
description: updated
Changed in methanal:
status: In Progress → Fix Committed
Changed in methanal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.