Commit Graph

1246 Commits

Author SHA1 Message Date
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