Closed Bug 672956 Opened 13 years ago Closed 13 years ago

Diff bar misses changes at the bottom of the file

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED
Q3 2011

People

(Reporter: eviljeff, Assigned: kmag)

References

()

Details

(Whiteboard: [ReviewTeam])

Attachments

(3 files)

In the above diff there are changes added to end of overlay.js which aren't shown in the diff bar (its clear rather than green).  Other changes in the file are indicated in green.

If there are no other changes near the bottom of the existing code then we might be missing potentially dangerous new code.

(unfortunately I've had to reject the addon in the url so the link won't work until the xpi is restored - its not working for me right now)
Priority: -- → P3
Whiteboard: [required amo-editors]
Target Milestone: --- → 6.1.8
Kris, is this in the code that you wrote?
Target Milestone: 6.1.8 → Q3 2011
I think it's in a section with both Andy's code and mine, but I'll take it. I think jQuery's throwing an exception that the event listener is eating, because something strange is happening in the generated DOM. The last diff marker winds up with an empty style attribute after passing a non-empty CSS object to .attr().

I'm going to need to find a way to reproduce this locally. Can someone get me a copy of the two files in the linked diff URL?
Assignee: nobody → maglione.k
-> major, since this can lead to unreviewed code.
Severity: normal → major
Attached file Mar_Mod-1.1
Attached file Mar_Mod-1.0
Attached patch PatchSplinter Review
The height of the last marker was turning up NaN. It looks like that line didn't survive my jQuery-ification. It originally used .getBoundingClientRect(), but .offset() obviously doesn't have a .bottom property.
Attachment #547508 - Flags: review?(amckay)
Comment on attachment 547508 [details] [diff] [review]
Patch

Looks good, thanks Kris.
Attachment #547508 - Flags: review?(amckay) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Whoops. Added wrong bug number
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: