Closed
Bug 1332516
Opened 9 years ago
Closed 9 years ago
Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_unprompted_access_tear_off_tab.js | expected notification getUserMedia:response:allow - Got undefined, expected 1
Categories
(Core :: WebRTC, defect, P1)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | unaffected |
| firefox53 | --- | fixed |
| firefox54 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: mchiang)
References
(Depends on 1 open bug)
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])
Attachments
(1 file)
Comment 1•9 years ago
|
||
This looks like fallout from bug 1270572. mchiang, can you take a look at this, please? Thank you.
Blocks: 1270572
Flags: needinfo?(mchiang)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mchiang
Flags: needinfo?(mchiang)
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (mozreview-request) |
Updated•9 years ago
|
Rank: 15
Priority: -- → P1
Comment 5•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8829357 [details]
Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js;
https://reviewboard.mozilla.org/r/106488/#review108338
Your commit message says "Fix ... by adding an argument", I don't see how that relates to what's in the patch. Could you please explain?
::: browser/base/content/test/webrtc/browser_devices_get_user_media_unprompted_access_tear_off_tab.js:42
(Diff revision 1)
> gBrowser.selectedBrowser.messageManager.loadFrameScript(CONTENT_SCRIPT_HELPER, true);
>
> info("request audio+video and check if there is no prompt");
> yield promiseRequestDevice(true, true, null, null, win.gBrowser.selectedBrowser);
> yield promiseObserverCalled("getUserMedia:request");
> - yield promiseNoPopupNotification("webRTC-shareDevices");
> + let promises = [promiseObserverCalled("getUserMedia:response:allow"),
Why are you removing the check that we don't have a permission prompt shown in the UI?
::: browser/base/content/test/webrtc/browser_devices_get_user_media_unprompted_access_tear_off_tab.js:47
(Diff revision 1)
> - yield promiseNoPopupNotification("webRTC-shareDevices");
> - yield expectObserverCalled("getUserMedia:response:allow");
> - yield expectObserverCalled("recording-device-events");
> + let promises = [promiseObserverCalled("getUserMedia:response:allow"),
> + promiseObserverCalled("recording-device-events")];
> + yield Promise.all(promises);
>
> - let promises = [promiseObserverCalled("recording-device-events"),
> + promises = [promiseObserverCalled("recording-device-events"),
> promiseObserverCalled("recording-device-events"),
The indent is broken here.
Attachment #8829357 -
Flags: review?(florian) → review-
| Assignee | ||
Comment 6•9 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8829357 [details]
Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js;
https://reviewboard.mozilla.org/r/106488/#review108338
Sorry I mixed up, adding an argument should be for another bug (javascript error).
> Why are you removing the check that we don't have a permission prompt shown in the UI?
Just think that checking getUserMedia:response:allow is sufficient to assure there is no prompt. Will add it back.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8829357 [details]
Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js;
https://reviewboard.mozilla.org/r/106488/#review108536
Thanks!
Attachment #8829357 -
Flags: review?(florian) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/41b7e94d14fc
Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js; r=florian
Keywords: checkin-needed
Comment 11•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•9 years ago
|
status-firefox53:
--- → affected
| Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8829357 [details]
Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js;
Approval Request Comment
[Feature/Bug causing the regression]: bug 1270572
[User impact if declined]: intermittent mochitest failure
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: it only modifies mochitest
[String changes made/needed]: none
Attachment #8829357 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
status-firefox52:
--- → unaffected
Comment 13•9 years ago
|
||
Comment on attachment 8829357 [details]
Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js;
test-only changes don't need approval for uplift
Attachment #8829357 -
Flags: approval-mozilla-aurora?
Comment 14•9 years ago
|
||
| bugherder uplift | ||
| Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Whiteboard: [stockwell fixed]
You need to log in
before you can comment on or make changes to this bug.
Description
•