Closed Bug 658727 Opened 13 years ago Closed 13 years ago

long tapping on pictures one after another may give you an error message in console : "Error: uncaught exception: Empty rectangles do not have centers"

Categories

(Firefox for Android Graveyard :: General, defect, P4)

ARM
Android
defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 7

People

(Reporter: nhirata, Assigned: vingtetun)

References

()

Details

Attachments

(1 file)

Mozilla/5.0 (Android; Linux armv71; rv6.0a1) Gecko/20110520 Firefox/6.0a1 Fennec/6.0a1
Device: Droid 2 
OS: Android 2.2

1. go to given url : https://developer.mozilla.org/media/uploads/demos/n/i/nikesh/hover-effect/demo_package/index.html
2. long tap on an image
3. go to another image and long tap on it
4. go to another image and long tap on it
5. look in error console

Expected: no error message
Actual: "Error: uncaught exception: Empty rectangles do not have centers"
Priority: -- → P4
Attached patch PatchSplinter Review
Just ignoring the event if we can't get the position of the element.
Assignee: nobody → 21
Attachment #534735 - Flags: review?(ben)
Attachment #534735 - Flags: review?(ben) → review+
http://hg.mozilla.org/mozilla-central/rev/9b389284b974
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7
VERIFIED FIXED on:

Build ID: Mozilla /5.0 (Android;Linux armv7l;rv:7.0a1) Gecko/20110607 Firefox/7.0a1 Fennec/7.0a1 

Device: HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED
Depends on: 663829
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: