Commit Graph

14826 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
b6c6f6df02 Bug 1518672: Sync transceivers before firing signalingstatecheanged. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23906

--HG--
extra : moz-landing-system : lando
2019-03-19 21:07:30 +00:00
Sylvestre Ledru
102b964803 Bug 1536432 - MoofParser: Delete useless declaration r=jya
Differential Revision: https://phabricator.services.mozilla.com/D24014

--HG--
extra : moz-landing-system : lando
2019-03-20 00:45:40 +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
Jan-Ivar Bruaroey
2958460ddc Bug 1335740 - getUserMedia() Add 2 prefs to control A) NotAllowedError in http (pref'd on), and B) [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19549

--HG--
rename : testing/web-platform/meta/mediacapture-streams/historical.html.ini => testing/web-platform/meta/mediacapture-streams/historical.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/historical.html => testing/web-platform/tests/mediacapture-streams/historical.https.html
extra : moz-landing-system : lando
2019-03-19 14:17:51 +00:00
Edwin Gao
0e56d58992 Bug 1536604 - disable manifest dom/media/test/mochitest.ini r=jmaher
Disable the following:

- test_MediaSource_flac_mp4 (keeps getting missed somehow)
- dom/media/test/mochitest.ini

Disabling the entire `dom/media/test/mochitest.ini` manifest file does have collateral damage in that it disables tests that are running fine; the alternative is to disable only the EME tests, but the failure count numbers somewhere close to 50.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:54:34 +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]
55e67a8eff Bug 1535410: Check for null mid/level in addIceCandidate. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23727

--HG--
extra : moz-landing-system : lando
2019-03-19 16:49:05 +00:00
Byron Campen [:bwc]
d87bbcbe6a Bug 1529635 - Part 1: Add sdpMid/sdpMLineIndex checking to RTCIceCandidate. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23723

--HG--
extra : moz-landing-system : lando
2019-03-19 16:48:45 +00:00
Byron Campen [:bwc]
dbdab2a71c Bug 1318167 - Part 1: Give RTCIceCandidateInit.candidate a default value. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D23219

--HG--
extra : moz-landing-system : lando
2019-03-19 16:48:06 +00:00
Michael Froman
5410fc4ddc Bug 1530305 - handle failure to alloc Shmem in RemoteVideoDecoderParent. r=jya
- Modify ProcessDecodedData to return a MediaResult.
- RemoteDecoderParent::RecvInput and RemoteDecoderParent::RecvDrain
  both use error returned from ProcessDecodedData to call SendError.
- RemoteVideoDecoderParent and RemoteAudioDecoderParent both return
  MediaResult with NS_ERROR_OUT_OF_MEMORY if AllocShmem fails in
  ProcessDecodedData (or if the returned buffer size is less than
  the requested size).

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:56:52 +00:00
Alex Gaynor
177fb00eba Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D22975

--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Alex Chronopoulos
509d004d90 Bug 1534313 - Make GetDeviceCollection accessible only by the enumerator. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22989

--HG--
extra : moz-landing-system : lando
2019-03-19 10:40:25 +00:00
Alex Chronopoulos
eb84b032d9 Bug 1534313 - Remove direct calls to GetDeviceCollection method. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22988

--HG--
extra : moz-landing-system : lando
2019-03-19 10:40:12 +00:00
Alex Chronopoulos
026c81cfc9 Bug 1534313 - Add new method in enumerator to get the device info from device name. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22987

--HG--
extra : moz-landing-system : lando
2019-03-19 10:40:05 +00:00
Alex Chronopoulos
a996b0052f Bug 1534313 - Put the default audio output first in the list of devices. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22986

--HG--
extra : moz-landing-system : lando
2019-03-19 10:39:57 +00:00
Alastor Wu
5017bb4783 Bug 1488673 - part8 : remove unnecessary anonymous function. r=heycam
There is no need to have an anonymous function after we replace all `var` to `let`, now those variables won't pollute outer scopes.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:31:43 +00:00
Alastor Wu
fd28fe7a4e Bug 1488673 - part7 : huge replacement of 'var' by 'let'. r=heycam
In order to keep the local variable only visible inside the function scope, we should only use 'let' for those variables.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:31:20 +00:00
Alastor Wu
508719c298 Bug 1488673 - part6 : remove unused functions. r=heycam
Remove those funcitons which are used to implement the previous way to move the cue box.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:30:32 +00:00
Alastor Wu
3addeaf47c Bug 1488673 - part5 : find the best position for the cue box in order not to overlap it with other cue boxes. r=heycam
According to the spec 7.2.10 [1], the step13 to step21 (snap-to-line is true) and the step3 to step5 (snap-to-line is false), we need to find the best position where the cue box has least overlap with other cue boxes.

In addition, in order not to be affected by CSS transformation, use non-tranformed attribute in `BoxPosition`.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:30:09 +00:00
Alastor Wu
ae09d890c0 Bug 1488673 - part4 : adjust cue's position. r=heycam
According to the spec 7.2.10, step1 to step10 (snap-to-line is true) and step1 to step2 (snap-to-line is flase) [1], we would adjust cue box's position depending on the algorithm.

The algorithm would calculate the cue box's top (or left) position depending on the writing direction, and move the box to the specific position.

However, if the cue box is overlapping with other cue boxes in the rendering area, we would still need to adjust its postion, which will be implemented in next patch.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:29:36 +00:00
Alastor Wu
d710d5d54b Bug 1488673 - part3 : only use BoxPosition format for position calculation r=heycam
It's confused that we have both simpleBoxPosition object and BoxPosition object, we should only use one format to perform all box related operations.

Therefore, BoxPosition should be able to be initiaized by StyleBox, HTMLElement or BoxPosition.

In addition, as `right` and `bottom` can be calculated from other attributes, we remove these two attributes from BoxPosition, and use getter to get the correct value, which can reduce some unnessary modification when we changes the `height` or `width`. In order to implement a more readable getter, so we change `BoxPosition` to class-based.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:29:29 +00:00
Alastor Wu
44d26f1c7f Bug 1488673 - part2 : keep font size consistent even if applying CSS transform scale on the parent element r=heycam
When calculating font size, we should use the original bounding box as a reference, or it would cause incorrect font size scale.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:29:27 +00:00
Alastor Wu
c36028fc0f Bug 1488673 - part1 : use correct size to calculate position. r=heycam
According to the spec [1], we have calculated the size in step 7.3 and then we should use that for calculating x-position and y-position, instead of using cue's size.

[1] https://w3c.github.io/webvtt/#apply-webvtt-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:27:04 +00:00
shindli
8940f3f1cb Backed out 4 changesets (bug 1534313) for causing a perfmafailing Gtest in /builds/worker/workspace/build/application/firefox/gmp-clearkey CLOSED TREE
Backed out changeset fe17244230e8 (bug 1534313)
Backed out changeset fc232edfe6e8 (bug 1534313)
Backed out changeset eae4a9ff0b9b (bug 1534313)
Backed out changeset f4252f238b68 (bug 1534313)
2019-03-18 18:53:33 +02:00
Valentin Millet
c4ca29eebc Bug 1456962 - Update default channel attributes for DynamicsCompressorNode r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22950

--HG--
extra : moz-landing-system : lando
2019-03-18 14:47:53 +00:00
Valentin Millet
9eab41d287 Bug 1456269 - Construct OscillatorNode with PeriodicWave and type custom works. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D23828

--HG--
extra : moz-landing-system : lando
2019-03-18 14:46:48 +00:00
Mike Conley
10393bbf48 Bug 1533099 - Show the most recently decoded image when creating a visual clone of a video that isn't playing. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D22422

--HG--
extra : moz-landing-system : lando
2019-03-18 14:37:24 +00:00
Alex Chronopoulos
7d781144c5 Bug 1534313 - Make GetDeviceCollection accessible only by the enumerator. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22989

--HG--
extra : moz-landing-system : lando
2019-03-18 13:52:17 +00:00
Alex Chronopoulos
abbe8d123b Bug 1534313 - Remove direct calls to GetDeviceCollection method. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22988

--HG--
extra : moz-landing-system : lando
2019-03-14 16:31:48 +00:00
Alex Chronopoulos
64ed19f8a9 Bug 1534313 - Add new method in enumerator to get the device info from device name. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22987

--HG--
extra : moz-landing-system : lando
2019-03-14 16:31:46 +00:00
Alex Chronopoulos
a3b4311080 Bug 1534313 - Put the default audio output first in the list of devices. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22986

--HG--
extra : moz-landing-system : lando
2019-03-14 16:30:25 +00:00
shindli
3315ea9026 Backed out 10 changesets (bug 1488673) for permafailing wpt tests in /html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit.html CLOSED TREE
Backed out changeset 58bd4444d2c5 (bug 1488673)
Backed out changeset faa494b301b9 (bug 1488673)
Backed out changeset b7cea852fc6b (bug 1488673)
Backed out changeset f264bc709b32 (bug 1488673)
Backed out changeset 5b3ae7eb7842 (bug 1488673)
Backed out changeset 9fa072a4b67d (bug 1488673)
Backed out changeset d18858a1fe8b (bug 1488673)
Backed out changeset e5030bf46846 (bug 1488673)
Backed out changeset 9206cafa8778 (bug 1488673)
Backed out changeset ca1266e7fbad (bug 1488673)
2019-03-18 11:50:08 +02:00
Alastor Wu
950afd4d30 Bug 1488673 - part8 : remove unnecessary anonymous function. r=heycam
There is no need to have an anonymous function after we replace all `var` to `let`, now those variables won't pollute outer scopes.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:19 +00:00
Alastor Wu
a84641d33a Bug 1488673 - part7 : huge replacement of 'var' by 'let'. r=heycam
In order to keep the local variable only visible inside the function scope, we should only use 'let' for those variables.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:38:37 +00:00
Alastor Wu
3efd4f2e8f Bug 1488673 - part6 : remove unused functions. r=heycam
Remove those funcitons which are used to implement the previous way to move the cue box.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:39:53 +00:00
Alastor Wu
ea20eb6bb5 Bug 1488673 - part5 : find the best position for the cue box in order not to overlap it with other cue boxes. r=heycam
According to the spec 7.2.10 [1], the step13 to step21 (snap-to-line is true) and the step3 to step5 (snap-to-line is false), we need to find the best position where the cue box has least overlap with other cue boxes.

In addition, in order not to be affected by CSS transformation, use non-tranformed attribute in `BoxPosition`.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-14 07:22:33 +00:00
Alastor Wu
6c6cc4b4ad Bug 1488673 - part4 : adjust cue's position. r=heycam
According to the spec 7.2.10, step1 to step10 (snap-to-line is true) and step1 to step2 (snap-to-line is flase) [1], we would adjust cue box's position depending on the algorithm.

The algorithm would calculate the cue box's top (or left) position depending on the writing direction, and move the box to the specific position.

However, if the cue box is overlapping with other cue boxes in the rendering area, we would still need to adjust its postion, which will be implemented in next patch.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:17 +00:00
Alastor Wu
bc66137e1a Bug 1488673 - part3 : only use BoxPosition format for position calculation r=heycam
It's confused that we have both simpleBoxPosition object and BoxPosition object, we should only use one format to perform all box related operations.

Therefore, BoxPosition should be able to be initiaized by StyleBox, HTMLElement or BoxPosition.

In addition, as `right` and `bottom` can be calculated from other attributes, we remove these two attributes from BoxPosition, and use getter to get the correct value, which can reduce some unnessary modification when we changes the `height` or `width`. In order to implement a more readable getter, so we change `BoxPosition` to class-based.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:29:31 +00:00
Alastor Wu
89ca31731a Bug 1488673 - part2 : keep font size consistent even if applying CSS transform scale on the parent element r=heycam
When calculating font size, we should use the original bounding box as a reference, or it would cause incorrect font size scale.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:18 +00:00
Alastor Wu
a8b183849a Bug 1488673 - part1 : use correct size to calculate position. r=heycam
According to the spec [1], we have calculated the size in step 7.3 and then we should use that for calculating x-position and y-position, instead of using cue's size.

[1] https://w3c.github.io/webvtt/#apply-webvtt-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-03-14 01:37:42 +00:00
Andrea Marchesini
42688a705f Bug 1535525 - Rename TrackingDummyChannel to ClassifierDummyChannel, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23616

--HG--
rename : netwerk/protocol/http/TrackingDummyChannel.cpp => netwerk/protocol/http/ClassifierDummyChannel.cpp
rename : netwerk/protocol/http/TrackingDummyChannel.h => netwerk/protocol/http/ClassifierDummyChannel.h
rename : netwerk/protocol/http/TrackingDummyChannelChild.cpp => netwerk/protocol/http/ClassifierDummyChannelChild.cpp
rename : netwerk/protocol/http/TrackingDummyChannelChild.h => netwerk/protocol/http/ClassifierDummyChannelChild.h
rename : netwerk/protocol/http/TrackingDummyChannelParent.cpp => netwerk/protocol/http/ClassifierDummyChannelParent.cpp
rename : netwerk/protocol/http/TrackingDummyChannelParent.h => netwerk/protocol/http/ClassifierDummyChannelParent.h
rename : netwerk/protocol/http/PTrackingDummyChannel.ipdl => netwerk/protocol/http/PClassifierDummyChannel.ipdl
extra : moz-landing-system : lando
2019-03-15 18:55:10 +00:00
Byron Campen [:bwc]
2bd6407483 Bug 1535100: Re-enable and de-flake the RTCDTMFSender-ontonechange tests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23417

--HG--
extra : moz-landing-system : lando
2019-03-15 18:45:59 +00:00
Oana Pop Rus
068138c1f5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-15 18:43:00 +02:00
Oana Pop Rus
23a7208a68 Merge autoland to mozilla-central. a=merge 2019-03-15 18:31:40 +02:00
arthur.iakab
b6deb00c93 Backed out 4 changesets (bug 1500713) on request of jcristau for causing Bug 1535603 a=Backout
Backed out changeset 5d0cad2c99a4 (bug 1500713)
Backed out changeset f96a12eedd89 (bug 1500713)
Backed out changeset 2633cea7d119 (bug 1500713)
Backed out changeset 49c4cfbf2bee (bug 1500713)
2019-03-15 15:50:20 +02:00
Jean-Yves Avenard
92251eaa4f Bug 1532858 - Ensure metadata values are sane. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D22484

--HG--
extra : moz-landing-system : lando
2019-03-15 02:30:09 +00:00
Alastor Wu
f8ebdadc67 Bug 1535223 - part3 : add log in TextTrack and TextTrackCue. r=jya
It would be helpful if we can also print the information in `TextTrack` and `TextTrackCue`.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 23:25:10 +00:00
Karl Tomlinson
7c60fdd3a1 Bug 1535214 run AudioWorklet for realtime AudioContext on GraphRunner thread r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D23445

--HG--
extra : moz-landing-system : lando
2019-03-14 13:40:07 +00:00
Chun-Min Chang
72f160f9f7 Bug 1500713: P4 - Unit test for BufferReader. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D22814

--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:49 +00:00
Chun-Min Chang
f251af73b4 Bug 1500713: P3 - Prevent duration in GetBuffered from being overestimated. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D22048

--HG--
extra : moz-landing-system : lando
2019-03-14 17:18:45 +00:00