cc :dougt and :roc.
----- Original Message -----
From: [email protected]
To: [email protected]
Sent: Wednesday, September 4, 2013 7:34:51 PM
Subject: Pass more than one permissions to prompt dialog.
Hi,
I'm working on bug 853356 which requires to pass new permissions
'audio-capture' and 'video-capture' together to permission prompt dialog via
getUserMedia.
My current implementation is to replaced the string 'type' [1] with a string
array 'types'.
interface nsIContentPermissionRequest : nsISupports {
- */
- readonly attribute ACString type;
+ void types([optional] out unsigned long aLength,
+ [array, size_is(aLength), retval] out wstring aTypes);
However, it introduces concerns to pass 2+ permissions in a request [2].
What do you think about it?
Any suggestion is welcome. Thanks.
[1] http://dxr.mozilla.org/mozilla-central/source/dom/interfaces
/base/nsIContentPermissionPrompt.idl
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=853356#c54
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform