Граф коммитов

1335 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown d0c30405e1 Bug 1521640 - Update android crashtest assertion ranges; r=geckoview-reviewers,snorp
Avoid assertion range mismatch errors in Android crashtests.

Differential Revision: https://phabricator.services.mozilla.com/D48200

--HG--
extra : moz-landing-system : lando
2019-10-15 19:40:24 +00:00
John Lin 1bc3a5e9be Bug 1509316 - p4: disable HW codec in WebRTC tests. r=pehrsons,drno
Differential Revision: https://phabricator.services.mozilla.com/D47713

--HG--
extra : moz-landing-system : lando
2019-10-09 23:15:56 +00:00
Andreas Schuler 9cde4e3ef1 Bug 1585009: Support playout-delay RTP header extension r=bwc
Added playout-delay RTP header extension for video to JsepSessionImpl::SetupDefaultRtpExtensions.
This ensures that this extension will be preserved when generating an answer to an offer (by a sending peer) containing it.
Also updated JsepSessionTest to include a test verifying that the expected default audio and video extensions are set.

Differential Revision: https://phabricator.services.mozilla.com/D47689

--HG--
extra : moz-landing-system : lando
2019-10-08 12:49:52 +00:00
Byron Campen [:bwc] 9067a09c0a Bug 1470568: Remove the rid= and pt= stuff from our simulcast parsing. Also, handle paused rids correctly. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47658

--HG--
extra : moz-landing-system : lando
2019-10-02 20:20:07 +00:00
Dorel Luca 46491fb5f0 Backed out changeset 62b78793d12e (bug 1583867) for WPT failures in webrtc/RTCRtpReceiver-getSynchronizationSources.https.html 2019-10-03 02:43:28 +03:00
Nico Grunbaum 6722b1c2c1 Bug 1583867 - add rtpTimestamp field to RTP sync/contrib sources; r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D47096

--HG--
extra : moz-landing-system : lando
2019-10-02 21:55:33 +00:00
Byron Campen [:bwc] d17eabb595 Bug 1581898: Add test-case that moves payload type 101 to the front. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D46829

--HG--
extra : moz-landing-system : lando
2019-10-02 07:58:22 +00:00
Andreas Pehrson 1bdb34c6ec Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug
This renames the following (in alphabetical order, non-exhaustive):

AudioCaptureStream -> AudioCaptureTrack
AudioNodeStream -> AudioNodeTrack
AudioNodeExternalInputStream -> AudioNodeExternalInputTrack
DirectMediaStreamTrackListener -> DirectMediaTrackListener
MediaStream -> MediaTrack
  - Note that there's also dom::MediaTrack. Namespaces differentiate them.
MediaStreamGraph -> MediaTrackGraph
MediaStreamTrackListener -> MediaTrackListener
MSG -> MTG (in comments)
ProcessedMediaStream -> ProcessedMediaTrack
SharedDummyStream -> SharedDummyTrack
SourceMediaStream -> SourceMediaTrack
StreamTime -> TrackTime
TrackUnionStream -> ForwardedInputTrack
  - Because this no longer takes a union of anything, but only a single track
    as input.

Other minor classes, members and comments have been updated to reflect these
name changes.

Differential Revision: https://phabricator.services.mozilla.com/D46146

--HG--
rename : dom/media/AudioCaptureStream.cpp => dom/media/AudioCaptureTrack.cpp
rename : dom/media/AudioCaptureStream.h => dom/media/AudioCaptureTrack.h
rename : dom/media/TrackUnionStream.cpp => dom/media/ForwardedInputTrack.cpp
rename : dom/media/TrackUnionStream.h => dom/media/ForwardedInputTrack.h
rename : dom/media/MediaStreamGraph.cpp => dom/media/MediaTrackGraph.cpp
rename : dom/media/MediaStreamGraph.h => dom/media/MediaTrackGraph.h
rename : dom/media/MediaStreamGraphImpl.h => dom/media/MediaTrackGraphImpl.h
rename : dom/media/MediaStreamListener.cpp => dom/media/MediaTrackListener.cpp
rename : dom/media/MediaStreamListener.h => dom/media/MediaTrackListener.h
rename : dom/media/webaudio/AudioNodeExternalInputStream.cpp => dom/media/webaudio/AudioNodeExternalInputTrack.cpp
rename : dom/media/webaudio/AudioNodeExternalInputStream.h => dom/media/webaudio/AudioNodeExternalInputTrack.h
rename : dom/media/webaudio/AudioNodeStream.cpp => dom/media/webaudio/AudioNodeTrack.cpp
rename : dom/media/webaudio/AudioNodeStream.h => dom/media/webaudio/AudioNodeTrack.h
extra : moz-landing-system : lando
2019-10-02 10:23:02 +00:00
Gurzau Raul 40dae37e00 Backed out 7 changesets (bug 1454998) for build bustages at MediaTrackGraph.h on a CLOSED TREE.
Backed out changeset 80417bdfa721 (bug 1454998)
Backed out changeset 8ff03f2f4ca2 (bug 1454998)
Backed out changeset ae6056b748d1 (bug 1454998)
Backed out changeset ab721cb2066b (bug 1454998)
Backed out changeset d0e8d413cd1c (bug 1454998)
Backed out changeset 3ce4dc7e9ae2 (bug 1454998)
Backed out changeset 6105a4176729 (bug 1454998)

--HG--
rename : dom/media/AudioCaptureTrack.cpp => dom/media/AudioCaptureStream.cpp
rename : dom/media/AudioCaptureTrack.h => dom/media/AudioCaptureStream.h
rename : dom/media/MediaTrackGraph.cpp => dom/media/MediaStreamGraph.cpp
rename : dom/media/MediaTrackGraph.h => dom/media/MediaStreamGraph.h
rename : dom/media/MediaTrackGraphImpl.h => dom/media/MediaStreamGraphImpl.h
rename : dom/media/MediaTrackListener.cpp => dom/media/MediaStreamListener.cpp
rename : dom/media/MediaTrackListener.h => dom/media/MediaStreamListener.h
rename : dom/media/ForwardedInputTrack.cpp => dom/media/TrackUnionStream.cpp
rename : dom/media/ForwardedInputTrack.h => dom/media/TrackUnionStream.h
rename : dom/media/webaudio/AudioNodeExternalInputTrack.cpp => dom/media/webaudio/AudioNodeExternalInputStream.cpp
rename : dom/media/webaudio/AudioNodeExternalInputTrack.h => dom/media/webaudio/AudioNodeExternalInputStream.h
rename : dom/media/webaudio/AudioNodeTrack.cpp => dom/media/webaudio/AudioNodeStream.cpp
rename : dom/media/webaudio/AudioNodeTrack.h => dom/media/webaudio/AudioNodeStream.h
2019-10-02 11:46:23 +03:00
Andreas Pehrson 36d89d91c8 Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug
This renames the following (in alphabetical order, non-exhaustive):

AudioCaptureStream -> AudioCaptureTrack
AudioNodeStream -> AudioNodeTrack
AudioNodeExternalInputStream -> AudioNodeExternalInputTrack
DirectMediaStreamTrackListener -> DirectMediaTrackListener
MediaStream -> MediaTrack
  - Note that there's also dom::MediaTrack. Namespaces differentiate them.
MediaStreamGraph -> MediaTrackGraph
MediaStreamTrackListener -> MediaTrackListener
MSG -> MTG (in comments)
ProcessedMediaStream -> ProcessedMediaTrack
SharedDummyStream -> SharedDummyTrack
SourceMediaStream -> SourceMediaTrack
StreamTime -> TrackTime
TrackUnionStream -> ForwardedInputTrack
  - Because this no longer takes a union of anything, but only a single track
    as input.

Other minor classes, members and comments have been updated to reflect these
name changes.

Differential Revision: https://phabricator.services.mozilla.com/D46146

--HG--
rename : dom/media/AudioCaptureStream.cpp => dom/media/AudioCaptureTrack.cpp
rename : dom/media/AudioCaptureStream.h => dom/media/AudioCaptureTrack.h
rename : dom/media/TrackUnionStream.cpp => dom/media/ForwardedInputTrack.cpp
rename : dom/media/TrackUnionStream.h => dom/media/ForwardedInputTrack.h
rename : dom/media/MediaStreamGraph.cpp => dom/media/MediaTrackGraph.cpp
rename : dom/media/MediaStreamGraph.h => dom/media/MediaTrackGraph.h
rename : dom/media/MediaStreamGraphImpl.h => dom/media/MediaTrackGraphImpl.h
rename : dom/media/MediaStreamListener.cpp => dom/media/MediaTrackListener.cpp
rename : dom/media/MediaStreamListener.h => dom/media/MediaTrackListener.h
rename : dom/media/webaudio/AudioNodeExternalInputStream.cpp => dom/media/webaudio/AudioNodeExternalInputTrack.cpp
rename : dom/media/webaudio/AudioNodeExternalInputStream.h => dom/media/webaudio/AudioNodeExternalInputTrack.h
rename : dom/media/webaudio/AudioNodeStream.cpp => dom/media/webaudio/AudioNodeTrack.cpp
rename : dom/media/webaudio/AudioNodeStream.h => dom/media/webaudio/AudioNodeTrack.h
extra : moz-landing-system : lando
2019-10-02 08:18:16 +00:00
Bogdan Tara efe859aeb7 Backed out changeset c29af4939f66 (bug 1581898) for crashinf mochitests CLOSED TREE 2019-10-02 10:42:27 +03:00
Byron Campen [:bwc] 277a49fe97 Bug 1581898: Add test-case that moves payload type 101 to the front. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D46829

--HG--
extra : moz-landing-system : lando
2019-10-01 22:15:40 +00:00
Thomas Nguyen 7da04c50bc Bug 1579388 - Enable featurepolicy pref in beta test_enumerateDevices. r=baku
dom.security.featurePolicy.enabled is enable only in nightly, so some
tests in beta will be failed. We should manually enable the pref in test.

Differential Revision: https://phabricator.services.mozilla.com/D44990

--HG--
extra : moz-landing-system : lando
2019-09-09 12:01:49 +00:00
Kris Maglione c9bc5f8a41 Bug 1542415: Part 4 - Always rebuild frameloaders on remoteness change in Fission windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44738

--HG--
extra : moz-landing-system : lando
2019-09-09 12:28:09 +00:00
Geoff Brown 56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

Differential Revision: https://phabricator.services.mozilla.com/D45018

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Thomas Nguyen 6945142351 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 20:09:28 +00:00
Coroiu Cristina 5f190b63ff Backed out 2 changesets (bug 1548087) for wpt failures at audio-output/setSinkId.https.html on a CLOSED TREE
Backed out changeset 6f9782261d63 (bug 1548087)
Backed out changeset 044e224f7011 (bug 1548087)
2019-09-05 20:00:26 +03:00
Thomas Nguyen db7ab2a061 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 14:53:07 +00:00
Andreas Pehrson 67a1bcb44d Bug 1576771 - Add mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D44675

--HG--
extra : moz-landing-system : lando
2019-09-04 16:14:12 +00:00
Mark Banner 351d147e2f Bug 1577746 - Enable ESLint rule object-shorthand for dom/. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44149

--HG--
extra : moz-landing-system : lando
2019-09-02 11:22:27 +00:00
Andreas Pehrson e571b688f3 Bug 1576938 - Add crashtest. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D44019

--HG--
extra : moz-landing-system : lando
2019-08-29 23:26:37 +00:00
Dan Minor fc82a0c5d5 Bug 1554976 - Obfuscate default rtp and rtcp candidates if required; r=ng
The default RTP candidate is used to populate the c= line in SDP. Rather than
using the mDNS address, which sipcc can not parse, we use 0.0.0.0:9, which is
what Chromium has chosen as well [1].

For RTCP, the mDNS obfuscated address is used.

[1] https://webrtc.googlesource.com/src.git/+/3ae59d33a310280e2f21ed4c53849950171e48e8

Differential Revision: https://phabricator.services.mozilla.com/D38498

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:25 +00:00
Dan Minor 69b6cff0bd Bug 1554976 - Disable host address obfuscation for simulated NAT mochitests; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38497

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:13 +00:00
Gurzau Raul a6c5c5e3ac Backed out 14 changesets (bug 1554976) for Windows build bustages on a CLOSED TREE.
Backed out changeset a9b209d9d880 (bug 1554976)
Backed out changeset 27b4dddf9597 (bug 1554976)
Backed out changeset 3e16c10bb966 (bug 1554976)
Backed out changeset 6a404fca61dc (bug 1554976)
Backed out changeset 77c4e76c8130 (bug 1554976)
Backed out changeset 24f146b86cc4 (bug 1554976)
Backed out changeset b49b4326dcfd (bug 1554976)
Backed out changeset e2c837d1e0a0 (bug 1554976)
Backed out changeset 24728144c263 (bug 1554976)
Backed out changeset a099e69241a0 (bug 1554976)
Backed out changeset 0e34595c2680 (bug 1554976)
Backed out changeset a506bb40047e (bug 1554976)
Backed out changeset 513026415092 (bug 1554976)
Backed out changeset e0fc6a1d4332 (bug 1554976)
2019-08-28 18:10:11 +03:00
Dan Minor b07a76f4bd Bug 1554976 - Obfuscate default rtp and rtcp candidates if required; r=ng
The default RTP candidate is used to populate the c= line in SDP. Rather than
using the mDNS address, which sipcc can not parse, we use 0.0.0.0:9, which is
what Chromium has chosen as well [1].

For RTCP, the mDNS obfuscated address is used.

[1] https://webrtc.googlesource.com/src.git/+/3ae59d33a310280e2f21ed4c53849950171e48e8

Differential Revision: https://phabricator.services.mozilla.com/D38498

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:42 +00:00
Dan Minor 70005885cc Bug 1554976 - Disable host address obfuscation for simulated NAT mochitests; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D38497

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:35 +00:00
Andreas Pehrson b0320d7a8a Bug 1573536 - Add crashtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42530

--HG--
extra : moz-landing-system : lando
2019-08-27 07:36:40 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

Differential Revision: https://phabricator.services.mozilla.com/D39974

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Andrew McCreight c749e75350 Bug 1574627 - Fix some "disbaled" typos. DONTBUILD r=njn
Differential Revision: https://phabricator.services.mozilla.com/D42376

--HG--
extra : moz-landing-system : lando
2019-08-16 23:23:05 +00:00
Andreas Pehrson c61d65f0ab Bug 1563697 - Allow one intermittent assert on Android for bug 1429507 crashtests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D41348

--HG--
extra : moz-landing-system : lando
2019-08-09 23:26:21 +00:00
Andreas Pehrson 0b81e7d768 Bug 1563697 - Move script tags from <head> to <body> to avoid window.open asserts. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D41022

--HG--
extra : moz-landing-system : lando
2019-08-07 23:49:30 +00:00
Andreas Pehrson 34e0a5f4fe Bug 1570673 - Add mochitest. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D40597

--HG--
extra : moz-landing-system : lando
2019-08-05 17:21:19 +00:00
Andreas Pehrson 01327dd273 Bug 1568999 - Stop-gap fix for in-test GeckoView enumeration permission request. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D39865

--HG--
extra : moz-landing-system : lando
2019-08-06 20:08:37 +00:00
Edwin Gao d6127aa0c2 Bug 1561046 - remove API 22 from manifest files r=gbrown
Changes:
- remove references to API 22 from manifests

Differential Revision: https://phabricator.services.mozilla.com/D39808

--HG--
extra : moz-landing-system : lando
2019-07-31 17:38:39 +00:00
Andreas Pehrson 4b3fa9c67e Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot
This is inherently large, because modifying these bits of DOMMediaStream and
MediaStreamTrack affects all consumers and producers of all DOMMediaStreams and
MediaStreamTracks.

Things are generally much simpler now.

Producers of tracks now create a MediaStream in the graph, add it to a
MediaStreamTrackSource subclass that takes ownership of it, and add the source
to a MediaStreamTrack. Should the producer need a DOMMediaStream it is now much
simpler to create as the only thing needed is the current window. The stream is
a rather simple wrapper around an array of MediaStreamTracks.

HTMLMediaElement is still not as straight forward as other consumers since it
consumes the DOMMediaStream directly, as opposed to a set of tracks.
The new MediaStreamRenderer helper class helps bridge the gap between this fact
and the new track-based MediaStreamGraph interface, as it needs to juggle
registering multiple audio tracks for audio output. This hooks into existing
HTMLMediaElement logic and brings a welcome simplification to all the glue
previously needed there.

Differential Revision: https://phabricator.services.mozilla.com/D37934

--HG--
extra : moz-landing-system : lando
2019-07-31 07:58:17 +00:00
Andreas Pehrson 10202bfc64 Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D37692

--HG--
extra : moz-landing-system : lando
2019-07-30 16:28:44 +00:00
Byron Campen [:bwc] 1106701623 Bug 1568639: Re-enable this test on fission. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D39233

--HG--
extra : moz-landing-system : lando
2019-07-25 00:40:45 +00:00
Kris Maglione e40b418215 Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D38726

--HG--
extra : rebase_source : 292157039c88fc615f5de41679e96e72766ac4db
2019-07-19 12:30:10 -07:00
Jan-Ivar Bruaroey 4e2000dea5 Bug 1567951: Test implicit rollback in SRD(offer). r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D38890

--HG--
extra : moz-landing-system : lando
2019-07-23 20:36:11 +00:00
Andreas Pehrson 49f7e9bdc2 Bug 1565374 - Improve test. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D37783

--HG--
extra : moz-landing-system : lando
2019-07-17 19:57:30 +00:00
Kris Maglione 0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Byron Campen [:bwc] 88c34e7b3f Bug 1559512: Make sure that we grab the first RTP packet when checking RTP extensions, because the mid extension is only used in the first several. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D37884

--HG--
extra : moz-landing-system : lando
2019-07-12 21:36:16 +00:00
Andreas Pehrson b5260f58d6 Bug 1560207 - Add crashtest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D36191

--HG--
extra : moz-landing-system : lando
2019-07-05 22:07:17 +00:00
Jan-Ivar Bruaroey 4736d10ce8 Bug 1528031 - Update tests to work with [SecureContext] navigator.mediaDevices. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D35970

--HG--
extra : moz-landing-system : lando
2019-07-05 21:21:38 +00:00
Victor Porof 0a8ff0ad85 Bug 1561435 - Format dom/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35951

--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Paul Adenot 1877aafe44 Bug 1563193 - Remove "media.webaudio.audiocontextoptions-samplerate.enabled". r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D36733

--HG--
extra : moz-landing-system : lando
2019-07-03 12:12:15 +00:00
Andreas Pehrson 3aa79baaae Bug 1523563 - Modernize test_gUM_audioCapture.html somewhat. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35174

--HG--
extra : moz-landing-system : lando
2019-06-20 08:03:35 +00:00
Andreas Pehrson 19c022c9e4 Bug 1405083 - Re-enable test_getUserMedia_basicScreenshare.html on linux64. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D36220

--HG--
extra : moz-landing-system : lando
2019-07-01 18:26:52 +00:00
Mihai Alexandru Michis cc9e91253e Backed out 2 changesets (bug 1528031) for causing crashtests to time out. CLOSED TREE
Backed out changeset 27ce9b212d26 (bug 1528031)
Backed out changeset 0a18aa212ee6 (bug 1528031)
2019-06-27 05:45:20 +03:00
Jan-Ivar Bruaroey 8fd4637236 Bug 1528031 - Update tests to work with [SecureContext] navigator.mediaDevices. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D35970

--HG--
extra : moz-landing-system : lando
2019-06-26 18:15:50 +00:00
Andreea Pavel 733e1e26a8 Bug 1405083 - add missing bracket on a CLOSED TREE 2019-06-15 14:55:28 +03:00
Andreea Pavel 6c4da765c5 Bug 1405083 - disabled test_getUserMedia_basicScreenshare.html on linux64 r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D35127

--HG--
extra : moz-landing-system : lando
2019-06-15 11:24:01 +00:00
Mark Banner 201255ab84 Bug 1558485 - Turn on ESLint for all of dom/ disabling most of the failing rules. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34761

--HG--
extra : moz-landing-system : lando
2019-06-13 20:21:46 +00:00
Andreas Pehrson 0966599b32 Bug 1554699 - Update mochitest framework expectations. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33098

--HG--
extra : moz-landing-system : lando
2019-06-11 11:48:42 +00:00
Edwin Gao 787d8cb500 Bug 1555454 - migrate crashtests over to macosx1014 r=gbrown
Changes:

- added skip-If statements for some crashtest items that fail on macosx1014
- removed `crashtest` from `macosx64` test sets, with the consequence that `macosx64-qr-tests` test set is removed, with cascading effects to the test-platforms definitions that used only `macosx64-qr-tests`

Differential Revision: https://phabricator.services.mozilla.com/D34448

--HG--
extra : moz-landing-system : lando
2019-06-11 17:30:32 +00:00
Byron Campen [:bwc] 2d6cf50175 Bug 1551589: readyState fixes r=ng
Depends on D31085

Differential Revision: https://phabricator.services.mozilla.com/D31123

--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Andreas Pehrson 70a3da3e8f Bug 1389983 - Re-enable tests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D31774

--HG--
extra : moz-landing-system : lando
2019-05-22 14:45:57 +00:00
Nico Grunbaum 79279249fb Bug 1551361 - add extra logging to basic RTP extensions test - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D31106

--HG--
extra : moz-landing-system : lando
2019-05-14 22:21:58 +00:00
Ryan VanderMeulen 8f5477d25e Bug 1313741 - Use AppConstants in DOM and XPConnect tests instead of manual detection. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D30973

--HG--
extra : moz-landing-system : lando
2019-05-14 21:01:05 +00:00
Byron Campen [:bwc] 6a25453cbf Bug 1529612 - Part 3: Update a mochitest to expect bufferedamountlow events even when the threshold is 0 (Part 2 fixed this bug). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28528

--HG--
extra : moz-landing-system : lando
2019-05-09 15:37:55 +00:00
Nico Grunbaum 59dcd65631 Bug 1548097 - sort getContributingSources and getSynchronizationSources results r=jib
sort getContributingSources and getSynchronizationSources results

Differential Revision: https://phabricator.services.mozilla.com/D29441

--HG--
extra : moz-landing-system : lando
2019-05-02 19:57:43 +00:00
Dan Minor 522725a730 Bug 1497559 - Remove application capture support; r=ng
This removes all references to application capture except from MediaSourceEnum.
That was left in place so as to not change the enumerated values used
for WEBRTC_GET_USER_MEDIA_TYPE telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D28089

--HG--
extra : moz-landing-system : lando
2019-04-26 16:35:39 +00:00
Jan-Ivar Bruaroey 6b8d3b7ad8 Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-04-30 15:20:53 +00:00
Byron Campen [:bwc] fc0aece742 Bug 1531803 - Part 5: Rework local track checking in our mochitests to ignore track ids, and decruft. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25798

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:00 +00:00
Byron Campen [:bwc] c95b46bd72 Bug 1531803 - Part 4: Remove some track-id-centric ChromeOnly API on RTCRtpTransceiver. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D25797

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:00 +00:00
Byron Campen [:bwc] 79f14c2299 Bug 1529595: Remove "token" from RTCIceCredentialType, re-enable a web-platform-test, and fix a mochitest. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D28496

--HG--
extra : moz-landing-system : lando
2019-04-25 20:58:12 +00:00
Narcis Beleuzu 6034867601 Bug 1480942 - Disable test_peerConnection_twoAudioVideoStreamsCombined.html on Linux asan r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28326

--HG--
extra : moz-landing-system : lando
2019-04-22 11:36:49 +00:00
Rob Wu 4a6f84f91d Bug 1544834 - Replace deprecated generics in test code r=evilpie
- `Array.map` becomes `Array.from`
- Array copying via `Array.slice` becomes `Array.from`.
- `Array.forEach` that did not rely on closures becomes `for`-`of` loops.
- Anything else: `Array.X` becomes `Array.prototype.X`.

Complex cases:

dom/bindings/test/TestInterfaceJS.js and
dom/bindings/test/test_exception_options_from_jsimplemented.html
use `Array.indexOf` to generate an error with a specific error message.
Switched to `Array.prototype.forEach` to generate the same error.

js/src/jit-test/tests/basic/exception-column-number.js
In this test `Array.indexOf()` is used to generate an error. Since the
exact message doesn't matter, I switched to `Array.from()`.

Intentionally not changed:

editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
Did not modify because this is 3rd-party code and the code uses
feature detection as a fall back when Array generics are not used.

testing/talos/talos/tests/dromaeo/lib/mootools.js
Did not modify because mootools adds the `Array.slice` method to the
`Array` object.

Not changed because they check the implementation of Array generics:
js/src/jit-test/tests/basic/arrayNatives.js
js/src/jit-test/tests/basic/bug563243.js
js/src/jit-test/tests/basic/bug618853.js
js/src/jit-test/tests/basic/bug830967.js
js/src/jit-test/tests/jaeger/recompile/bug656753.js
js/src/jit-test/tests/self-hosting/alternate-static-and-instance-array-extras.js
js/src/tests/non262/Array/generics.js
js/src/tests/non262/Array/regress-415540.js
js/src/tests/non262/extensions/regress-355497.js
js/src/tests/non262/extensions/typedarray-set-neutering.js

Depends on D27802

Differential Revision: https://phabricator.services.mozilla.com/D27803

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:19 +00:00
Brian Grinstead 0d460e3432 Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27457

--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Mike Conley 2fcda12c4d Bug 1544345 - Fix perma orange on test_setSinkId.html caused by redeclaring a variable with let. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D27464

--HG--
extra : moz-landing-system : lando
2019-04-15 03:37:08 +00:00
Mike Conley f957ebe843 Bug 1543128 - Fire UAWidgetSetupOrChange for the no-controls <video> case on Desktop. r=jya
The Picture-in-Picture toggle buttons are now part of the video controls UAWidget
bindings, so we need to construct a UAWidget for the no-controls case for Desktop
to make that toggle available.

Up until now, we've never needed a no-controls UAWidget for Desktop, since we
never needed to show UI in that case.

Depends on D26809

Differential Revision: https://phabricator.services.mozilla.com/D26803

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:32 +00:00
Byron Campen [:bwc] f55b60cae8 Bug 1509669 - Part 0: Remove some mochitest logic that was expecting the bogus stats. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D26344

--HG--
extra : moz-landing-system : lando
2019-04-10 21:03:46 +00:00
Nico Grunbaum ec5fcb2581 Bug 1541553 - allow RTCRtpReceiverStats roundTripTime of 0 after non-zero values have been reported r=bwc
roundTripTime can be zero once it has been non-zero this should help with intermitents in WPT and mochitests

Differential Revision: https://phabricator.services.mozilla.com/D25981

--HG--
extra : moz-landing-system : lando
2019-04-05 19:40:04 +00:00
Byron Campen [:bwc] 716f6f00e6 Bug 1373123: Extend this timeout a bit. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D25937

--HG--
extra : moz-landing-system : lando
2019-04-03 21:25:13 +00:00
Byron Campen [:bwc] e5bd78effc Bug 1536631 - Part 7: Fix some test-cases that were expecting InvalidStateError when they should have been expecting InvalidModificationError. r=jib
Rebasing on top of bug 1531110 found some more bugs, and more bad tests.

Differential Revision: https://phabricator.services.mozilla.com/D25478

--HG--
extra : moz-landing-system : lando
2019-04-02 13:10:01 +00:00
Byron Campen [:bwc] 4104b621d6 Bug 1536631 - Part 6: Fix the error type that a couple of mochitests are expecting. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25151

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:46 +00:00
Byron Campen [:bwc] 22de5ec2c1 Bug 1535442 - Part 8: Don't trickle candidates in the restart/rollback tests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24282

--HG--
extra : moz-landing-system : lando
2019-03-27 21:55:08 +00:00
Byron Campen [:bwc] 90178cd5bf Bug 1535442 - Part 7: Allow empty |candidate| and check that |usernameFragment| is present. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24281

--HG--
extra : moz-landing-system : lando
2019-03-27 21:54:56 +00:00
Byron Campen [:bwc] 686e954693 Bug 1535442 - Part 6: Don't assume SDP has end-of-candidates and other transport cruft on msections that don't have their own transport. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24280

--HG--
extra : moz-landing-system : lando
2019-03-27 21:54:48 +00:00
Blake Kaplan 75e424b241 Bug 1509442 - Add a crashtest. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D15618

--HG--
extra : moz-landing-system : lando
2019-03-22 14:22:52 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Nico Grunbaum bb330040b4 Bug 1512281 - Adding pref to turn off WebRTC RTCP reception for tests r=dminor
Adds a pref to turn off WebRTC RTCP reception for tests, and an associated mochitest.
Once fixed the RTCP regression should cause the mochitest to unexpectedly pass

Differential Revision: https://phabricator.services.mozilla.com/D14518

--HG--
extra : moz-landing-system : lando
2019-03-25 18:20:05 +00:00
Coroiu Cristina 5b81e1ad0b Backed out 10 changesets (bug 1535442) for mochitest failure at dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.html
Backed out changeset fe0c1f8b519b (bug 1535442)
Backed out changeset 96249192254a (bug 1535442)
Backed out changeset 8342491a4e91 (bug 1535442)
Backed out changeset 53556fae6a9b (bug 1535442)
Backed out changeset 94781a70cd20 (bug 1535442)
Backed out changeset d31a37ebf804 (bug 1535442)
Backed out changeset 490575f0e834 (bug 1535442)
Backed out changeset 32f8c041f72d (bug 1535442)
Backed out changeset 124cf9c814eb (bug 1535442)
Backed out changeset 2326906f1874 (bug 1535442)

--HG--
extra : rebase_source : 98fb05156463cf79634c219eea60870ac22b3a12
2019-03-27 01:19:57 +02:00
Byron Campen [:bwc] 8bd2086666 Bug 1535442 - Part 8: Don't trickle candidates in the restart/rollback tests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24282

--HG--
extra : moz-landing-system : lando
2019-03-26 17:42:48 +00:00
Byron Campen [:bwc] 06a62138bf Bug 1535442 - Part 7: Allow empty |candidate| and check that |usernameFragment| is present. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24281

--HG--
extra : moz-landing-system : lando
2019-03-26 17:42:46 +00:00
Byron Campen [:bwc] 7efa4fc44d Bug 1535442 - Part 6: Don't assume SDP has end-of-candidates and other transport cruft on msections that don't have their own transport. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24280

--HG--
extra : moz-landing-system : lando
2019-03-26 17:42:44 +00:00
Andreas Pehrson e16275db35 Bug 1504336 - Avoid race in test_pc_simulcastOddResolution.html. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24725

--HG--
extra : moz-landing-system : lando
2019-03-26 08:36:13 +00:00
Sebastian Hengst bf8d28e2cf Backed out 2 changesets (bug 1335740) for permafailing mda task on Android 8.0
Backed out changeset 7beefe9e4d81 (bug 1335740)
Backed out changeset 35abcd7c962a (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/meta/mediacapture-streams/historical.https.html.ini => testing/web-platform/meta/mediacapture-streams/historical.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
rename : testing/web-platform/tests/mediacapture-streams/historical.https.html => testing/web-platform/tests/mediacapture-streams/historical.html
2019-03-25 12:31:48 +01:00
Edwin Gao d5df057c37 Bug 1538359, 1538331, 1538360 - disable mochitest-media tests that fail intermittently or permanently on windows10-aarch64 r=jmaher
Disabled the following for windows10-aarch64:
- test_getUserMedia_audioCapture
- test_AudioChange_mp4.html
- test_bug1255618.html
- test_singleSourceDest
- test_mediaElementAudioSourceNodeFidelity
- test_maxChannelCount
- test_abort
- test_audio_capture_error
- test_call_start_from_end_handler
- test_recognition_service_error
- test_success_without_recognition_service
- test_ExperimentalAsync
- test_peerConnection_restartIceNoBundle.html

All of these tests tend to fail on the first run of the push, then pass on the retry run.

Differential Revision: https://phabricator.services.mozilla.com/D24569

--HG--
extra : moz-landing-system : lando
2019-03-23 09:51:09 +00:00
Edwin Gao 4ccec045fe Bug 1537567 - disable tests in mochitest-media that are failing (intermittent or permafail) on windows10-aarch64 r=jmaher
- test_peerConnection_setParameters_scaleResolutionDownBy.html

Differential Revision: https://phabricator.services.mozilla.com/D24407

--HG--
extra : moz-landing-system : lando
2019-03-22 09:04:26 +00:00
Jan-Ivar Bruaroey f30f21c430 Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-03-19 14:17:53 +00:00
Byron Campen [:bwc] 216fd782cc Bug 1534673 - Part 2: Update a couple of mochitests to stop checking track ids. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23207

--HG--
extra : moz-landing-system : lando
2019-03-19 16:03:32 +00:00
Byron Campen [:bwc] 08f7738011 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:40 +00:00
Brindusan Cristian e0156ff6d2 Backed out changeset add69e4bd9af (bug 1531075) for wpt failures at RTCPeerConnection-setRemoteDescription-offer.html. CLOSED TREE 2019-03-13 18:22:39 +02:00
Byron Campen [:bwc] 24473522b3 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 02:23:39 +00:00
Alex Chronopoulos 6c25265b3d Bug 1213453 - Update mochitest to expect group id. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20373

--HG--
extra : moz-landing-system : lando
2019-03-08 11:52:17 +00:00
Narcis Beleuzu ccb04a4f95 Backed out 5 changesets (bug 1213453) for bustages on MediaEngineDefault.cpp . CLOSED TREE
Backed out changeset 118792523194 (bug 1213453)
Backed out changeset 6208d9e15f3d (bug 1213453)
Backed out changeset ec1da6bbf1a7 (bug 1213453)
Backed out changeset f78c357f2f5f (bug 1213453)
Backed out changeset 6903f0739e83 (bug 1213453)
2019-03-08 13:34:52 +02:00
Alex Chronopoulos 990cbb15ed Bug 1213453 - Update mochitest to expect group id. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20373

--HG--
extra : moz-landing-system : lando
2019-03-08 10:33:57 +00:00
Byron Campen [:bwc] e37a2a4f7a Bug 1528323 - Part 3: Fix a mochitest that was abandoning its promises, and not noticing exceptions as a result. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21016

--HG--
extra : moz-landing-system : lando
2019-02-27 16:06:26 +00:00
Byron Campen [:bwc] 309281a9e8 Bug 1528323 - Part 2: Mark some wpt as passing, and fix some others. Also fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19985

--HG--
extra : moz-landing-system : lando
2019-02-27 16:06:04 +00:00