Andreas Pehrson
66f7a8a3d9
Bug 1463581 - Add browser chrome test. r=johannh
...
MozReview-Commit-ID: JpryAEsiWfN
2018-05-30 16:47:46 +02:00
Dan Minor
620ef0b8ac
Bug 1450658 - Add preference to disable focusing source; r=pehrsons
...
Focusing a source during a test run can cause Firefox to lose focus and
subsequent tests to timeout. This adds a preference which defaults to true
that allows the source to be focused. It is then set to false for tests that
involve screen sharing.
MozReview-Commit-ID: CNq2c87y8Ho
2018-05-29 16:14:38 -04:00
Johann Hofmann
9ff3826f2f
Bug 1456899 - Consider the page URI when checking WebRTC permissions in webrtcUI.jsm. r=nhnt11
...
While we already do a permission check in native webrtc code, the one
in webrtcUI is needed to provide extra protection against permission spam
by checking if there's a temporarily denied permission on the tab.
Since we introduced custom default permission values it is necessary to
also pass the URI to make sure we catch exceptions added by the user.
MozReview-Commit-ID: C8r6ymbKE3a
2018-05-08 15:31:49 +02:00
Tooru Fujisawa
b0d2bcd317
Bug 1450163 - Wait for the end of the second tab streams before checking the number of streams and indicator in browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js. r=dao
2018-04-09 10:58:01 +09:00
Tooru Fujisawa
49dcfe3733
Bug 1447180 - Wait for the end of the second tab streams before continuing test for first tab in browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js. r=dao
2018-04-09 10:58:01 +09:00
Bryce Van Dyk
efba5c5948
Bug 1436523 - Make sure webrtc chrome mochitests don't use loopback devices. r=achronop
...
Before this changeset, mochitests in browser/base/content/test/webrtc will pick
up loopback devices due to the changes made earlier in this patch chain to
device enumeration. This results in test bustages (for unknown reasons).
This changeset updates the setup JS for these tests to make sure loopback
devices prefs are unset. A comment has been added noting that if the tests
can be made to work with loopback devices that would be ideal.
MozReview-Commit-ID: KG0io8s5r86
2018-03-15 10:41:36 -04:00
Dão Gottwald
7f860b3973
Bug 1444007 - Remove race condition in browser_devices_get_user_media_multi_process.js. r=arai
...
MozReview-Commit-ID: 8cvuI8a984p
2018-03-22 12:06:24 +01:00
Peter Van der Beken
75d03ab497
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-03-01 20:19:56 +01:00
Tooru Fujisawa
cc3db7ac99
Bug 1442465 - Part 5: Workaround for some BrowserTestUtils.removeTab cases. r=dao
2018-03-19 11:16:49 +09:00
Tooru Fujisawa
f415c74b57
Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao
2018-03-19 11:16:45 +09:00
Trisha
f47175323d
Bug 1444054 - Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_devices_get_user_media_screen.js. r=johannh
2018-03-13 00:14:30 +08:00
Trisha
956cc7e029
Bug 1443866 - Use TestUtils.waitForCondition in browser_devices_get_user_media_multi_process.js. r=johannh
2018-03-13 16:02:55 +08:00
Sebastian Hengst
1d14fd1eb9
Backed out changeset 42afef8cda32 (bug 1443866) for failing browser-chrome's browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js
2018-03-12 19:59:02 +02:00
Trisha
b22a028640
Bug 1443866 - Use TestUtils.waitForCondition in browser_devices_get_user_media_multi_process.js. r=johannh, Trisha
2018-03-12 21:28:10 +08:00
kanika
b885e85171
Bug 1443828 Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_devices_get_user_media.js r=prathiksha
...
MozReview-Commit-ID: KyYHBCf4s10
2018-03-08 23:15:15 +05:30
Johann Hofmann
4efad2b1a0
Bug 1442294 - Downgrade global streaming indicator when a higher priority device has been disabled. r=florian
...
MozReview-Commit-ID: 6GxXNsB6xYy
2018-03-08 14:08:21 +01:00
Johann Hofmann
195a17ec48
Bug 1440356 - Add a test for frames overriding WebRTC sharing UI. r=florian
...
MozReview-Commit-ID: FGrLi7IC0gF
2018-03-01 17:42:46 +01:00
Csoregi Natalia
a7fb1721fe
Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
...
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Tooru Fujisawa
18bd9f9cbc
Bug 1193394 - Part 6: Disable browser_devices_get_user_media_unprompted_access.js and browser_ext_commands_execute_browser_action.js. r=bustage CLOSED TREE
2018-03-01 22:26:20 +09:00
Tooru Fujisawa
ce5aa2dc89
Bug 1193394 - Part 5: Disable some tests that relies on descriptionHeightWorkaround. r=bustage CLOSED TREE
2018-03-01 20:03:13 +09:00
Sebastian Hengst
500c4f7ad2
Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
...
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Peter Van der Beken
972562411b
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-02-22 20:22:29 +01:00
Johann Hofmann
f3095a274b
Bug 1333468 - Part 2 - Add tests for paused/disabled sharing state indicators. r=florian
...
MozReview-Commit-ID: G1CTAefOPNB
2018-02-13 10:09:07 +01:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Andreas Pehrson
46eab681f6
Bug 1299515 - Wire up track-disabling logic to frontend APIs. r=jib, r=johannh
...
This modifies mediaCaptureWindowState() to say whether a camera or microphone is
actively captured or not. Note that this is not the same as the device being
on or off. If we disallow a device from being off while disabled, we still
notify chrome that we're not actively capturing.
MozReview-Commit-ID: B1taormqc3j
2017-11-17 20:13:06 +01:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Tooru Fujisawa
58398f9f76
Bug 1421120 - Wait for the next event tick before resolving promise in webrtc tests. r=Mossop
2017-12-09 06:08:44 +09:00
Dorel Luca
7de6f13bc8
Backed out changeset 6050b349b801 (bug 1421120) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE
2017-12-09 18:58:55 +02:00
Tooru Fujisawa
5b9fa84120
Bug 1421120 - Wait for the next event tick before resolving promise in webrtc tests. r=Mossop
2017-12-09 06:08:44 +09:00
Paul Adenot
33384f3ff4
Bug 1423228 - Prevent using non-fake devices when testing screen-sharing. r=jib
...
MozReview-Commit-ID: LX2fbVk0VHG
2017-12-04 15:34:20 +01:00
Marco Castelluccio
0336659513
Bug 1421724 - Disable browser_devices_get_user_media_screen.js on Windows coverage builds until it is fixed. r=achronop
2017-11-30 17:01:21 +01:00
Munro Mengjue Chiang
034522a19a
Bug 1399413 - add mochitests to check multi-tabs gUM. r=jib
...
MozReview-Commit-ID: 8ZtD1ArafvN
2017-11-07 18:53:47 +08:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Jonathan Kingston
125e5b8347
Bug 1272304 - Add disabled state to screen sharing permission r=florian
...
MozReview-Commit-ID: LsZmQD5fWzW
2017-08-12 18:54:24 +01:00
Jan-Ivar Bruaroey
2777a0ac65
Bug 1381638 - Change browser_devices_get_user_media_in_frame.js to test cam then cam+mic instead of mic then cam+mic, to avoid bug 1400488. r=ng
2017-09-17 14:55:51 -04:00
Joel Maher
fd92e6947c
Bug 1347625 - enable browser_devices_get_user_media_multi_process.js for linux debug/asan. r=RyanVM
2017-08-25 11:15:34 -04:00
Munro Mengjue Chiang
1780052874
Bug 1374640 - always prompt for screen sharing. r=florian,jib
...
MozReview-Commit-ID: FJvuf2XVZXJ
2017-06-29 15:50:30 -07:00
Frederik Braun
96b2642639
Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
...
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Paolo Amadini
489326239e
Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
...
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.
MozReview-Commit-ID: 1beGB5GG8Ty
2017-06-18 08:05:06 +01:00
Munro Mengjue Chiang
7d4df1e0fb
Bug 861716 - add a mochitest for gUM request queue in MediaManager. r=florian,jib
...
MozReview-Commit-ID: 750T4pzvf95
2017-05-17 10:59:12 +08:00
Joel Maher
07cc8fd85f
Bug 1369731 - Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js- temporarily disable. r=gbrown
2017-06-07 08:40:25 -06:00
Joel Maher
d1f0b3328d
Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo
2017-06-03 10:34:14 +02:00
Paolo Amadini
e2ac328f74
Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
...
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.
MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-28 11:46:45 +01:00
Sebastian Hengst
d3e7375d07
Backed out changeset 8d53be05afc5 (bug 1242505)
2017-05-28 11:31:12 +02:00