Closed Bug 950809 Opened 12 years ago Closed 12 years ago

Avoid dereferencing |e.accelerationIncludingGravity| when null in apps/camera/js/orientation.js

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

RESOLVED FIXED
1.3 C1/1.4 S1(20dec)
blocking-b2g 1.3+
Tracking Status
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: m1, Assigned: m1)

Details

(Whiteboard: [cr 583569] [fxos:media])

Attachments

(1 file, 1 obsolete file)

e.accelerationIncludingGravity can be null and handleMotionEvent(e) doesn't handle this.
blocking-b2g: --- → 1.3?
Attached patch Add null check (obsolete) — Splinter Review
Attachment #8348221 - Flags: review?(johu)
(1.3+ as this is blocking a camera stability test from running)
blocking-b2g: 1.3? → 1.3+
Comment on attachment 8348221 [details] [diff] [review] Add null check Review of attachment 8348221 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for this patch. I think we need to use pull request of github for this patch. If it is ready, I can help to land the code.
Attachment #8348221 - Flags: review?(johu) → review+
Attached file Add null check - PR
Carrying forward r+
Attachment #8348221 - Attachment is obsolete: true
Attachment #8348933 - Flags: review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C1/1.4 S1(20dec)
Whiteboard: [cr 583569]
Whiteboard: [cr 583569] → [cr 583569] [fxos:media]
Flags: in-moztrap-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: