[webapp-container] No access to video provided despite policy_group "camera" in .apparmour file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
David Barth | ||
webapps-sprint |
Fix Released
|
High
|
Alexandre Abreu | ||
webbrowser-app (Ubuntu) |
Fix Released
|
High
|
Alexandre Abreu |
Bug Description
A web app that displays a website trying to access camera and microphone (for video conferencing, using WebRTC) will be refused to access the camera despite the "camera" policy_group in apparmour.
The trust-store dialog pops up in the webbrowser-app for a website such as [1], but it doesn't pop up when the website is embedded with webapp-container.
[1] https:/
Details
-------
- Detailed explanations on the mailing list: https:/
- Affected web app (Store): https:/
- Affected web app (rev 2): https:/
- Bug report for affected app: https:/
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Olivier Tilloy: Approve
-
Diff: 334 lines (+170/-16)7 files modifiedsrc/app/webcontainer/CMakeLists.txt (+0/-1)
src/app/webcontainer/PopupWindowController.qml (+8/-3)
src/app/webcontainer/PopupWindowOverlay.qml (+16/-1)
src/app/webcontainer/WebViewImplOxide.qml (+30/-9)
src/app/webcontainer/WebappContainerWebview.qml (+11/-2)
tests/autopilot/webapp_container/tests/fake_servers.py (+35/-0)
tests/autopilot/webapp_container/tests/test_media_permission.py (+70/-0)
description: | updated |
Changed in webbrowser-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → David Barth (dbarth) |
milestone: | none → ww08-2016 |
Changed in webapps-sprint: | |
milestone: | none → sprint-19 |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in webapps-sprint: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in webapps-sprint: | |
milestone: | sprint-19 → sprint-21 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in webapps-sprint: | |
milestone: | sprint-21 → sprint-20 |
The webapp container needs to hook to the webview’s mediaAccessPerm issionRequested signal, similar to what’s done for geolocationPerm issionRequested .