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

783712 Коммитов

Автор SHA1 Сообщение Дата
Jan-Ivar Bruaroey f144f24866 Bug 1225722 - Less restrictive non-memmovable static analysis of std::tuple. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D137573
2022-02-01 23:12:30 +00:00
Andreas Pehrson d1bd1b45ba Bug 1225722 - Update WPT expectations. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D135869
2022-02-01 23:12:29 +00:00
Andreas Pehrson 1f4d5c2e85 Bug 1225722 - Filter codec stats based on selectors and active payload types. r=bwc,jib
Differential Revision: https://phabricator.services.mozilla.com/D136974
2022-02-01 23:12:29 +00:00
Andreas Pehrson c47bce744f Bug 1225722 - Populate and coalesce RTCCodecStats to transport-level. r=bwc,jib
Differential Revision: https://phabricator.services.mozilla.com/D135868
2022-02-01 23:12:29 +00:00
Andreas Pehrson 289152aa39 Bug 1225722 - Constify some JsepSessionImpl getters. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D135867
2022-02-01 23:12:28 +00:00
Andreas Pehrson d78a1f4edd Bug 1225722 - Implement getters in the conduits for currently active payload types. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D135866
2022-02-01 23:12:28 +00:00
Andreas Pehrson 64bad5940a Bug 1225722 - Generalize some stats helpers with parameter expansion. r=bwc
This patch has two goals:
- In RTCStatsIdGenerator::RewriteIds avoid having to write a lambda for each
  stat dict member that can be an id
- Have a single place in C++-land that explicitly lists public and internal
  RTCStatsCollection members, to reduce the number of locations that need
  updating when adding new stats.

Differential Revision: https://phabricator.services.mozilla.com/D136154
2022-02-01 23:12:28 +00:00
Andreas Pehrson 82fa5caa68 Bug 1225722 - Wire up RTCCodecStats from GetStats. r=bwc,jib
This patch contains the plumbing work for taking all coalesced codec stats
for a peer connection and mapping them to rtp stream stats and their codecIds.

It depends on two skeleton methods; one for populating and coalescing all codec
stats to transport level, and one for filtering out only the codec stats
referred to by rtp stream stats.

Differential Revision: https://phabricator.services.mozilla.com/D135865
2022-02-01 23:12:27 +00:00
Andreas Pehrson 362e85af4b Bug 1225722 - Modularize RTCStatsIdGenerator::RewriteIds somewhat. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D135864
2022-02-01 23:12:27 +00:00
Andreas Pehrson 2b179f4152 Bug 1225722 - Make PeerConnectionImpl::GetSenderStats take a TransceiverImpl. r=bwc
This allows us to round up codec, receiver and sender stats from within the same
loop (over transceivers).

Differential Revision: https://phabricator.services.mozilla.com/D135863
2022-02-01 23:12:26 +00:00
Andreas Pehrson bdbc914a35 Bug 1225722 - Add StatsId() to JsepCodecDescription. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D137086
2022-02-01 23:12:26 +00:00
Andreas Pehrson a8d8c8c97c Bug 1225722 - Add sdpFmtpLine to JsepCodecDescription. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D136627
2022-02-01 23:12:25 +00:00
Andreas Pehrson 9aba840cb7 Bug 1225722 - Create JsepCodecDescription instances through factory methods. r=bwc
This is mainly to avoid repeating the default parameters throughout the tree.

