Commit Graph

761323 Commits

Author SHA1 Message Date
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
André Bargull
0ed0217733 Bug 1715007 - Part 2: Add "language-region" language tags for all "language-script-region" tags. r=tcampbell,dminor
Implement the changes from <https://github.com/tc39/ecma402/pull/501>.

Instead of just adding the fixed list of old-style locales from
`oldStyleLanguageTagMappings`, add any locale "xx-ZZ" when ICU supports the
locale "xx-Yyyy-ZZ".

Differential Revision: https://phabricator.services.mozilla.com/D117017
2021-06-18 09:22:14 +00:00
André Bargull
5fb308d38c Bug 1715007 - Part 1: Add testing function to retrieve all available locales. r=tcampbell
Add a testing function to retrieve all available locales in preparation to test
the changes in part two.

Differential Revision: https://phabricator.services.mozilla.com/D117016
2021-06-18 09:22:13 +00:00
André Bargull
c121de17f1 Bug 1685075 - Part 3: Use the actual supported locale when computing the default locale. r=zbraniecki
This change ensures we don't report "en-US-posix" as the default locale when
`LANG=C` is set by the user, because that could be confusing after part 2.

The current rules about selecting the appropriate default locale were last
discussed in <https://bugzilla.mozilla.org/show_bug.cgi?id=1175347>. The
preference in that bug was to accept every part of the default locale as long
as there's a possible fallback locale. For example when the user locale is
"de-ZA", which can be supported through the fallback to "de", "de-ZA" as a whole
is accepted. But "de-ZA" is not accepted when the default locale is for example
just "de".

The test cases were adapted to use a locale which has multiple subtags and which
has only partial support in `Intl.Collator`: `Intl.Collator` only natively
supports "az", but not "az-Cyrl-AZ". "az-Cyrl-AZ" is completely supported by all
other Intl service constructors.

Depends on D117976

