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

69648 Коммитов

Автор SHA1 Сообщение Дата
Youhai Li e10e215fb2 Bug 1672577 - Removed expired probe NUMBER_OF_PROFILES, r=jaws,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D116735
2021-06-21 14:53:09 +00:00
Andrew Osmond 98f810e4e4 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-21 12:46:32 +00:00
Henri Sivonen 7df7939f77 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 12:09:01 +00:00
Gerald Squelart c83e6a0508 Bug 1715922 - Windows timer resolution is enhanced by default, except if notimerresolutionchange feature is set - r=canaltinova
This reverses bug 1703410: By default the profiler now changes the timer resolution (normally 64Hz) when the requested sampling interval is lower than 10ms, to allow fast-enough sampling for most uses.

But since this can influence other timers in Firefox, it makes debugging some types of issues more difficult. To help with this, there is now a "No Timer Resolution change" on Windows, which prevents the profiler from changing the timer resolution, at a risk of slowing down sampling in some processes.

Differential Revision: https://phabricator.services.mozilla.com/D117626
2021-06-21 11:48:23 +00:00
Dorel Luca 2118316ba4 Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE 2021-06-21 12:10:54 +03:00
Henri Sivonen abbbf94915 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 08:09:43 +00:00
Daisuke Akatsuka 1cc55fd4cf Bug 1686951: Support switch-to-tab in private browsing window. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D117974
2021-06-21 01:33:26 +00:00
Mathew Hodson ac36d76c7a Bug 1690417 - Show tooltips when a reader mode dropdown is open. r=desktop-theme-reviewers,harry
Don't show the tooltip of the currently open dropdown button
so that the opening of the dropdown popup doesn't look odd.

Differential Revision: https://phabricator.services.mozilla.com/D116956
2021-06-20 06:11:16 +00:00
Andrei Oprea 392f7dce8e Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 11:06:58 +00:00
Sandor Molnar 917badff50 Backed out changeset f4ab27bcac2e (bug 1715504) for causing browser-chrome failures in browser_all_files_referenced. CLOSED TREE 2021-06-18 13:38:10 +03:00
Andrei Oprea 5e63926089 Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 09:50:19 +00:00
Itiel a507e0cf17 Bug 1715722 - Remove obsolete .button-box padding rule on Windows r=desktop-theme-reviewers,harry,dao
Differential Revision: https://phabricator.services.mozilla.com/D117639
2021-06-18 09:13:07 +00:00
Toshihito Kikuchi 076a7b1ee6 Bug 1713415 - Don't discard the unprocessed loading events. r=aklotz
We had the constant `kMaxEvents` which limits the maximum number of loading
events in `UntrustedModulesData`.  Because we had a check for the number of
events in `UntrustedModulesData::AddNewLoads` where we already swapped
`UntrustedModulesProcessor::mUnprocessedModuleLoads` with a local variable,
when the array exceeds `kMaxEvents`, we discarded the remaining loading events.

The proposed fix is to check for `kMaxEvents` before swapping the unprocessed
events, so that the remaining events will be processed the next time.

This was caught by the `UntrustedModulesFixture` GTest.  This test had
another test bug that it always expected modules were loaded in the main
thread except the predefined known modules.  This is not correct because
the same process may have loaded a bunch of modules in the earlier GTests
such as graphics drivers in different threads.  This patch includes a fix
for that bug as well.

Differential Revision: https://phabricator.services.mozilla.com/D117433
2021-06-18 06:01:29 +00:00
Brendan Dahl d79924121a Bug 1717132 - Update pdf.js to version 2.10.146 r=marco
Differential Revision: https://phabricator.services.mozilla.com/D118240
2021-06-18 03:29:01 +00:00
Brindusan Cristian 97b71ee13f Backed out 2 changesets (bug 1715515) for breaking the decision task.
CLOSED TREE

Backed out changeset 2e674ac39f8f (bug 1715515)
Backed out changeset 39580a1b4188 (bug 1715515)
2021-06-18 03:20:07 +03:00
Drew Willcoxon 81609255b5 Bug 1713322 - Properly fill flex groups and add support for both availableSpan and maxResultCount. r=mak
The problem in this bug is that the sum of the available spans of child buckets
is not necessarily equal to the available span of the parent bucket. That's
because each child span must be an integer, but a child's ideal span may not be
an integer, so we have to round and an error can accumulate.

This fixes it by detecting that case and then tweaking child spans until their
sum is equal to the parent's available span. If the sum is smaller than the
parent span, then we increment child spans until it's equal; if the sum is
larger than the parent span, then we decrement instead. (The case where the sum
is larger isn't as much of a problem as when it's smaller. We still correctly
limit the total result span due to logic elsewhere, but the bucket's final
result composition may not reflect flex ratios as accurately as it could.)

I added some logic so that the child spans we choose to tweak are the ones that
minimize the mathematical error between the final integer spans and the ideal
unrounded spans. In other words, we pick the best spans possible given that they
must be integers.

We need to do this tweaking when we try to overfill buckets too, not only on the
first pass for a bucket. Currently the second pass is hardcoded in
`_fillBuckets`. Rather than hardcoding the tweaking in both places, I added an
`_updateFlexData` helper method. While I was doing that, I realized we may need
more than two passes per parent bucket in order to optimally fill the children.
So I modified `_fillBuckets` so it recurses with the parent bucket itself when
we need to overfill any of its children.

I also added support for both `availableSpan` and `maxResultCount`. That lets us
get rid of the ugly heuristic special case in `_addResults`. A bucket will be
filled while both its used span and result count are under both these limits.

This also removes support for zero flex. I got really annoyed with it while I
was working on earlier versions of this. It made the code unnecessarily complex.
I added zero flex kind of as a hack to support tail suggestions, but we don't
actually need it at all. We can just move the tail suggestions bucket out of the
main suggestions bucket with form history and remote suggestions.

Finally while I was here I switched from "bucket" to "group" in light of the
renaming in bug 1715484 and bug 1715822.

Differential Revision: https://phabricator.services.mozilla.com/D117582
2021-06-18 00:08:25 +00:00
Andrew Osmond be550ad9c9 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-17 23:53:39 +00:00
Ed Lee 2b631a483e Bug 1716884 - Allow experimenting with disabling Keep in Dock / Pin to taskbar r=andreio
Add new NimbusFeature.shellService that is available at startup, e.g., for default browser prompt.

Differential Revision: https://phabricator.services.mozilla.com/D118092
2021-06-17 23:44:38 +00:00
Alexandru Michis c26556467c Merge mozilla-central to autoland on a CLOSED TREE 2021-06-18 01:18:12 +03:00
Alexandru Michis 81c55fe871 Backed out changeset a90edecdce6f (bug 1713415) for module checking crashes (bug 1717059). a=backout 2021-06-18 01:11:57 +03:00
Harry Twyford 8cccc13c16 Bug 1662172 - Part 3 - Port and combine test_keyword_search and test_keyword_search_action. r=adw
Depends on D116899

Differential Revision: https://phabricator.services.mozilla.com/D116900
2021-06-17 22:04:54 +00:00
Harry Twyford 11271080a2 Bug 1662172 - Part 2 - Remove keyword code from UnifiedComplete. r=adw
Depends on D116898

Differential Revision: https://phabricator.services.mozilla.com/D116899
2021-06-17 22:04:54 +00:00
Adam Gashlin 25b5f25e18 Bug 1703578 - Part 4: Record setAsDefaultUserChoice() result telemetry. r=bytesized
Depends on D113428

Differential Revision: https://phabricator.services.mozilla.com/D113429
2021-06-17 18:06:35 +00:00
Adam Gashlin f22ce8ffdd Bug 1703578 - Part 2: Add WDBA command to set default browser. r=bytesized
Depends on D113426

Differential Revision: https://phabricator.services.mozilla.com/D113427
2021-06-17 18:06:34 +00:00
Brindusan Cristian 20b73f0fc2 Backed out changeset e88b44182dda (bug 1698883) for causing bc failures in browser_documentnavigation.js and browser_protectionsUI.js.
CLOSED TREE
2021-06-17 22:43:47 +03:00
Andrei Oprea 0ccfec97f9 Bug 1715804 - Use enrollment branch information for startup onUpdate notifications r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D117442
2021-06-17 16:04:26 +00:00
Mike Conley 6c5816deeb Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-17 15:34:17 +00:00
Kershaw Chang d8811704f9 Bug 1714506 - Force a transaction to wait for HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117234
2021-06-17 14:17:48 +00:00
Harry Twyford ac2a7709f9 Bug 1714409 - Part 3 - Port test_search_engine_alias. r=adw
I removed the part of the test that checks for a history result. That was there to test _filterOnHost, which was removed. See Part 2.

Depends on D116763

Differential Revision: https://phabricator.services.mozilla.com/D116764
2021-06-17 11:34:13 +00:00
Harry Twyford dafdcd51d7 Bug 1714409 - Part 2 - Remove _matchSearchEngineAlias from UnifiedComplete. r=adw
I didn't port _filterOnHost, which searches for history from an engine's domain when its alias is typed. It is no longer relevant: a heuristic alias search result puts the user in search mode.

Depends on D116762

Differential Revision: https://phabricator.services.mozilla.com/D116763
2021-06-17 11:34:13 +00:00
Valentin Gosu daedfd16fa Bug 1716543 - Annotate nsStandardURL::SanityCheck with URL offsets r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D117894
2021-06-17 11:14:17 +00:00
Andi-Bogdan Postelnicu d844b7a2dd Bug 1617369 - Reformat recent rust changes with rustfmt r=necko-reviewers,webdriver-reviewers,kvark
Updated with rustfmt 1.4.36-stable (7de6968 2021-02-07)

Differential Revision: https://phabricator.services.mozilla.com/D117906
2021-06-17 11:00:22 +00:00
Andi-Bogdan Postelnicu f07c975367 Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,emilio
Updated with clang-format version 12.0.0 (taskcluster-FZRqPXamQIOU_i4hF0cAcg)

