Closed Bug 1120546 Opened 5 years ago Closed 5 years ago

getUserMedia used in frames needs tests

Categories

(Firefox :: Site Permissions, defect)

defect
Not set
Points:
3

Tracking

()

RESOLVED FIXED
Firefox 38
Iteration:
38.1 - 26 Jan
Tracking Status
firefox37 --- fixed
firefox38 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

Things like bug 1062876 or bug 1114433 could have been caught earlier if we had had appropriate testing for getUserMedia used in a frame.
Attached patch TestsSplinter Review
This is based on the browser_devices_get_user_media.js test. I also added in that file a test that the WebRTC sharing UI is correctly removed when the page is reloaded.

Then, the new test for frames is a fork of the existing test, running the relevant tests in an iframe, and adding tests for a few frame-specific cases.
Attachment #8547701 - Flags: review?(felipc)
Flags: qe-verify-
Flags: firefox-backlog+
Points: --- → 3
Status: NEW → ASSIGNED
Iteration: --- → 37.3 - 12 Jan
Iteration: 37.3 - 12 Jan → 38.1 - 26 Jan
Attachment #8547701 - Flags: review?(felipc) → review+
https://hg.mozilla.org/mozilla-central/rev/001501ed6cbc
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Depends on: 1125661
Depends on: 1126107
You need to log in before you can comment on or make changes to this bug.