Closed Bug 1297638 Opened 8 years ago Closed 8 years ago

Intermittent browser_devices_get_user_media_anim.js | the animated sharing icon of the tab is now visible

Categories

(Core :: WebRTC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox50 --- unaffected
firefox51 --- fixed

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=34545928&repo=mozilla-inbound 01:40:30 INFO - 242 INFO TEST-START | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js 01:40:30 INFO - TEST DEVICES: Using media devices: 01:40:30 INFO - audio: Sine source at 440 Hz 01:40:30 INFO - video: Dummy video device 01:40:31 INFO - TEST-INFO | started process screentopng 01:40:33 INFO - TEST-INFO | screentopng: exit 0 01:40:33 INFO - 243 INFO checking window state 01:40:33 INFO - 244 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | should start the test without any prior popup notification - 01:40:33 INFO - 245 INFO device sharing animation on background tabs 01:40:33 INFO - 246 INFO requesting devices 01:40:33 INFO - 247 INFO Console message: [JavaScript Warning: "navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMedia" {file: "https://example.com/browser/browser/base/content/test/webrtc/get_user_media.html" line: 38}] 01:40:33 INFO - 248 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | webRTC-shareDevices notification shown - 01:40:33 INFO - 249 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | notification panel open - 01:40:33 INFO - 250 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | notification panel populated - 01:40:33 INFO - 251 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | expected notification getUserMedia:request - 01:40:33 INFO - 252 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | received ok - 01:40:33 INFO - 253 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | expected notification getUserMedia:response:allow - 01:40:33 INFO - 254 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | expected notification recording-device-events - 01:40:33 INFO - 255 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | expected stream to be shared - 01:40:33 INFO - 256 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | the tab has the attribute to show the camera icon - 01:40:33 INFO - 257 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | the animated sharing icon of the tab is hidden - 01:40:33 INFO - 258 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | the new tab doesn't have the 'sharing' attribute - 01:40:33 INFO - 259 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | the tab still has the 'sharing' attribute - 01:40:33 INFO - 260 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js | the animated sharing icon of the tab is now visible - Didn't expect none, but got it 01:40:33 INFO - Stack trace: 01:40:33 INFO - chrome://mochikit/content/browser-test.js:test_isnot:971 01:40:33 INFO - chrome://mochitests/content/browser/browser/base/content/test/webrtc/browser_devices_get_user_media_anim.js:getStreamAndCheckBackgroundAnim:50 01:40:33 INFO - resource://gre/modules/Task.jsm:TaskImpl_run:319 01:40:33 INFO - resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:Handler.prototype.process:937 01:40:33 INFO - resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:this.PromiseWalker.walkerLoop:816
It looks like the test should use BrowserTestUtils.switchTab instead of gBrowser.selectedTab = ...
Blocks: 1297157, 1275262
Flags: needinfo?(florian)
Apparently this was a permanent failure, so my patch got backed out. Fixed as part of https://hg.mozilla.org/integration/mozilla-inbound/rev/bc6a34b88b0a
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(florian)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.