Closed Bug 961659 Opened 11 years ago Closed 11 years ago

Sometimes touch event mode ends up in broken state

Categories

(DevTools :: Responsive Design Mode, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

I do not have step to reproduce. It seems to happen when using a debug build (which is really slow!). You can see "target.ownerDocument is undefined" exception from getContent function, and then the touch helper ends up in a broken state.
Attached patch patchSplinter Review
Prevent touch helper to end up in a broken state if events happens on dead wrappers or removed elements.
Attachment #8362457 - Flags: review?(paul)
Attachment #8362457 - Flags: review?(paul) → review+
It also happens when you are opening an app and anywhere while the app is opening. DOMWindowUtils.sendMouseEvent throws NS_ERROR_FAILURE when the app is in early stages of its loading.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: