Commit graph

99 commits

Author SHA1 Message Date
Paul Adenot
b5c3324cd1 Bug 1423228 - Prevent using non-fake devices when testing screen-sharing. r=jib
MozReview-Commit-ID: LX2fbVk0VHG

--HG--
extra : rebase_source : a940b255ffdcc23c5c46c798b3706c9359c7c2aa
extra : source : a75a3b7f9c6ee53b9e80684daca7425d20d01929
extra : histedit_source : c8bdb3e45db60e44fdf8f3e5eba8f2805affc49a
2017-12-04 15:34:20 +01:00
Marco Castelluccio
13a64e4f45 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
653acd9c49 Bug 1399413 - add mochitests to check multi-tabs gUM. r=jib
MozReview-Commit-ID: 8ZtD1ArafvN

--HG--
extra : rebase_source : 9149dfca4254f3a455c1ee44e9fac07e4673dd04
2017-11-07 18:53:47 +08:00
Dan Banner
7caa92d5d8 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
9914e60252 Bug 1272304 - Add disabled state to screen sharing permission r=florian
MozReview-Commit-ID: LsZmQD5fWzW

--HG--
extra : rebase_source : 8bb8a901290ec651c23fbc8a69b323c501587920
2017-08-12 18:54:24 +01:00
Jan-Ivar Bruaroey
2d8e4ed71f 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
06e09fcc6e 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
8937814170 Bug 1374640 - always prompt for screen sharing. r=florian,jib
MozReview-Commit-ID: FJvuf2XVZXJ

--HG--
extra : rebase_source : 4c4b00c1128448da6c0d73b032d8629b80ff01c3
2017-06-29 15:50:30 -07:00
Frederik Braun
56838ddb04 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
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Paolo Amadini
585fbe6cec 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

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Munro Mengjue Chiang
cea6dddaf6 Bug 861716 - add a mochitest for gUM request queue in MediaManager. r=florian,jib
MozReview-Commit-ID: 750T4pzvf95

--HG--
extra : rebase_source : b683ce86ce43ca33fdb303d55e6da21eea1725d1
2017-05-17 10:59:12 +08:00
Joel Maher
3f003a3b32 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
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Paolo Amadini
d7513d1e02 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

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
8edd3b1d5c 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

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Carsten "Tomcat" Book
6095625a0e Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Andreas Pehrson
b259e8ed75 Bug 1363253 - Ignore events specific to preview window also when decrementing. r=florian
MozReview-Commit-ID: 8pjSBUI7ZkZ

--HG--
extra : rebase_source : 86a81fadf001314e6fd8452ce661f01b1e1f9535
2017-05-11 15:07:17 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
97f401c644 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
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
16530fa1e3 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
5e3539e504 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
da339f960b Bug 1320994 - Increase retries for screensharing preview window. r=florian
MozReview-Commit-ID: IPnLWPT8SNP

--HG--
extra : rebase_source : 21b082ae29fed7332ecafcd500d6cb8e25e42217
2017-05-03 22:58:40 +02:00
Andreas Pehrson
ad7fb286f8 Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm

--HG--
extra : rebase_source : 7ce756a9d9b2b965533ceae852fd0c5c95a34a64
2017-04-07 15:30:43 +02:00
Andreas Pehrson
710bb1b2f0 Bug 1320994 - Re-enable tests. r=florian
MozReview-Commit-ID: KGe95JhBoVD

--HG--
extra : rebase_source : cddc8cdf72dfd554af5881508e95dcb06a3ff970
2017-03-28 16:03:21 +02:00
Kris Maglione
f62862f632 Bug 1358921: Lazily load webrtcUI.jsm when first needed. r=florian
MozReview-Commit-ID: LRtpyBaRCMA

--HG--
extra : rebase_source : 698e702af3893bbbcf544eeb2ef1622072a0b67c
2017-05-02 19:50:20 -07:00
Wes Kocher
2768cd5d15 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

