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

81103 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard ca21a59533 Bug 1524890 - P10. Add AudioData::SetTrimWindow. r=bryce
Don't re-create a new trimmed AudioData when we want to remove some content. This remove the need for some copies.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:19:32 +00:00
Jean-Yves Avenard ed02a5879c Bug 1524890 - P9. Add += and -= operator. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D20167

--HG--
extra : moz-landing-system : lando
2019-02-22 09:19:18 +00:00
Jean-Yves Avenard 7f3801ebd7 Bug 1524890 - P8. Rely on buffer length to calculate the number of frames. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D20166

--HG--
extra : moz-landing-system : lando
2019-02-22 09:19:00 +00:00
Jean-Yves Avenard 3cf8c6d0df Bug 1524890 - P7. No longer access AudioData::mFrames directly. r=bryce
This will allow to remove mFrames member and calculate from the size of the content, which will dynamically change depending on a cropping filter.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:47 +00:00
Jean-Yves Avenard dd3c534de5 Bug 1524890 - P6. Remove mFrames member from MediaData. r=bryce
The number of frames is only meaningful with audio as a VideoData always contain a single frame.
So we only have this member in AudioData, which will simplify the logic in a future commit where the number of frames present depends on the trimming filter applied.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:33 +00:00
Jean-Yves Avenard 964cc95e13 Bug 1524890 - P5. Make MediaData::Type an enum class. r=bryce
Make its use more explicit and less likely to be incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:18 +00:00
Jean-Yves Avenard 1f5dfb6d37 Bug 1524890 - P4. Use Span<> with AudioBufferCursor. r=bryce
And we add some strong assertions that we never read passed the end of the buffer.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:05 +00:00
Jean-Yves Avenard afe04d2952 Bug 1524890 - P3. Add AudioData::Data method that returns a Span. r=bryce
So that we never access the underlying buffer directly.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:04 +00:00
Jean-Yves Avenard b67dc45537 Bug 1524890 - P2. Add Intersects methods. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D20160

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:04 +00:00
Jean-Yves Avenard d41a4fc09b Bug 1524890 - P1. Remove unused method. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D20159

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:03 +00:00
Boris Chiou 542cdbc4f0 Bug 1529422 - Part 2: Let GetScaleValue support individual transforms. r=hiro,emilio
So we can let KeyframeEffect::ContainsAnimatedScale check individual
transforms, which is used by ActiveLayerTracker.

Depends on D19631

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

--HG--
extra : moz-landing-system : lando
2019-02-24 03:27:51 +00:00
Boris Chiou cc43fb306a Bug 1529422 - Part 1: Add all transform-like properties into ActiveLayerTracker. r=hiro,mattwoodrow
Let ActiveLayerTracker track individual transforms. (Will add
motion-path in the future.)

Besides, using a property set for transform and opacity is more efficient,
so let's change it. For background position, we use a different code path,
so we can have more restrictions in IsStyleAnimated.

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

--HG--
extra : moz-landing-system : lando
2019-02-23 00:21:45 +00:00
Tarek Ziadé 2420a8ebb9 Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
This patch introduces a new module in widget that implements a simple API to
retrieve system information about a process and its threads.

This function is wrapped into ChromeUtils.RequestProcInfo to return information
about processes started by Firefox.

The use case for this API is to monitor Firefox resources usage in projects
like the battery usage done by the data science team.

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

--HG--
extra : moz-landing-system : lando
2019-02-23 18:07:59 +00:00
ui.manish 3e955992e7 Bug 1429016 - Remove expiring WEB_NOTIFICATION_* telemetry probes r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D18877

--HG--
extra : moz-landing-system : lando
2019-02-23 09:56:08 +00:00
Razvan Maries d7a2f49ed8 Merge mozilla-inbound to mozilla-central a=merge 2019-02-23 06:15:14 +02:00
Matthew Noorenberghe 2913059e69 Bug 1474143 - Replace form submission observer notifications with events. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16651

--HG--
extra : moz-landing-system : lando
2019-02-23 00:23:55 +00:00
Matthew Noorenberghe 0ad4c17e2f Bug 1474143 - Remove unused 'firstformsubmit' category and gFirstFormSubmitted. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16650

--HG--
extra : moz-landing-system : lando
2019-02-23 00:23:37 +00:00
Matthew Noorenberghe cc5d6f955d Bug 1474143 - Remove unused 'passwordmanager' category and gPasswordManagerInitialized. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D16649

--HG--
extra : moz-landing-system : lando
2019-02-23 00:23:14 +00:00
Randell Jesup 029f227af4 Bug 1529644: fix use of DIAGNOSTIC members outside ifdef in timers r=ehsan 2019-02-22 17:22:50 -05:00
Coroiu Cristina 80435b2557 Merge autoland to mozilla-central a=merge 2019-02-22 18:24:30 +02:00
Dorel Luca e2b65baabd Backed out changeset cd5dbeee8c5d (bug 1502917) for build bustage. CLOSED TREE 2019-02-22 14:32:42 +02:00
Coroiu Cristina dc0adc07db Backed out changeset 367ca1e16853 (bug 1528146) on request by igoldan, assignee didn't replied back on time a=backout 2019-02-22 10:10:33 +02:00
Tarek Ziadé 983d831bbe Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
This patch introduces a new module in widget that implements a simple API to
retrieve system information about a process and its threads.

This function is wrapped into ChromeUtils.RequestProcInfo to return information
about processes started by Firefox.

The use case for this API is to monitor Firefox resources usage in projects
like the battery usage done by the data science team.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 23:05:44 +00:00
Alastor Wu b883bd515b Bug 1277437 - part5 : apply default style on cue when we don't use pseudo element. r=heycam
If cue div is not a pseudo element, which means we don't have a default style applying on it. Therefore, we should set the default css style for it.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 19:34:51 +00:00
Andreas Farre 1b8510f881 Bug 1523645 - Add transactions for syncing BrowsingContext fields. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D20187

--HG--
extra : moz-landing-system : lando
2019-02-21 20:14:28 +00:00
Brian Birtles 540858a5b1 Bug 1528883 - Rename CSSPseudoElement.parentElement to CSSPseudoElement.element; r=bzbarsky
As per CSSWG resolution:

  https://github.com/w3c/csswg-drafts/issues/2816#issuecomment-454869173

And corresponding spec change:

  2dbf1e44a6

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

--HG--
extra : moz-landing-system : lando
2019-02-22 03:12:19 +00:00
Masayuki Nakano 6e11a1ab32 Bug 1505668 - part 3: Stop supporting "cmd_copyAndCollapseToEnd" since only CopyPasteAssistent refers it but nobody uses it r=m_kato,TYLin
"cmd_copyAndCollapseToEnd" is referred only by CopyPasteAssistent (even
including comm-central and BlueGriffon), but CopyPasteAssistent won't receive
"copy" command to send it.

So, it seems that we can get rid of a lot around CopyPasteAssistent but this
patch just changes the mapping in it ("copy" is mapped to "cmd_copy") and
removes command handlers of "cmd_copyAndCollapseToEnd" completely.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 01:39:14 +00:00
Alastor Wu d909fc4459 Bug 1277437 - part4 : change font size internally in CueStyleBox. r=heycam
CueStyleBox should handle all css attributes, so it make more sense to adjust font size and style inside CueStyleBox.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 16:04:38 +00:00
Alastor Wu fd943edd43 Bug 1277437 - part3 : apply WebVTT cue settings. r=heycam
Follow the spec 7.2 [1] and 7.4 [2] to process cue and apply css setting for the div element.

[1] https://www.w3.org/TR/webvtt1/#processing-cue-settings
[2] https://www.w3.org/TR/webvtt1/#applying-css-properties

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

--HG--
extra : moz-landing-system : lando
2019-02-19 22:23:10 +00:00
alwu 8d2557c9d9 Bug 1277437 - part2 : make CueStyleBox class-based. r=heycam
Using class syntax for CueStyleBox made us easier to simplify the code and make it more readable.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 14:25:33 +00:00
Gurzau Raul dd9cb929e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 23:56:21 +02:00
Narcis Beleuzu 1cc1d33847 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 18:11:40 +02:00
Oana Pop Rus e3f2246ee8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 11:42:10 +02:00
Oana Pop Rus b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Brindusan Cristian 136394135f Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Byron Campen [:bwc] 597c5c6ed9 Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17942

--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:59 +00:00
Byron Campen [:bwc] 9e2c830949 Bug 1521879 - Part 5: Update IPC serialize/deserialize code for RTP stream stats to match what is in the dictionaries. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D17278

--HG--
extra : moz-landing-system : lando
2019-02-21 15:35:06 +00:00
Byron Campen [:bwc] d7729846c2 Bug 1521879 - Part 3: Get --disable-webrtc builds working. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17275

--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:15 +00:00
Byron Campen [:bwc] bc939b7978 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 15:33:57 +00:00
Byron Campen [:bwc] 4604113749 Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 16:42:12 +00:00
Junior Hsu b7e28eddd2 Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D19325

--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +00:00
Byron Campen [:bwc] 7933dbcd50 Bug 1231414 - Part 1: Allow addTrack without a stream argument. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D19841

--HG--
extra : moz-landing-system : lando
2019-02-21 14:53:23 +00:00
Ehsan Akhgari 0648e78f1c Bug 1529396 - Stop throwing an exception from window.localStorage when a privacy check fails; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20583

--HG--
extra : moz-landing-system : lando
2019-02-21 14:21:02 +00:00
Henri Sivonen 5014792038 Bug 1529281 - Remove TabParent::AdjustTapToChildWidget as dead code. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D20489

--HG--
extra : moz-landing-system : lando
2019-02-21 09:19:36 +00:00
Andrea Marchesini 50d28b2321 Bug 1528909 - cross-origin checks in CanvasRenderingContext2D::DrawImage, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D20350

--HG--
extra : moz-landing-system : lando
2019-02-20 22:54:04 +00:00
Andreea Pavel 9fb81d5829 Bug 1516043 - Disabled test_background_video_resume_after_end_show_last_frame.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20462

--HG--
extra : moz-landing-system : lando
2019-02-20 13:43:32 +00:00
Karl Tomlinson 45ab39f95a Bug 1519562 throw in AudioWorkletNode constructor if name is not registered r=padenot
Depends on D20274

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

--HG--
extra : moz-landing-system : lando
2019-02-19 12:57:57 +00:00
Karl Tomlinson 25a27ff34a bug 1519562 send AudioParamDescriptors from registerProcessor() to AudioContext r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D20274

--HG--
extra : moz-landing-system : lando
2019-02-21 03:12:59 +00:00
Masayuki Nakano b86a9d85df Bug 1436906 - Make Selection::NotifySelectionListeners() not scroll when it moves focus r=smaug
When Selection changed into an editing host,
Selection::NotifySelectionListeners() moves focus to the editing host.
In this case, we've scrolled to the focused element because it's our consistent
and traditional behavior.  However, Chrome does not behave so.  Therefore,
we should not scroll in this case for compatibility with Chrome.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:09:32 +00:00
Cosmin Sabou 9f8b29287b Merge mozilla-central to autoland. 2019-02-21 05:43:34 +02:00