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

70022 Коммитов

Автор SHA1 Сообщение Дата
Bill McCloskey bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ryan VanderMeulen d945b2a059 Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Andrew Sutherland 92398fc309 Bug 1421099 - System principal does not need to match originAttributes. r=baku
--HG--
extra : rebase_source : 04af51f7fbdb9a171703e69a3d5651d0c344d5bb
2017-12-06 14:53:02 -05:00
Mike Conley 0d20da44b7 Backed out changeset 261be8ec0554 (bug 1397426)
--HG--
extra : rebase_source : f43fabcbb096e007ff81261f8249f9b53f5a5d37
2017-12-06 16:10:55 -05:00
Mike Conley 7f920db3d5 Backed out changeset 2cd697170fb3 (bug 1397426)
--HG--
extra : rebase_source : 0562adac1b665941a2800743e5e35089dec5a32c
2017-12-06 16:09:36 -05:00
Mike Conley 4449ce4040 Backed out changeset 4dd20bf8c0f6 (bug 1397426)
--HG--
extra : rebase_source : 0bbbefd4f3488b2286d33ef6d20ec762dab51ee7
2017-12-06 16:06:36 -05:00
Mike Conley 053fbea1fc Backed out changeset 4643e46ff8d3 (bug 1397426)
--HG--
extra : rebase_source : 3e235d725c42300f3c8f3af51850e3c4e1aa7ddf
2017-12-06 16:03:32 -05:00
Mike Conley 281e258fa4 Backed out changeset 5580c145af58 (bug 1397426)
--HG--
extra : rebase_source : dc6bc89688de83ec7b0752189134574a86c72769
2017-12-06 15:59:07 -05:00
Mike Conley 738b920742 Backed out changeset 53bb2bc2b676 (bug 1397426)
--HG--
extra : rebase_source : 7ef95ce8467ed642077b6c141e440428f71fa3f6
2017-12-06 15:56:24 -05:00
Mike Conley c99b8d29a5 Backed out changeset b9b2895b11a3 (bug 1397426)
--HG--
extra : rebase_source : 8fada9f53beffaada9f16122efe5d9570d422e6c
2017-12-06 15:54:06 -05:00
Mike Conley 2fe4ae7e28 Backed out changeset 78073667ddc6 (bug 1397426)
--HG--
extra : rebase_source : 59c9f343a81c1ba1b65c25548c569f48e81d236c
2017-12-06 15:52:40 -05:00
Mike Conley 7721deb74e Backed out changeset 8994162ee112 (bug 1397426)
--HG--
extra : rebase_source : 56ce672d436341260443daa98d553e53974eb1fd
2017-12-06 15:48:54 -05:00
Jan-Ivar Bruaroey b3493432e7 Bug 1422389 - Limit default engine resolution. r=mchiang
MozReview-Commit-ID: LS1z7I4myeb

--HG--
extra : rebase_source : f0fd6e20a13d11660a5ac57e9703f09978f12acb
2017-12-01 20:49:46 -05:00
Tim Taubert b5c19b9f90 Bug 1396907 - Abstract a BaseAuthManager for dom/u2f and dom/webauthn r=jcj
Summary: We can probably abstract more stuff in the future, but this seems like a good start.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1396907

Differential Revision: https://phabricator.services.mozilla.com/D323
2017-12-06 18:41:58 +01:00
Sebastian Hengst e70bf9e08c Backed out changeset 92ad856a4bae (bug 1420420) for failing tests/jit-test/jit-test/tests/modules/bug-1402649.js after asserting. r=backout 2017-12-06 20:14:18 +02:00
Tim Taubert 91a23b2116 Bug 1421723 - Allow localhost as appId for U2F r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1421723

