Commit Graph

57 Commits

Author SHA1 Message Date
Boris Zbarsky
0d70093660 Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04: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
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
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
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
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
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
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02: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
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
38c24463e4 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Andreas Pehrson
11b2774d81 Bug 1320994 - Increase retries for screensharing preview window. r=florian
MozReview-Commit-ID: IPnLWPT8SNP
2017-05-03 22:58:40 +02:00
Andreas Pehrson
ce446aa190 Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm
2017-04-07 15:30:43 +02:00
Sebastian Hengst
4c9391c2d7 Backed out changeset 2f475f8d6ffc (bug 1320994) 2017-05-03 13:14:13 +02:00
Andreas Pehrson
235a55dc77 Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm
2017-04-07 15:30:43 +02:00
Wes Kocher
96d3bfe615 Backed out 5 changesets (bug 1320994) for browser_downloads_panel_block.js permafails on Win7VM a=backout
Backed out changeset b744a070cafb (bug 1320994)
Backed out changeset 5766ba7143b4 (bug 1320994)
Backed out changeset 31afc3fcd61f (bug 1320994)
Backed out changeset 78e5f8775727 (bug 1320994)
Backed out changeset 6d4e1736fd69 (bug 1320994)

MozReview-Commit-ID: 9tPD6gwXttd
2017-04-26 15:21:54 -07:00
Andreas Pehrson
90f34819eb Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm
2017-04-07 15:30:43 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Blake Kaplan
7c4e86b032 Bug 1353910 - Fix intermittents in webrtc tests while removing code duplication. r=florian
MozReview-Commit-ID: 83XSsnQ0bBY
2017-04-06 11:41:02 -07:00
Florian Quèze
9fcb83b1c8 Bug 1325049 - Fix the global webrtc sharing indicator to work with multiple content processes, r=felipe. 2017-03-15 22:47:06 +01:00
Florian Quèze
dc573c5bd5 Bug 1323880 - Wait for the recording-window-ended notification instead of expecting it to happen before recording-device-events when reloading the page, r=past. 2017-02-06 12:28:44 +01:00
Florian Quèze
47dde5c17b Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Munro Mengjue Chiang
75f8d6704e Bug 1270572 - write tests for the umprompted gUM request; r=florian
MozReview-Commit-ID: LYWTNnfli6K
2016-12-20 14:51:36 +08:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Johann Hofmann
ac774acafd Bug 1206232 - Add temporary permission states to SitePermissions.jsm. r=jdm,Paolo
MozReview-Commit-ID: zQVeEHhIax
2016-09-22 23:09:30 +02:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Florian Quèze
7af1a8de2e Bug 1313324 - Cover the screensharing UI with browser chrome test, r=past. 2016-12-15 00:56:35 +01:00
Panos Astithas
a44cf00ccc Bug 1282768 - Part 3 - Convert permission notifications to use two buttons and a checkbox instead of multiple secondary actions. r=florian
MozReview-Commit-ID: KNf04CBaLKB
2016-11-20 18:40:26 +01:00
Panos Astithas
4c4e4d8374 Bug 1282768 - Part 2 - Move the secondary actions of doorhanger notifications to their own menu button. r=paolo
MozReview-Commit-ID: 2cnufF7wZJG
2016-11-20 18:40:22 +01:00
Jonathan Kingston
51dc78db8d Bug 1267604 - Restyle doorhanger notifications. r=paolo
MozReview-Commit-ID: HBykgFhgjmX
2016-11-20 18:40:08 +01:00
Jared Wein
ef8b1e86ca Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Andreas Pehrson
b2e6bc04ca Bug 1284102 - Remove all todos in browser chrome getUserMedia tests. r=florian
MozReview-Commit-ID: ArOgLB74Quk
2016-09-23 11:22:19 +02:00
Florian Quèze
d60f69fc8f Bug 1258142 - Stop using a CPOW in promiseMessage for webrtc bc tests, r=Gijs. 2016-09-21 21:20:06 +02:00
Florian Quèze
ad8daa36c5 Bug 1297336 - Preserve device sharing indicator when tearing off a tab, r=johannh. 2016-09-08 12:46:25 +02:00
Jared Wein
696e56f749 Bug 1298559 - Enable eslint for /browser/base/content/test/ r=mattn
MozReview-Commit-ID: BZlkPTcLJMB
2016-08-31 12:53:24 -04:00