Differential Revision: https://phabricator.services.mozilla.com/D136626
2022-02-01 23:12:25 +00:00
Andreas Pehrson f9b9fbaf47 Bug 1225722 - Make the MediaType in JsepCodecDescription instances static. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D136625
2022-02-01 23:12:25 +00:00
Andreas Pehrson ec4ddc911d Bug 1225722 - jsep_track_unittest: Only log sdp and codecs on failure. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D136624
2022-02-01 23:12:24 +00:00
Andreas Pehrson 0bd1206c9b Bug 1225722 - Add RTCCodecStats webidl. r=jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D135862
2022-02-01 23:12:24 +00:00
Andreas Pehrson e47afa9f55 Bug 1225722 - Move DataChannelStats to non-internal section in webidl. r=jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D135861
2022-02-01 23:12:24 +00:00
Andreas Pehrson 5973883e94 Bug 1225722 - Test RTCCodecStats NOT coalescing in mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D136973
2022-02-01 23:12:23 +00:00
Andreas Pehrson 257af3b9d6 Bug 1225722 - Test RTCCodecStats coalescing in mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D136972
2022-02-01 23:12:23 +00:00
Andreas Pehrson 63f509b438 Bug 1225722 - Test RTCCodecStats in test_pc_videoCodecs.html to verify payloadTypes. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D135860
2022-02-01 23:12:23 +00:00
Andreas Pehrson 66abfa6d46 Bug 1225722 - Add mochitest for one-way stats in order to test RTCCodecType. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D135859
2022-02-01 23:12:22 +00:00
Andreas Pehrson c4a76c10b9 Bug 1225722 - Test RTCCodecStats in stats.js. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D135858
2022-02-01 23:12:22 +00:00
Matthew Gaudet a7827eb63c Bug 1750634 - Add WPT Test for Stream Object globals r=smaug,saschanaz
This test is based on the general structure of
js/src/tests/non262/ReadableStream/readable-stream-globals.js, however the
expectations have been commented and updated to match what we believe is
the correct WebIDL behaviour.

Not all the features of that test case have been ported over, as there's
some stuff around the handling of Symbol.species that we can test elsewhere,
and it attempts to test BYOB streams, which we have yet to implement.

Note: I tried to initially write this as an xpcshell test case using
Cu.sandbox; but I found that I wasn't geting global behaviour that matched
my expectations from testing on the web.

Differential Revision: https://phabricator.services.mozilla.com/D137492
2022-02-01 22:43:23 +00:00
Matthew Gaudet 677ba0f7dc Bug 1750284 - Rename stream feature exposure prefs r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D137494
2022-02-01 22:43:22 +00:00
Geoff Brown e28d400c1f Bug 1745203 - Set MSIX(push) task payload's publishMode; r=releng-reviewers,hneiva
For msix pushes, set the payload's publishMode to Immediate for the
Beta channel, and Manual for all other channels (no other channels
are currently enabled, and Manual publishing is desired on Release).

Differential Revision: https://phabricator.services.mozilla.com/D137575
2022-02-01 22:42:47 +00:00
Jintao Hu 3db5dc6133 Bug 1591316 - add scrollbar to wide tables to prevent horizontal scroll in reader mode. r=mtigley,niklas
Differential Revision: https://phabricator.services.mozilla.com/D137337
2022-02-01 22:19:47 +00:00
Drew Willcoxon 2bb927649b Bug 1752470 - Allow quick suggest results to be best matches. r=daisuke
This revision is intended to work with two others in order to fully implement
the best match MVP. The three revisions are the following:

1. This revision sets `result.isBestMatch` to true if `is_best_match` is true in
   the quick suggest suggestion.
2. In D137097, results with `isBestMatch` are shown in the view as best matches.
3. We haven't finalized the logic for deciding which suggestions should be best
   matches -- in other words, which suggestions should get `is_best_match`.
   Once we finalize that, I'll make a third revision that implements it and sets
   `is_best_match` appropriately on suggestion objects. Merino will need to
   include `is_best_match` in its suggestion objects too as appropriate.

In order to test this revision, I added support for a temporary
`_test_is_best_match` on suggestion objects that the test can use.

Depends on D137097

Differential Revision: https://phabricator.services.mozilla.com/D137250
2022-02-01 22:18:50 +00:00
Drew Willcoxon 038a2d68a6 Bug 1752251 - Implement best match rows in the urlbar view. r=dao
This creates a new type of `bestmatch` row in the view. The UX spec is here:
https://www.figma.com/file/seJ2ZA4v3FgoV7jCxUR74B/Firefox-Suggest?node-id=5235%3A1284
(See: “Best match” proposal
 for Firefox 99)

Best match rows look similar to standard rows except they have a large 52x52
icon with the title and URL vertically centered next to it. Best match rows that
are sponsored also have the usual "Sponsored" label.

We're targeting 99 for the initial MVP version of this feature. For the MVP,
best matches will always be quick suggest results. Long term, there's been
discussion about incorporating history and bookmarks too.

Since 99 is coming up soon and we don't have much time, I did what I think is
the most straightforward thing and added another new row type, `bestmatch`. I
considered using the usual row DOM, but it's tricky because for best match we
need to show both the URL and sponsored label, and the sponsored label needs to
be shown below the title. The way we show the sponsored label for typical quick
suggest rows is by putting it in the action text and wrapping it below the
title, but that doesn't work for best match since it must show the URL.

However, best match rows do look similar enough to the usual rows that I think
it would be worth modifying the usual row DOM so that it uses this new best
match DOM. That would simplify the JS and CSS. It's also a much larger, riskier
change and there might be disagreement about it, and I don't want to block this
feature on that, so I'd like to come back to it. I have a WIP in D137095 that
also includes some general refactoring and simplification.

I could have implemented this as a dynamic result type like the onboarding
tab-to-search, but that would couple best match to a particular provider --
quick suggest -- and as I mentioned we may end up expanding best match to all
types of results. I don't want to add a new type and all of that code if we know
we may remove it later.

This revision relies on a new `result.isBestMatch` property that will be set for
quick suggest best matches in D137250.

The best match DOM looks like this:

```lang=html
<span class="urlbarView-row">
  <span class="urlbarView-row-inner">
    <img class="urlbarView-favicon">
    <span class="urlbarView-row-body">
      <div class="urlbarView-row-body-top">
        <div class="urlbarView-row-body-top-no-wrap">
          <span class="urlbarView-title"></span>
          <span class="urlbarView-title-separator"></span>
        </div>
        <span class="urlbarView-url"></span>
      </div>
      <div class="urlbarView-row-body-bottom">Sponsored</div>
    </span>
  </span>
</span>
```

Finally, this also adds a "Best Match" group label in the view. A few notes on
this:

* The string isn't finalized yet but we can easily update it once it is.
* Since right now best match will be en-US only and is related to Firefox
  Suggest, I added the string to firefoxSuggest.ftl, which is not localized.
* In D137250 I'm adding a `browser.urlbar.bestMatch.enabled` pref and moving the
  caching of this string behind that pref.

Differential Revision: https://phabricator.services.mozilla.com/D137097
2022-02-01 22:18:50 +00:00
Jonathan Kew f8aa71dcae Bug 1747272 - Apply current color when rasterizing glyphs from color fonts in Skia using Core Text. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D137567
2022-02-01 21:41:17 +00:00
Scott af363ac1f9 Bug 1752409 - Stub out new save to Pocket panels. r=gvn,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D137193
2022-02-01 21:22:31 +00:00
Valentin Gosu dd3f215688 Bug 1750989 - Add Shaw to the TRR telemetry keys r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D136378
2022-02-01 21:08:03 +00:00
Olli Pettay a959481f5a Bug 1729545, Try to ensure session history loads can't get stuck because of bogus requested index, r=peterv
Requested index handling is very fragile. We should try to figure out a way to remove it altogether.
(But unfortunately some behavior similar to it is needed in certain cases).
The patch is a stop-gap solution.

Differential Revision: https://phabricator.services.mozilla.com/D137479
2022-02-01 20:30:32 +00:00
Bryce Seager van Dyk 2d296e8968 Bug 1749804 - Increase media.eme.max-throughput-ms to 500. r=alwu
This allows for faster playback rates of EME media. This should allow up to ~5
times speed. Users in the wild have reported this value working without bustage,
so we have some evidence this is a safe value.

Differential Revision: https://phabricator.services.mozilla.com/D137563
2022-02-01 20:29:24 +00:00
Randell Jesup deef57618a Bug 1746523: xpcom Timer cleanup, assertions and comments r=bwc,xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D134089
2022-02-01 20:25:16 +00:00
Butkovits Atila 28506aaa63 Merge mozilla-central to autoland. CLOSED TREE 2022-02-01 23:38:09 +02:00
Andreea Pavel fe800a7fd2 Merge autoland to mozilla-central a=merge 2022-02-01 23:31:55 +02:00
Glenn Watson 8e26d00555 Bug 1752955 - Rename pic_clip_rect -> pic_coverage_rect r=gfx-reviewers,lsalzman
This makes it clearer that the field in a `ClipChainInstance` refers
to the total coverage of the picture by this primitive + clip-chain,
rather than referring to it being a clip rect itself.

Differential Revision: https://phabricator.services.mozilla.com/D137506
2022-02-01 19:58:39 +00:00
Kagami Sascha Rosylight ae6fe9af73 Bug 1752232 - Remove jsshell from disabled tests r=mgaudet
jsshell is only used by spidermonkey.

Depends on D137189

Differential Revision: https://phabricator.services.mozilla.com/D137495
2022-02-01 19:50:23 +00:00
Kagami Sascha Rosylight f6b3d2f3b2 Bug 1752232 - Enable all streams WPT tests r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D137189
2022-02-01 19:50:22 +00:00
Joel Maher a261492460 Bug 1750839 - Enable fission browser-chrome for variants. r=mccr8,releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D136512
2022-02-01 19:30:34 +00:00
Joel Maher dd4de46228 Bug 1753058 - clean up webgl tests to remove e10s variant. r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D137544
2022-02-01 19:13:04 +00:00
Joel Maher c6ae027392 Bug 1753030 - remove domstreams e10s test duplicates, clean up some linux scheduling of fission. r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D137536
2022-02-01 19:12:35 +00:00
stransky bb5b1a9d35 Bug 1747475 [Linux] Don't assert/crash if we're missing mGdkWindow r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D137554
2022-02-01 19:12:32 +00:00
Mozilla Releng Treescript 13d18ea20b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> 33268659876304b9faad24e7d6ef2b644d4394f7
hye -> 98fd9e9eaf606dc08bdb1ab759c0c2dec0f5fddc
ia -> 8612a86fc1b63b8c92549fd6239092ee7cc35983
it -> f69333a4aca10c6c1c395ded1114ec27b5c2cef8
pt-BR -> a48d8ebbfcd22e802aa29377c800ff5b1dd7f8a7
ru -> a76e9849f0e93ba9f3752169018a76403c8b1c51
tg -> 888770c2606554cdbdd76f9676a77791524f667d
vi -> 38be6c122c83e0418039acd16f84bf18d394f147
2022-02-01 19:02:16 +00:00
Olli Pettay 14f1eabde6 Bug 1745638, allow stopping session history load to an iframe, r=peterv
The previous version had two issues:
It revealed an issue in the old implementation which causes an assertion to fire.
There was also a problem with mDocumentRequest, so the new approach tries to be less clever
and just adds a new boolean member variable mCheckingSessionHistory,
which GetIsAttemptingToNavigate() then uses.

Differential Revision: https://phabricator.services.mozilla.com/D136041
2022-02-01 18:59:05 +00:00
Emilio Cobos Álvarez e9bb307a9b Bug 1749283 - Add a null check for mPrintTarget in nsDeviceContext::CreateRenderingContextCommon. r=dholbert
mPrintTarget can be nulled out and the caller needs to deal with null
returns already, so this should address the crash.

Differential Revision: https://phabricator.services.mozilla.com/D137473
2022-02-01 18:44:13 +00:00
stransky 074a18f1f6 Bug 1752506 [Linux] Don't hold clipboard data in nsRetrievalContext r=emilio
Right now we hold clipboard data in nsRetrievalContext and we don't allow any
clipboard operation until ReleaseClipboardData call.

That also lock nsRetrievalContext on Wayland untill ReleaseClipboardData call.
It may lead to clipboard failures when we're holding clipboard data but we want to read clipboard targets.

In this patch we:

- Transfer data ownership in GetClipboardData/GetClipboardText/GetTargets and don't store the data in nsRetrievalContext.
- On Wayland lock nsRetrievalContext only for GetClipboardData/GetClipboardText/GetTargets calls.
- Check mClipboardRequestNumber before assert due to unreleased mClipboardData.

Differential Revision: https://phabricator.services.mozilla.com/D137537
2022-02-01 18:35:40 +00:00
Alexis Beingessner 6e48e67665 Bug 1746747 - Provide accurate feedback about the about the absence of symbols_path. r=KrisWright
Previously mozcrash would just create an empty temp dir and pass that in as a symbols_path.
The comment suggests this would be used as a --symbols-cache/--symbols-tmp, but that's
certainly not how the new minidump-stackwalk handles positional symbols-path arguments?

minidump-stackwalk is perfectly capable of automatically creating its own tempdirs,
so nothing actually needs to be done. Instead I emit a warning and remove the guards
against the value being missing.

Differential Revision: https://phabricator.services.mozilla.com/D135940
2022-02-01 18:09:20 +00:00
Marian-Vasile Laza 66faa883a0 Backed out changeset df3acbea677e (bug 1748333) as requested by the dev. a=backout 2022-02-01 19:55:07 +02:00
Julian Descottes 0c179363d6 Bug 1747107 - [remote] Replace FrameContextUtils::getOsPid with isParentProcess r=webdriver-reviewers,jgraham,whimboo. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D134663
2022-02-01 14:35:25 +00:00