Closed Bug 823707 Opened 13 years ago Closed 13 years ago

"JavaScript Error: "NO SETTINGS PERMISSION FOR: app://video.gaiamobile.org"

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
B2G C3 (12dec-1jan)
blocking-basecamp +

People

(Reporter: cjones, Assigned: daleharvey)

Details

Attachments

(1 file)

Noticed when opening settings app. I don't know if this is a problem. bb? to triage what might be affected.
I noticed it for opening the video app... 12-20 15:55:50.271: E/GeckoConsole(778): [JavaScript Warning: "Expected color but found 'top'. Error in parsing value for 'background'. Declaration dropped." {file: "app://video.gaiamobile.org/style/video.css" line: 16}] 12-20 15:55:50.421: E/GeckoConsole(778): [JavaScript Error: "NO SETTINGS PERMISSION FOR: app://video.gaiamobile.org 12-20 15:55:50.421: E/GeckoConsole(778): " {file: "jar:file:///system/b2g/omni.ja!/components/SettingsManager.js" line: 345}] I wonder if it's related to : bug 816556
Triage: BB-, what are the steps to repro and the user impact? please renom if user impact is great. thanks
blocking-basecamp: ? → -
STR (1) Open the video app Potential impact I filed this to ask triagers what the impact might be. Let's try again.
blocking-basecamp: - → ?
To be clearer, someone who knows the video app should reply about why it needs settings permissions, and what might break if the video app can't access settings. I hope this is just dead code that's failing.
Dale, David, any idea if this is a problem ?
Flags: needinfo?(dflanagan)
Flags: needinfo?(dale)
The video app doesnt have use or ask for settings permissions $ grep -r "setting" ./apps/video/ '' I was always confused at why this error came up, can investigate
Flags: needinfo?(dale)
So this is likely due to audio-channel-content requiring a permission read, also due to https://bugzilla.mozilla.org/show_bug.cgi?id=780953 evey app requires a read settings permissions to be properly localised. So the 2 issues are that is likely breaks mozAudioChannel and cannot switch languages, both of which were blocking issues, so would suggest this blocks too.
Flags: needinfo?(dflanagan)
Comment on attachment 694883 [details] [diff] [review] Add readonly settings permissions to video for l10n and audioChannel I love one line reviews!
Attachment #694883 - Flags: review?(dflanagan) → review+
Comment on attachment 694883 [details] [diff] [review] Add readonly settings permissions to video for l10n and audioChannel Oops, wait! Don't merge this without adding a comma at the end of the new line. r+ only if you add the comma and test the patch!
fixed
Assignee: nobody → dale
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Triage: BB+, P3, C3 - blocking per comment 7
blocking-basecamp: ? → +
Priority: -- → P3
Target Milestone: --- → B2G C3 (12dec-1jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: