Closed Bug 311090 Opened 20 years ago Closed 20 years ago

Patch for bug 310351 was mildly bogus

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: mrbkap)

References

()

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file)

My method of getting the length was incorrect for _generic_ arrays, where we can't make any assumptions about our data. Instead, we should go through javascript (and then back through XPConnect, ick.
Status: NEW → ASSIGNED
Attached patch As describedSplinter Review
Attachment #198474 - Flags: superreview?(brendan)
Attachment #198474 - Flags: review?(jst)
Comment on attachment 198474 [details] [diff] [review] As described This is ok, but you might change the JSVAL_IS_INT fretting to cope with unsigned 32 bit values that do not fit in the nonnegative half of the signed 31 bit domain of int jsvals. But that's for later, on the trunk. For this patch, just change the XXX comment to say how this can really happen (sparse array delegating to the DOM prototype). /be
Attachment #198474 - Flags: superreview?(brendan) → superreview+
Comment on attachment 198474 [details] [diff] [review] As described Prematurely requesting approval, this patch (re-)fixes maps.google.com
Attachment #198474 - Flags: approval1.8b5?
Blocks: 311094
Blocks: 311107
Blocks: 311104
I e-mailed jst directly this morning asking him to review this ASAP.
Comment on attachment 198474 [details] [diff] [review] As described I'm going to approve this for the branch. jst, doesn't have internet connectivity at the moment and we'd rather gets some bits up that we can all start testing instead of waiting. Leaving the review request alone, so we can address any review comments from jst later.
Attachment #198474 - Flags: approval1.8b5? → approval1.8b5+
Checked in on trunk and MOZILLA_1_8_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Comment on attachment 198474 [details] [diff] [review] As described r=jst
Attachment #198474 - Flags: review?(jst) → review+
should Bug 311119 be fixed py this patch too ?
Blocks: 311119
Hmm.. This had noticeable (0.5%?) Tp impact on btek. Anything we can do about that?
(In reply to comment #9) > Hmm.. This had noticeable (0.5%?) Tp impact on btek. Anything we can do about > that? Sure -- at the cost of a QI test, restore the lost fast path that resulted in this bug, and do the full get-property on 'length' if the QI to nsIDOMNodeList fails. /be
Depends on: 311151
bug 311151 filed to track the Tp regression.
Blake, Bug 311204 has the same regressionwindow as all others here. Could it have been caused by bug 310351 but not fixed by this bug ?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: