Closed Bug 1037780 Opened 10 years ago Closed 10 years ago

JavaScript Error: "TypeError: this.viewfinder is undefined" {file: "app://camera.gaiamobile.org/js/main.js"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v2.1 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

Attachments

(1 file)

      No description provided.
Flags: needinfo?(dflanagan)
Turn on Lockscreen via Settings, turn off display, turn it on again. Instead of swiping right to unlock, swipe left to go into the Camera app instead. On or around the time the permissions dialog comes up - I chose not to share but also not remember this setting, the following JS error comes up:

JavaScript Error: "TypeError: this.viewfinder is undefined" {file: "app://camera.gaiamobile.org/js/main.js"

Setting needinfo? from David, the Camera module owner.

Tested on a Flame:
$ ./check_versions.sh
Gaia      c47094a26c87ba71a3da4bae54febd0da21f3393
Gecko     https://hg.mozilla.org/mozilla-central/rev/1b1296d00330
BuildID   20140711040202
Version   33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
B1TC00011220
Thanks Gary.  Did the camera operate normally despite the error in the logcat?

Forwarding the needinfo to Justin who is one of the developers who actually works on that code these days.
Flags: needinfo?(jdarcangelo)
Flags: needinfo?(gary)
Flags: needinfo?(dflanagan)
I think so. However, I recalled that the camera flash behaved erratically even after switching away from the camera app / switching off the screen. Not sure if this is related.
Flags: needinfo?(gary)
Not seeing this in the logcat in the latest build on master. Can you re-check and see if you're still able to reproduce? Thanks!
Flags: needinfo?(jdarcangelo) → needinfo?(gary)
WFM as of:

$ ./check_versions.sh
Gaia      295967a0b824a355ae9d57fb08f3632ed2ad18dd
Gecko     https://hg.mozilla.org/mozilla-central/rev/a4dcfbebcb58
BuildID   20140728040209
Version   34.0a1
ro.build.version.incremental=110
ro.build.date=Fri Jun 27 15:57:58 CST 2014
B1TC00011230

However, I now see bug 1045914.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(gary)
Resolution: --- → WORKSFORME
(In reply to Gary Kwong [:gkw] [:nth10sd] PTO Jul 31 to Aug 01 from comment #5)
> WFM as of:
> 
> $ ./check_versions.sh
> Gaia      295967a0b824a355ae9d57fb08f3632ed2ad18dd
> Gecko     https://hg.mozilla.org/mozilla-central/rev/a4dcfbebcb58
> BuildID   20140728040209
> Version   34.0a1
> ro.build.version.incremental=110
> ro.build.date=Fri Jun 27 15:57:58 CST 2014
> B1TC00011230
> 
> However, I now see bug 1045914.

Sounds good. I will take a look at Bug 1045914. Thanks for checking!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: