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

81132 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 305c3ca912 Bug 1522579 - Part 3: Remove consumers of nsIContentChild, r=mccr8
Like Part 2, however for `nsIContentChild`.

Depends on D20550

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:49 +00:00
Nika Layzell 1e93329f70 Bug 1522579 - Part 2: Remove consumers of nsIContentParent, r=mccr8
This patch tries to move them to `ContentParent` instead.

`ProcessPriorityManagerImpl::ObserveContentParentCreated` could not be moved
due to using `do_QueryInterface` to cast from a `nsISupports` down to the
`ContentParent` object. This could be fixed to remove the interfaces entirely,
but I left that for a follow-up.

Depends on D20549

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:47 +00:00
Nika Layzell f3274c2fd2 Bug 1522579 - Part 1: Remove PContentBridge, r=mccr8
This actor won't be being used anymore, and acts only as a maintenance burden
for people working on this code (which we're doing pretty often these days!).

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:45 +00:00
Alexander Surkov dd71a0c9fb Bug 1525101 - adjust nsIAutoCompletePopup to make custom element popups working, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D20504

--HG--
extra : moz-landing-system : lando
2019-02-25 20:02:17 +00:00
Kyle Machulis ba73781dd1 Bug 1525583 - Add null checks for before retaining NPAPI objects; r=jmathies
Remove assertion and add actual checks to make sure we're retaining
live objects, not nullptrs. Return error if retain doesn't work.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 19:28:51 +00:00
Alex Gaynor 0e903787da Bug 1415508 - use Span in constructing a byte input stream; r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20687

--HG--
extra : moz-landing-system : lando
2019-02-25 19:11:20 +00:00
arthur.iakab 4479bd6e6b Backed out changeset b591e1e39f80 (bug 1508996) for requent devtools failures on browser_net_service-worker-status.js CLOSED TREE 2019-02-25 20:58:10 +02:00
Andrea Marchesini dd597fbd0e Bug 1508996 - Change Response's statusText's default, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21026

--HG--
extra : moz-landing-system : lando
2019-02-25 16:54:11 +00:00
Oana Pop Rus f3506e647e Merge inbound to mozilla-central. a=merge 2019-02-25 18:38:05 +02:00
Magnus Melin fd833bbb3d Bug 1528498 - check principal->GetURI rv to prevent Crash in [@ nsContentSecurityManager::IsOriginPotentiallyTrustworthy] via nsContentUtils::HttpsStateIsModern. r=ckerschb 2019-02-25 14:15:15 +02:00
sotaro df02eab1a2 Bug 1529500 - Wait until video becomes visible r=jya
test_background_video_suspend.html test expects that video is visible. The test needs to wait until the video becomes visible.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 12:13:40 +00:00
Oana Pop Rus c66e162357 Merge inbound to mozilla-central. a=merge 2019-02-25 12:23:30 +02:00
Oana Pop Rus d102d1fb55 Merge autoland to mozilla-central. a=merge
--HG--
rename : gfx/wr/wrench/reftests/blend/multiply-2-ref.yaml => gfx/wr/wrench/reftests/blend/multiply-3-ref.yaml
rename : gfx/wr/wrench/reftests/blend/multiply-3.yaml => gfx/wr/wrench/reftests/blend/multiply-4.yaml
extra : rebase_source : 3dcaf2f7e006ea8d3b1c48e7b851623dc9a2bf2e
2019-02-25 12:07:31 +02:00
Gurzau Raul e6740c75fc Backed out 10 changesets (bug 1521879) for causing bug 1530107. a=backout
Backed out changeset f597a73a6eac (bug 1521879)
Backed out changeset 0bb76534f207 (bug 1521879)
Backed out changeset abcb8be12adf (bug 1521879)
Backed out changeset ed6c8d3bbfde (bug 1521879)
Backed out changeset 1addf1e15b55 (bug 1521879)
Backed out changeset 6b709cd9a479 (bug 1521879)
Backed out changeset 07747027c59c (bug 1521879)
Backed out changeset a6105ccc188c (bug 1521879)
Backed out changeset 48c9c643e7bb (bug 1521879)
Backed out changeset d4004105a04a (bug 1521879)
2019-02-25 12:12:15 +02:00
Masayuki Nakano e4a493a90c Bug 1529190 - Make `execCommand("createLink")` and `execCommand("insertImage")` aware of URL including non-ASCII characters r=m_kato
`InsertTagCommand::DoCommandParams()` inserts given URL to `href` of `<a>` or
`src` of `<img>`.  However, it treats the given URL includes only ASCII
characters.  Therefore, we cannot insert URL including non-ASCII characters
with `execCommand("createLink")` nor `execCommand("insertImage")`.

This patch makes `nsHTMLDocument::ExecCommand()` set the param as `nsString`
and makes `InsertTagCommand::DoCommandParams()` retrieve it with `GetString()`.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 03:30:50 +00:00
Dorel Luca f80c9cfdae Merge mozilla-inbound to mozilla-central. a=merge 2019-02-25 03:43:20 +02:00
Jean-Yves Avenard 4b9d7d9972 Bug 1528652 - Don't use WMF for decoding VP9 with alpha content. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D20957

--HG--
extra : moz-landing-system : lando
2019-02-25 01:17:31 +00:00
Jean-Yves Avenard 916342f7c5 Bug 1222851 - Keep the one dropped frame prior the first one to prime the decoder. r=bryce
Some audio decoders, such as AAC and Opus have a need for a pre-roll content. As such, in order to be able to fully get the content of the first frame we keep the frame just prior that would have normally been dropped.

We set this frame to have a duration of 1us so that it will be dropped later by the decoding pipeline. The starting time of the first frame is adjusted so that we have continuous data, without gap in the buffered range.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:58:18 +00:00
Jean-Yves Avenard 850a9d6aa7 Bug 1524890 - P17. Set duration on IMF sample. r=bryce
We didn't set the duration on the created IMF sample before sending it to the decoder.
For audio this isn't a problem as the duration is calculated from the number of frames returned.
For video however, the duration appears to have been calculated by WMF as the delta of pts. However, for the last frame, the value returned was set to a value not matching our input.

So we set the duration on the IMFSample so it doesn't have to make it up.

Setting the duration on the IMFSample isn't sufficient with Windows 7, which still continues to calculate it based on previous samples durations.
So we store the last sample duration and set it when draining.

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

--HG--
extra : moz-landing-system : lando
2019-02-23 09:28:14 +00:00
Jean-Yves Avenard ffc1352b1f Bug 1524890 - P16. Fix mochitests. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D20330

--HG--
extra : moz-landing-system : lando
2019-02-22 09:21:13 +00:00
Jean-Yves Avenard 5569ae1a9c Bug 1524890 - P15. [MSE] Add extra logging. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D20321

--HG--
extra : moz-landing-system : lando
2019-02-22 09:21:11 +00:00
Jean-Yves Avenard 4a6552a7d5 Bug 1524890 - P14. Add AudioTrimmer wrapper. r=bryce
A simplistic decoder wrapper that will take decoded frames and truncate them should the originally compressed frame contained trimming information.

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

--HG--
extra : moz-landing-system : lando
2019-02-24 10:29:52 +00:00
Jean-Yves Avenard 68176b56c7 Bug 1524890 - P13. [MSE] Mark frames as truncated when needed. r=bryce
There's two cases to handle.
1- A Frame isn't entirely contained between appendWindowStart and appendWindowEnd
2- A new frame is appended which overlaps partially an existing frame.

To achieve this we tweak the start time and duration of the sample added (case 1), or the frame about to be partially covered (case 2). We then set a flag that will indicate to the decoder that the decompressed frame will have to be truncated.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:21:05 +00:00
Jean-Yves Avenard a61c2a98fe Bug 1524890 - P12. Serialise TimeUnit over ipdl. r=mjf
Nicer than passing int64_t directly.

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

--HG--
extra : moz-landing-system : lando
2019-02-23 09:21:41 +00:00
Jean-Yves Avenard 4377bd3b8b Bug 1524890 - P11. Remove duration from AudioData construction parameter. r=bryce
It can be determined from the size of the buffer and the number of audio frames. Additionally, it ensures that the duration of the frame is always exactly what the AudioData contains.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:19:47 +00:00
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