Differential Revision: https://phabricator.services.mozilla.com/D117905
2021-06-17 11:00:22 +00:00
Florian Quèze dfeb53e219 Bug 1715257 - Remove Task Tracer code from the profiler, r=gerald,necko-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D117996
2021-06-17 09:33:00 +00:00
Mark Banner 28abf1cb81 Bug 1515695 - Remove Task.jsm. r=florian,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D118001
2021-06-17 08:28:02 +00:00
Iulian Moraru b02492de66 Backed out changeset 617a466d0cce (bug 1715257) for causing build bustages. CLOSED TREE 2021-06-17 10:58:16 +03:00
Florian Quèze 7b4906a6bd Bug 1715257 - Remove Task Tracer code from the profiler, r=gerald,necko-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D117996
2021-06-17 06:12:10 +00:00
Shane Caraveo 568202a19a Bug 1501879 fix system update failure tests r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D115019
2021-06-16 23:08:17 +00:00
Toshihito Kikuchi a1fe650713 Bug 1713415 - Don't discard the unprocessed loading events. r=aklotz
We had the constant `kMaxEvents` which limits the maximum number of loading
events in `UntrustedModulesData`.  Because we had a check for the number of
events in `UntrustedModulesData::AddNewLoads` where we already swapped
`UntrustedModulesProcessor::mUnprocessedModuleLoads` with a local variable,
when the array exceeds `kMaxEvents`, we discarded the remaining loading events.

The proposed fix is to check for `kMaxEvents` before swapping the unprocessed
events, so that the remaining events will be processed the next time.

This was caught by the `UntrustedModulesFixture` GTest.  This test had
another test bug that it always expected modules were loaded in the main
thread except the predefined known modules.  This is not correct because
the same process may have loaded a bunch of modules in the earlier GTests
such as graphics drivers in different threads.  This patch includes a fix
for that bug as well.

Differential Revision: https://phabricator.services.mozilla.com/D117433
2021-06-16 21:16:05 +00:00
Mike Conley 3ad3f51cf9 Bug 1714253 - Extend Picture-in-Picture Telemetry events until v95. r=mhowell, data-review=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D117546
2021-06-16 19:05:52 +00:00
Markus Stange 84e4f09a3f Bug 1716826 - Re-enable some passwordmgr tests that were disabled for macOS Fission. r=neha
Differential Revision: https://phabricator.services.mozilla.com/D118036
2021-06-16 17:52:25 +00:00
Christoph Kerschbaumer d86bd6ab8f Bug 1716804: Update browser_contentBlockingAllowListPrincipal.js to work with https-first in PBM r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D118029
2021-06-16 16:03:55 +00:00
Michael Cooper 97adc8ac97 Bug 1716032 - Don't change default branch prefs to have match user branch prefs in Normandy experiments r=nanj
When the default and user branch values of a preference match, the user brach
value is effectively erased, and we keep no evidence that the user made a
choice. This changes makes normandy avoid that situation, so that user
preferences remain intact.

Differential Revision: https://phabricator.services.mozilla.com/D117949
2021-06-16 15:36:13 +00:00
Bernard Igiri e08677cb3c Bug 1701365 - Set buttonpack to end in markup r=mconley
Removed js code that set buttonpack to "end" and modified markup to do that instead.

Differential Revision: https://phabricator.services.mozilla.com/D117935
2021-06-16 15:25:45 +00:00
Emilio Cobos Álvarez 3858e9d4e8 Bug 1716515 - Let default buttons on GTK have proper hover/active/focus states. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D117888
2021-06-16 14:12:42 +00:00
Iulian Moraru 27bb808f36 Backed out changeset a713faa51ebb (bug 1706871) for causing bc failures on browser_test_mixed_content_download.js. CLOSED TREE 2021-06-16 16:25:09 +03:00
Sebastian Streich 5982f7b637 Bug 1706871 - Fix HandleInternally + Insecure Downloads r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117412
2021-06-16 12:39:09 +00:00
Masayuki Nakano bccd582eaf Bug 1716068 - Don't start autoscroll on editable content or document whose designMode is on r=smaug
When middle mouse paste is enabled and middle click occurs in an editable
content or it's in a document whose `designMode` is `on`, we shouldn't start
the autoscrolling because the click must be intended for pasting clipboard
content or primary selection to the position.

Differential Revision: https://phabricator.services.mozilla.com/D117987
2021-06-16 12:20:17 +00:00
Christoph Kerschbaumer e1e1677676 Bug 1716702: Update test browser_referrerDefaultPolicy.js to work with https-first in PBM r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D117979
2021-06-16 07:18:20 +00:00
Kashav Madan 577616f5ab Bug 1701337 - Respect browser.sessionstore.debug.no_auto_updates in native flushers, r=nika
We should not be doing any timed flushes if the pref is set to true.

See https://searchfox.org/mozilla-central/rev/d97dca5907e2a0a77a2435b24ef980268cd3c4fe/browser/components/sessionstore/ContentSessionStore.jsm#402
for how the pref is used in non-SHIP code.

Fixes browser_async_window_flushing.js, which relies on us not sending automatic
updates.

Differential Revision: https://phabricator.services.mozilla.com/D117953
2021-06-16 00:37:53 +00:00