Closed
Bug 1332516
Opened 7 years ago
Closed 7 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)
Filed by: wkocher [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=70497405&repo=autoland https://archive.mozilla.org/pub/firefox/tinderbox-builds/autoland-win64-debug/1484868205/autoland_win8_64-debug_test-mochitest-browser-chrome-1-bm109-tests1-windows-build274.txt.gz
Comment 1•7 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•7 years ago
|
Assignee: nobody → mchiang
Flags: needinfo?(mchiang)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Rank: 15
Priority: -- → P1
Comment 5•7 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•7 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•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a41c2a93b82981207c97f49459728b84b82d67
Comment 9•7 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•7 years ago
|
Keywords: checkin-needed
Comment 10•7 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•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/41b7e94d14fc
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•7 years ago
|
status-firefox53:
--- → affected
Assignee | ||
Comment 12•7 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•7 years ago
|
status-firefox52:
--- → unaffected
Comment 13•7 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•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/c748e16d9ec7
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Whiteboard: [stockwell fixed]
You need to log in
before you can comment on or make changes to this bug.
Description
•