Commit Graph

761336 Commits

Author SHA1 Message Date
Joel Maher
4382e5b0ac Bug 1715659 - adjust tp6 pages which are in the essential group. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D118229
2021-06-18 14:28:56 +00:00
Neil Deakin
bc6ca9ef7f Bug 1707101, remove duplication protection panel icons, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D118170
2021-06-18 13:37:25 +00:00
Neil Deakin
496e371f46 Bug 1706592, add test for checking title when opening alert from a file url, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117421
2021-06-18 13:16:33 +00:00
Jan de Mooij
4935f5f838 Bug 1715512 part 21 - Rename memory reporter for tree shapes to shared shapes. r=jonco
Shapes no longer form a tree.

Differential Revision: https://phabricator.services.mozilla.com/D117321
2021-06-18 12:02:17 +00:00
Jan de Mooij
1b73b237e2 Bug 1715512 part 20 - Rename Shape to PropMap in a few places. r=jonco
Also add a SWEEP_PROP_MAP phase because SWEEP_SHAPE still has other uses.

Differential Revision: https://phabricator.services.mozilla.com/D117320
2021-06-18 12:02:17 +00:00
Jan de Mooij
3cc60aaa15 Bug 1715512 part 19 - Remove now-unused JSID_EMPTY. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D117319
2021-06-18 12:02:16 +00:00
Jan de Mooij
47cf2adeed Bug 1715512 part 18 - Implement NativeObject::checkShapeConsistency. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D117318
2021-06-18 12:02:16 +00:00
Jan de Mooij
a3518be084 Bug 1715512 part 17 - Add PropMap::dump and fix Shape::dump. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D117317
2021-06-18 12:02:15 +00:00
Jan de Mooij
f40586484d Bug 1715512 part 16 - Rename inDictionary to isDictionary. r=jonco
Also rename the IN_DICTIONARY flag to IS_DICTIONARY.

Shapes are no longer "part of" a dictionary list.

Differential Revision: https://phabricator.services.mozilla.com/D117316
2021-06-18 12:02:15 +00:00
Jan de Mooij
5694cde5ee Bug 1715512 part 15 - Fix tests. r=jonco
The jit-test was triggering slices that were "too long" for the test to abort the
sweep phase. Reduce the count for the test to pass.

The devtools test was failing because shapes no longer show up in the visible part
of the memory allocation table (it's more down the list because there are fewer
shapes). Use PropMap instead.

Differential Revision: https://phabricator.services.mozilla.com/D117315
2021-06-18 12:02:15 +00:00
Jan de Mooij
7a4335895f Bug 1715512 part 14 - Change shapes to be based on property maps. r=jonco
This is mostly removing code that's now implemented in property maps:

 45 files changed, 1469 insertions(+), 2932 deletions(-)

See also the new SMDOC comment in Shape.h

In CacheIR.cpp remove the previous shape check. This is no longer necessary
after this code got rewritten a while ago.

Differential Revision: https://phabricator.services.mozilla.com/D117314
2021-06-18 12:02:14 +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
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