Closed Bug 907075 Opened 11 years ago Closed 11 years ago

[Permission] Dismiss continuous same permission request but dispatch mozContentEvent as well if remember is checked

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+)

VERIFIED FIXED
blocking-b2g koi+

People

(Reporter: alive, Assigned: gasolin)

References

Details

(Whiteboard: [MR 1.2])

Attachments

(1 file)

Use case:
(1) User app requests permission A.
(2) Permission Screen shows.
(3) Before user clicks yes or no, user app requests permission A again for other purpose.
(4) User clicks yes and remember me.

Expected:
Don't show the second dialog but sends the ID to gecko as well.

Note:
This affects v1.2 audio recording feature.
Whiteboard: [MR 1.2]
Hi, before doing this I still needs some gecko change to tell me "who is asking permission?" because I cannot cancel another app's request and currently I don't know which app is asking permission.

I think provide manifestURL and pageURL in the permission-request mozChromeEvent is sufficient.
Depends on: 907106
Hmm, due to current permission screen design, this one may not be a trivial change.
I'd like to mentor some new comer to work on refactoring of permission screen. Any way I could also still do this on my own.
Assignee: alive → gasolin
per discussion, bug 853356 is the related use scenario
another related bug 898949
Depends on: 887669
@alive, does bug 786203 provide sufficient origin info?

https://hg.mozilla.org/mozilla-central/rev/0b02b848613e
Flags: needinfo?(alive)
will work on bug 913896 first which is a critical path to support gUM
@alive, is this as you expect?

I'd like to write related test case and test on real device if I'm in the right path.
Attachment #801478 - Flags: feedback?(alive)
Comment on attachment 801478 [details]
pull request redirect to github

Thanks for feedback (in github), I've add testcases for review
Attachment #801478 - Flags: feedback?(alive) → review?(alive)
Comment on attachment 801478 [details]
pull request redirect to github

r+. Have you tested on the real device sending continuous request?
Attachment #801478 - Flags: review?(alive) → review+
not test in real device yet.

@alfredo, is there any exist demo case for v1.2 audio recording feature?
Flags: needinfo?(alive) → needinfo?(ayang)
merged in gaia-master https://github.com/mozilla-b2g/gaia/commit/dcc3707403f43da01f6072f1b5e3a144ee4aaf61

would like to solve followup issues(if any) in bug 913896
Blocks: 913896
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 916007
Keywords: verifyme
QA Contact: jsmith
Verified through initial gUM test pass using http://mozilla.github.io/qa-testcase-data/webapi/webrtc/multigumaudiocontent.html.
Status: RESOLVED → VERIFIED
Keywords: verifyme
blocking-b2g: koi? → koi+
Just seen this.
I don't think it needs to use audio recorder, just multiple of gUM calls should be sufficient.
Flags: needinfo?(ayang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: