Closed
Bug 453105
Opened 16 years ago
Closed 16 years ago
Error: setting a property that has only a getter on cars.com
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: jorendorff)
References
()
Details
(Keywords: regression, verified1.9.1)
Attachments
(2 files)
1.72 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
2.06 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
I think this might be fallout from bug 407216, because I just started seeing this after updating to today's nightly. Steps to Reproduce: 1. Load http://www.cars.com/go/index.jsp 2. Attempt to use the pulldown menus to select eithed Used or New cars Actual Results: Error: setting a property that has only a getter Source File: http://www.cars.com/includes/js/search.js Line: 57
Reporter | ||
Comment 1•16 years ago
|
||
Works in: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b1pre) Gecko/20080830020452 Minefield/3.1b1pre Broken in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080831162801 Minefield/3.1b1pre
Comment 2•16 years ago
|
||
Confirmed under Windows and Linux. Platform/OS -> ALL
OS: Mac OS X → All
Hardware: PC → All
Assignee | ||
Comment 3•16 years ago
|
||
Taking. Clearly a regression from bug 407216. Fix coming shortly.
Assignee: general → jorendorff
Assignee | ||
Comment 4•16 years ago
|
||
Hmm, it wasn't quite what I thought it was. nsHTMLOptionsCollection is an example of a class that implements multiple interfaces which each have definitions of some members, in this case nsIDOMHTMLOptionsCollection.length (which is not readonly) and nsIDOMHTMLCollection.length (which is). Quick stubs have problems with these. Another example smaug pointed out on IRC was nsIDOMEventTarget.addEventListener (which has 3 parameters) and nsIDOMNSEventTarget (which has 4); there's a special case in nsDOMClassInfo to cope with this one. I should just delete addEventListener from dom_quickstubs.qsconf. But I'd hate to lose length. Fix will have to wait for tomorrow.
Updated•16 years ago
|
Component: JavaScript Engine → DOM
Flags: blocking1.9.1?
QA Contact: general → general
Comment 6•16 years ago
|
||
Well, for a workaround, commenting out: 'nsIDOMHTMLCollection.length', in dom_quickstubs.qsconf avoids the issue.l
Assignee | ||
Comment 7•16 years ago
|
||
The fix described in comment 6. Filed 453331 about the more general case.
Attachment #336508 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #336508 -
Flags: review? → review?(bzbarsky)
Updated•16 years ago
|
Attachment #336508 -
Flags: superreview+
Attachment #336508 -
Flags: review?(bzbarsky)
Attachment #336508 -
Flags: review+
Assignee | ||
Comment 8•16 years ago
|
||
While I'm waiting for the tree to reopen, here are some tests. (Note: these could be xpcshell-based tests, but bz and I saw some value in testing it in the browser and checking that the control actually gets redrawn. What the heck.) I didn't see any naming conventions for reftest files.
Attachment #336583 -
Flags: superreview?(bzbarsky)
Attachment #336583 -
Flags: review?(bzbarsky)
Comment 9•16 years ago
|
||
(In reply to comment #1) > Works in: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b1pre) > Gecko/20080830020452 Minefield/3.1b1pre > > Broken in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) > Gecko/20080831162801 Minefield/3.1b1pre (In reply to comment #2) > Confirmed under Windows and Linux. > > Platform/OS -> ALL Also SeaMonkey (trunk): Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b1pre) Gecko/20080902011844 SeaMonkey/2.0a1pre I'll be keeping an eye on this bug too.
Comment 10•16 years ago
|
||
P.S. In case that car dealer's page should change, there is another tescase at https://bugzilla.mozilla.org/chart.cgi where (with the bug) the second and third selection boxes appear empty.
Comment 11•16 years ago
|
||
The same bug appears to have broken http://ati.amd.com/support/driver.html too. The selection list isn't filled in. Works fine on "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b1pre) Gecko/20080831003516 SeaMonkey/2.0a1pre" but fails on the 20080901002016 build.
Updated•16 years ago
|
Attachment #336583 -
Flags: superreview?(bzbarsky)
Attachment #336583 -
Flags: superreview+
Attachment #336583 -
Flags: review?(bzbarsky)
Attachment #336583 -
Flags: review+
Comment 12•16 years ago
|
||
Comment on attachment 336583 [details] [diff] [review] tests v1 Looks good.
Assignee | ||
Comment 13•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2abc3b6b4b17
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•16 years ago
|
||
Verified FIXED using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b1pre) Gecko/20080904020533 Minefield/3.1b1pre
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Comment 16•15 years ago
|
||
Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090312 Shiretoko/3.1b4pre. Adding keyword.
Keywords: fixed1.9.1 → verified1.9.1
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•