Differential Revision: https://phabricator.services.mozilla.com/D117977
2021-06-18 09:22:13 +00:00
André Bargull
b0a94f02a6 Bug 1685075 - Part 2: Remove "en-US-posix" locale from ICU data file. r=zbraniecki
The filter file doesn't support exclusion lists for the "locales" filter type
(<https://github.com/unicode-org/icu/blob/main/docs/userguide/icu_data/buildtool.md#filtering-by-locale>),
therefore we have to manually exclude "en-US-posix" from the relevant resource
types: "en-US-posix" data is only present for collation, locales, and break
iteration. Break iteration is already completely stripped from the data file,
so we don't need to change anything on that front.

The string must be "en_US_POSIX" to match the resource file name, also see
<https://unicode-org.atlassian.net/browse/ICU-21400>.

Depends on D117975

Differential Revision: https://phabricator.services.mozilla.com/D117976
2021-06-18 09:22:06 +00:00
André Bargull
8b1839ebe0 Bug 1685075 - Part 1: Replace black/white-list in ICU data filter file. r=zbraniecki
Replace "whitelist" and "blacklist" with "includelist" resp. "excludelist", because
the latter is now the preferred name in ICU and the ICU docs/examples are all using
the new names.

Differential Revision: https://phabricator.services.mozilla.com/D117975
2021-06-18 09:22:06 +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
Peter Van der Beken
8f8cf61e5b Bug 1715483 - Prepare for BFCache in parent on Android when Fission is enabled. r=eeejay
Disabling a GeckoView-only test when BFCache in parent is on.

Differential Revision: https://phabricator.services.mozilla.com/D117274
2021-06-18 08:19:49 +00:00
André Bargull
f9c007f933 Bug 1653024 - Part 2: Enable test262 feature for Intl.DateTimeFormat.prototype.formatRange by default. r=tcampbell
Depends on D118026

Differential Revision: https://phabricator.services.mozilla.com/D118027
2021-06-18 06:41:37 +00:00
André Bargull
5233fa2f3e Bug 1653024 - Part 1: Enable Intl.DateTimeFormat.prototype.formatRange by default. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D118026
2021-06-18 06:41:36 +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
Matt Woodrow
1c5debc65c Bug 1717162 - Allow extra tick mode to ride the trains. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D118251
2021-06-18 05:26:52 +00:00
James Graham
63405dec45 Bug 1712336 - Mark AddStatic LSAN failure as allowed for all WebDriver tests, r=aryx,webdriver-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118145
2021-06-18 05:24:29 +00:00
Alexandru Michis
3477ca89c8 Backed out changeset f7016db57a2e (bug 1459526) for causing reftest failures.
CLOSED TREE
2021-06-18 07:49:06 +03:00
Matt Woodrow
ab659be5a3 Bug 1716904 - Make css perspective use DOM parent instead of containing block. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D118103
2021-06-18 03:35:10 +00:00
Matt Woodrow
71f5026230 Bug 1715803 - Paint blend mode temporary surfaces in device space. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D117492
2021-06-18 03:35:07 +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
Jeff Gilbert
9a50679029 Bug 1715766 - [angle] Cherry-pick 3d texture respec fix. r=lsalzman,jrmuizel
+ Handle blank lines in moz.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D117578
2021-06-18 00:46:52 +00:00
Kagami Sascha Rosylight
3f6f05b7eb Bug 1713334 - Part 6: Actively prevent text deletion in DeleteRangeTransaction r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D118239
2021-06-18 00:36:56 +00:00
Kagami Sascha Rosylight
2de7595469 Bug 1713334 - Part 5: Allow caret to be at the end of text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117024
2021-06-18 00:36:55 +00:00
Kagami Sascha Rosylight
673eb02a8f Bug 1713334 - Part 4: Always select the text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117474
2021-06-18 00:36:55 +00:00
Kagami Sascha Rosylight
688fa49f4c Bug 1713334 - Part 3: Assume TextEditor always have a text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117023
2021-06-18 00:36:54 +00:00
Kagami Sascha Rosylight
9b640ade5b Bug 1713334 - Part 2: Initialize TextEditor always with a text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117022
2021-06-18 00:36:54 +00:00
Kagami Sascha Rosylight
8bbe7f3f11 Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie
Doing so prevents confusion when detecting selection change.

Differential Revision: https://phabricator.services.mozilla.com/D116303
2021-06-18 00:36:53 +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
16c41c182f Bug 1715515 - Part 2. Perf documentation update. r=jmaher,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D118167
2021-06-17 23:53:39 +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
Jeff Gilbert
920429087b Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman
+ Begin to add video tests to ensure we ratchet towards correctness.
+ Test rec709 x (yuv420p, yuv420p10, gbrp) x (tv, pc) x codecs.
+ Just mark fuzziness for now. Better would be e.g. 16_127_233 'bad
  references'.

Differential Revision: https://phabricator.services.mozilla.com/D115298
2021-06-17 23:43:34 +00:00
Masayuki Nakano
4fe63da099 Bug 1716720 - Clean up TextEditor.h and HTMLEditor.h r=m_kato
`TextEditor` is now a final class, so, it should be marked as so.  And this
patch modernize `virtual`, `override` and `final` keywords in them.

Differential Revision: https://phabricator.services.mozilla.com/D117998
2021-06-17 23:25:55 +00:00
Michelle Goossens
4a2cf899e4 Bug 1717108 - Switch macOS startup tests from 10.14 to 10.15 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D118232
2021-06-17 23:19:54 +00:00
Emily McMinn
f617736811 Bug 1716908 - Update newtab source docs with correct instructions for npm install r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D118217
2021-06-17 22:45:15 +00:00
Ed Lee
43592e9cc2 Bug 1714466 - Relax upgrade dialog dependency on unrelated/deprecated prefs, e.g., whatsNewPanel and aboutwelcome r=pdahiya
Check default pref branch instead of user when looking for enterprise policy changes.

Differential Revision: https://phabricator.services.mozilla.com/D118089
2021-06-17 22:23:28 +00:00
Alexandru Michis
459d907670 Backed out changeset add5e42aef7e (bug 1716904) for causing multiple failures.
CLOSED TREE
2021-06-18 01:47:14 +03: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
Harry Twyford
bbd6391909 Bug 1662172 - Part 1 - Port UrlbarProviderBookmarkKeywords from UnifiedComplete. r=adw
Depends on D116764

Differential Revision: https://phabricator.services.mozilla.com/D116898
2021-06-17 22:04:54 +00:00
Mike Hommey
f624e8b2ce Bug 1716485 - Update builders to rustc 1.53. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D117734
2021-06-17 21:43:56 +00:00
Timothy Nikkel
e2fec59f88 Bug 1713715. In gtest APZCGestureDetectorTester.DoubleTap make the apzc be for root content since we now redirect all double taps to root content. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D118118
2021-06-17 21:19:46 +00:00
Timothy Nikkel
1d7746a429 Bug 1713715. Add test. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D116926
2021-06-17 21:19:46 +00:00
Timothy Nikkel
e6543e4998 Bug 1713715. Redirect double tap gestures to the root content apzc. r=botond
This means that double tapping on an oop iframe "works" in that we don't try (and fail) to zoom the oop iframe. But it also means it is impossible to zoom to some content inside that oop iframe. Instead the best we can do is zoom to the oop iframe itself. This is consistent with what Chrome and Safari currently do. Allowing zooming to content inside an oop iframe would be decently complicated and it doesn't seem worth it. Bug 1715179 is on file for this.

Differential Revision: https://phabricator.services.mozilla.com/D116925
2021-06-17 21:19:45 +00:00
Ryan VanderMeulen
6205a49f78 Bug 1717008 - Add ACCESSIBILITY ifdef guard to avoid bustage with --disable-accessibility. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D118176
2021-06-17 21:12:08 +00:00
Ed Lee
deecb9b20a Bug 1716663 - Get automatic recompiling of activity-stream-*.css working with sass r=pdahiya
With https://github.com/sass/dart-sass/issues/1359 duplicate of a wontfixed bug, others have used --load-path to have watch include a parent directory.

Differential Revision: https://phabricator.services.mozilla.com/D118090
2021-06-17 20:41:57 +00:00
Andrew Halberstadt
cd9b9c84cc Bug 1696033 - [ci] fission-webgl-ipc: Enable 'mochitest-webgl2-ext' on more platforms, r=jmaher
This enables the following tasks on central:
+test-linux1804-64-asan/opt-mochitest-webgl2-ext-fis-gli-e10s
+test-linux1804-64-qr/debug-mochitest-webgl2-ext-fis-gli-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-webgl2-ext-fis-gli-e10s
+test-windows10-64-shippable/opt-mochitest-webgl2-ext-fis-gli-e10s
+test-windows10-64/debug-mochitest-webgl2-ext-fis-gli-e10s

and the following tasks on autoland:
+test-linux1804-64-asan/opt-mochitest-webgl2-ext-fis-gli-e10s
+test-linux1804-64-qr/debug-mochitest-webgl2-ext-fis-gli-e10s
+test-linux1804-64-qr/opt-mochitest-webgl2-ext-fis-gli-e10s
+test-windows10-64/debug-mochitest-webgl2-ext-fis-gli-e10s
+test-windows10-64/opt-mochitest-webgl2-ext-fis-gli-e10s

Depends on D118054

Differential Revision: https://phabricator.services.mozilla.com/D118056
2021-06-17 20:31:57 +00:00
Matt Woodrow
ca62537bc3 Bug 1716904 - Make css perspective use DOM parent instead of containing block. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D118103
2021-06-17 20:28:12 +00:00
Geoff Brown
d01ad2db3f Bug 1716768 - Avoid possible UnboundLocalError in benchmark.py; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D118049
2021-06-17 20:15:53 +00:00
Alexandru Michis
b07cc86a4a Backed out changeset dc5c5ba21183 (bug 1712750) for causing bc failures in browser_interventions.js
CLOSED TREE
2021-06-18 00:47:32 +03:00