--HG--
extra : rebase_source : 56cb2ac6d2e057b171d74cd529b53e617c716b4c
2017-04-26 15:21:54 -07:00
Andreas Pehrson
936d360598 Bug 1320994 - Remove chrome-test hacks that accomodated the misaligned MediaManager model. r=florian
MozReview-Commit-ID: BS693gGyVhm

--HG--
extra : rebase_source : ae85538f9150f8c272ca90ff43a9348b69f7bc22
2017-04-07 15:30:43 +02:00
Andreas Pehrson
f246a81c6d Bug 1320994 - Re-enable tests. r=florian
MozReview-Commit-ID: KGe95JhBoVD

--HG--
extra : rebase_source : 23dfba0783dcba9b89955724e62c7c4344262c82
2017-03-28 16:03:21 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Blake Kaplan
971ced558b Bug 1353910 - Fix intermittents in webrtc tests while removing code duplication. r=florian
MozReview-Commit-ID: 83XSsnQ0bBY

--HG--
extra : rebase_source : f476470a9d78b1d820a1aa23263e5b289c1e77fa
2017-04-06 11:41:02 -07:00
Ryan VanderMeulen
84059bb18c Bug 1347625 - Skip browser_devices_get_user_media_multi_process.js on ASAN due to leaks.
--HG--
extra : rebase_source : d8a6962ae4400c9d5d765439056af26f430a04ea
2017-04-05 15:57:59 -04:00
Andreas Pehrson
59edf19913 Bug 1334421 - Re-enable test. r=florian
MozReview-Commit-ID: BgliJ7BtDh5

--HG--
extra : rebase_source : 0b965cfe6d83428313b1a582e7048b97279526c1
2017-03-21 10:09:24 +01:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Florian Quèze
f55f3ce4a0 Bug 1325049 - Fix the global webrtc sharing indicator to work with multiple content processes, r=felipe. 2017-03-15 22:47:06 +01:00
Joel Maher
9081ac9af8 Bug 1338038 - Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js. r=gbrown
MozReview-Commit-ID: GX4VNZpgIaR
2017-03-14 14:11:40 -04:00
Joel Maher
90709f0a55 Bug 1334752 - Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_unprompted_access_tear_off_tab.js. r=gbrown
MozReview-Commit-ID: J85wyAoLcKq
2017-02-24 12:33:16 -05:00
Munro Mengjue Chiang
6f870f4516 Bug 1332869 - Fix Intermittent browser_devices_get_user_media_in_frame.js; r=florian
MozReview-Commit-ID: E968LugF7Rp

--HG--
extra : rebase_source : 286583c22238b02ecc585777e62f16acaf557e80
2017-02-03 15:44:14 +08:00
Mark Banner
733f0b7c97 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Wes Kocher
8a6ba3b877 Backed out changeset 3a166ded7d98 (bug 1334752) for turning browser_devices_get_user_media_unprompted_access_tear_off_tab.js permafail on OSX debug a=backout
MozReview-Commit-ID: 5N2eSjC6YKW
2017-02-13 12:11:50 -08:00
Munro Mengjue Chiang
2db67dd6ea Bug 1334752 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js; r=florian
MozReview-Commit-ID: E968LugF7Rp

--HG--
extra : rebase_source : be5c4066d3c35c8270f4ef3516af5ad539f8ed8b
2017-02-03 15:44:14 +08:00
Florian Quèze
8bceb76f8e 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
f187782ccf 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
Munro Mengjue Chiang
0f5f625a1a Bug 1332516 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js; r=florian
MozReview-Commit-ID: LRVpMwGl6Ev

--HG--
extra : rebase_source : 635148900f05d0cb782fd2366776a3fb1b6286ff
2017-01-23 14:49:34 +08:00
Gabor Krizsanits
71ba9b000c Bug 1315042 - Re-enable some tests. r=me 2017-01-25 18:04:55 +01:00
Florian Quèze
0e0865f4fc 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