Differential Revision: https://phabricator.services.mozilla.com/D321
2017-12-06 16:28:20 +01:00
Andrea Marchesini d05bd76662 Bug 1423485 - Better name for blobURL nsIAsyncShutdownBlocker, r=bkelly 2017-12-06 17:11:11 +01:00
Nika Layzell 111561414d Bug 1422033 - Support opening a new window when no windows are avaliable for a new tab, r=bz
MozReview-Commit-ID: DzSllBVdUhq
2017-12-06 10:39:13 -05:00
Emilio Cobos Álvarez 74b31155f7 Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Jon Coppeard 73138b170f Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham 2017-12-06 14:54:58 +00:00
Tooru Fujisawa f7df533e97 Bug 1228841 - Part 0: Remove remaining conditional catch consumers in dom/. r=billm 2017-12-05 09:42:37 +09:00
Jonathan Watt eabc47f6c9 Bug 1415068 - Include SVG text elements in elementsFromPoint. r=heycam
MozReview-Commit-ID: FvMzOF6JJM1
2017-12-06 14:09:01 +00:00
Paul Adenot 2f0ae5124f Bug 1397793 - Don't use the AEC on a 440Hz tone when testing that audio is flowing. r=pehrsons
This brings in a lot of noise and makes the test fail.

MozReview-Commit-ID: 70EGM1q1J24

--HG--
extra : rebase_source : f19c191747f2e63303406a43a79454e4ea1ed428
extra : histedit_source : f27d34204de924ab30b5718b240ac3d23677991c
2017-12-04 18:16:22 +01:00
Paul Adenot b585f4301a Bug 1397793 - Share SharedBuffer accross SourceMediaStream. r=pehrsons
MozReview-Commit-ID: 4PEjwiA6PR8

--HG--
extra : rebase_source : 265d30d8bf83103c50bb3cb84b263bdb87b8494e
extra : histedit_source : 1ba9523a366310d5784a671e2be03a7a71e790b3
2017-11-28 18:43:11 +01:00
Paul Adenot 93fa5b007c Bug 1397793 - Add asserts for AudioChunk invariants. r=pehrsons
MozReview-Commit-ID: CFqyMPMMHyA

--HG--
extra : rebase_source : 6648d283e6da1cc3ad98616063e62542b9e7346d
extra : histedit_source : 8937ab1b4567fabc3c98802eefede9f00e9684a5
2017-11-29 19:22:00 +01:00
Paul Adenot 1c13882dc4 Bug 1397793 - Remove mRate from MediaEngineDefault and use GraphRate(). r=pehrsons
MozReview-Commit-ID: D9x3wICAMNA

--HG--
extra : rebase_source : 6f863eccdf5044e1838a555f45b88f465503c1fc
extra : histedit_source : 347fb57ff58138b8c949b8a2efb26b17e0a8c47d
2017-11-08 15:16:06 +01:00
Paul Adenot 75105f79ae Bug 1397793 - Make the assertions in the rate conversion functions in StreamTracks.h be fatal. r=pehrsons
MozReview-Commit-ID: 8nLask8nqV4

--HG--
extra : rebase_source : a9724f42fbf33a08a08b720f42d25bda0b6623f1
extra : histedit_source : 0a7ad7125b482b9de2013f787d86a661e554c240
2017-11-21 20:53:51 +01:00
Paul Adenot de142c0970 Bug 1397793 - Use a ControlMessage to switch between passthrough and processing mode for microphone input. r=pehsrons
MozReview-Commit-ID: EIvQKZf7oGq

--HG--
extra : rebase_source : cf84d44df1fadd262283946641d7ce67f779b7d2
extra : histedit_source : 71388af2bab6cbfb3d6a4c700b2419899811e680
2017-11-08 14:10:45 +01:00
Paul Adenot 58fc6f439a Bug 1397793 - Refactor the code that sets the processing modes. r=pehrsons
MozReview-Commit-ID: IUgAfHawFIz

--HG--
extra : rebase_source : f80414c0e9048ee5eb9754a0161844b5607addb8
extra : histedit_source : 71375da254afb9764c812ed9ba92689d828c74db
2017-11-07 14:28:06 +01:00
Paul Adenot 965ccaadaa Bug 1397793 - Allow switching processing on/off dynamically. r=pehrsons
MozReview-Commit-ID: G0NJRkKEVeM

--HG--
extra : rebase_source : 16547d0ace0d0d7e791ef60249f94fe3060944b4
extra : histedit_source : 78db64f41f799dec503c36a809cb05713cbd45e4
2017-11-23 15:53:25 +01:00
Paul Adenot 20a31e686f Bug 1397793 - Move to APM - Part 2 - Actual processing. r=pehrsons
This also is long, but simple.

First, we switch to floats everywhere. This allows to work with any rate, is
more flexible with channel layout, and is a stable API (see audio_processing.h
in webrtc.org).

Then, 10ms worth of audio (already at the graph rate) are poped from the
lock-free queue (fed on the other end by the MSG mixer), and does the following:
- Down mixing to stereo (if needed)
- De-interleaving into planar buffer
- Prepare input and output config
- Actually make the API call
- Free the data

Now, first, we should use a ring buffer, and not have to free any data. Then we
also should not use a lock-free queue, and synchronously process the
reverse-stream, but this is enough code already.

Then, the actual mic data processing:
- Pop a packet from the packetizer (that gives us 10ms worth of audio, note that
we switch from int16_t to float, i.e. we don't do this conversion anymore).
- We convert to planar buffers, deinterleaving
- Prepare input and output config
- Allocate a SharedBuffer of the right size
- Process the data with the processing algorithm selected in UpdateSingleSource
- Append to the a MediaSegment, and append to the right MediaStreamTrack for the
correct SourceMediaStream (the data is already planar and all well).

MozReview-Commit-ID: 2IjgHP0GAmw

--HG--
extra : rebase_source : d2245037e8ee7145af7eef528dcee50817b69d83
extra : histedit_source : 79443c35b82d3bc8833d140dd5afc882b85b4c12
2017-12-04 13:34:14 +01:00
Paul Adenot b76152fc03 Bug 1397793 - Move to APM - Part 1 - UpdateSingleSource. r=pehrsons
This part is about setting on/off audio processing feature. It's long, but
it's mostly mechanichal changes, from the old API to the new one.

This also covers reseting the processing in case of device changes (with
macros).

MozReview-Commit-ID: EI2TxHRicEr

--HG--
extra : rebase_source : 7044c2d1695cdf0d6a69b4faa19349e3261ef204
extra : histedit_source : f5ac61e7b90ab4d5280623095c443529fb36cde5%2C5c969f1833bdc425842f945a5a8a4702ca13cd56
2017-10-31 18:25:41 +01:00
Paul Adenot 0ade31e233 Bug 1397793 - Remove VoEExternalMedia usage in MediaEngineWebRTCAudio and MediaEngineWebRTC. r=pehrsons
This needs the next patches to build fine, but is split out for the review.

A side effect of this patch is to break non-duplex, making the whole
init/cleanup phase much simpler.

MozReview-Commit-ID: Caqc8v7CWwZ

--HG--
extra : rebase_source : 6e7d501ef99f3ea5d755a610238b8f260194bba0
extra : histedit_source : 298c7e95a2bd40e8f9ce014e06faad159fca513e
2017-10-31 18:11:48 +01:00
Paul Adenot 36e1dc3f90 Bug 1397793 - Move MediaEngineDefault to use the MSG rate instead of something hard-coded. r=pehrsons
This is "just" for testing, but is cleaner, and skips some resampling, and is in
line with the other patches, to converge with always using MSG rate when we can.

MozReview-Commit-ID: CBQHEDQWJE3

--HG--
extra : rebase_source : a65c4df357a6f56306b63b92416697f01699358f
extra : histedit_source : ae589d7cf7bc3895a0f4b5b496b60846bddf7d1a
2017-10-31 17:43:10 +01:00
Dragana Damjanovic d2271cd3a8 Bug 1417431 - secureConnectionStart should be 0 for pages with HTTP scheme. r=bkelly 2017-12-06 12:57:28 +01:00
Tiberius Oros be4fc858c5 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-06 12:35:04 +02:00
Gurzau Raul f5f1c3f294 Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
Ben Kelly 45d997d075 Bug 1423412 P4 Add a ClientManager::GetInfoAndState() that retrieves the ClientInfo and ClientState for a given ID. r=baku 2017-12-05 20:45:23 -05:00
Ben Kelly 13d2ce995c Bug 1423412 P3 Handle the case where an iframe starts with an inherited controller and then ends up uncontrolled. r=baku 2017-12-05 20:45:23 -05:00
Ben Kelly dc20c8c537 Bug 1423412 P2 Copy the service worker controller across redirects by default and clear it explicitly for non-subresource redirects. r=baku 2017-12-05 20:45:23 -05:00
Ben Kelly fb38b7b228 Bug 1423412 P1 Actually mark window/worker ClientSource objects controlled when loaded with a controlling service worker. r=baku r=jld 2017-12-05 20:45:22 -05:00
Valentin Gosu 5a83d2bc0b Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
MozReview-Commit-ID: 53BD91hB2yi

--HG--
extra : rebase_source : 3c4f5b9ad8820353ae108b982026048dbf599d95
2017-12-05 02:35:21 +01:00
Hiroyuki Ikezoe 3fb7e182cc Bug 1423078 - Use waitForNextFrame() instead of waitForFrame() to make sure the next frame. r=birtles
This change is the same as bug 1422995.  With the conformant Promise handling
and performing micro task checkpoint in Animation tick, waitForFrame() inside
the callback for Animation.ready does not make sure that the next frame happens.

MozReview-Commit-ID: KEz4xmHpGlk

--HG--
extra : rebase_source : 6285f2f3df3d5cb617579bb4f449832ff155e34d
2017-12-06 09:19:40 +09:00
Hiroyuki Ikezoe ed3191d521 Bug 1423078 - Use waitForNextFrame() instead of waitForFrame() to make sure the second restyle happen after the initial paint. r=birtles
We clamp animation start time on the second restyling when the initial paint
for the animation took over vsync refresh rate (16.6ms normally as of today).
The clamping leads the animation progress to the same value as the initial one.
Once this clamping happens, the animation value does not change even after
waiting for Animation.ready and a reqeustAnimationFrame.  To make the animation
value change happen we should wait for one more requestAnimationFrame.

MozReview-Commit-ID: 8OTC0xkKBrr

--HG--
extra : rebase_source : 4c0313f3a96ffc85306f5687630abc13d88aed61
2017-12-06 09:19:38 +09:00
Hiroyuki Ikezoe 54e5e36f24 Bug 1423078 - Use assert_greater_than instead of assert_true. r=birtles
MozReview-Commit-ID: C4LZQni43wp

--HG--
extra : rebase_source : 0f68abbd0a1f8cf9e005e2bdecd7e7f267c64cba
2017-12-06 09:19:35 +09:00
Chris Pearce 06046a7100 Bug 1423372 - Remove some unnecessary includes and fix unified build problems. r=jwwang
MozReview-Commit-ID: 7DgtGJQvgp7

--HG--
extra : rebase_source : 297baab1fd84e5302a5f90096e2bbe3bd5fbb20f
2017-12-06 11:36:50 +13:00
Chris Pearce 4d4bf4593d Bug 1423372 - Move MediaDecoder::BackgroundVideoDecodingPermissionObserver to its own file. r=jwwang
This class contains a bunch of Gecko DOM specific stuff, and it would make
keeping the copy of MediaDecoder in Servo up to date easier if the Gecko
DOM stuff wasn't in MediaDecoder (and the other classes we import).

MozReview-Commit-ID: 3dP1nrQ7sT3

--HG--
extra : rebase_source : 79040a8d3cff6ac946b20a99d68e57630ec60848
2017-12-06 11:22:36 +13:00
Jonathan Watt 22a6ced979 Bug 1180145, part 4 - Tests for blocking of resource timing for sub-resources of no-cors resources. r=jwatt
MozReview-Commit-ID: GQRhvsME5gv
2017-11-09 13:12:45 +00:00