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

75702 Коммитов

Автор SHA1 Сообщение Дата
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
Narcis Beleuzu 192a45a34e Backed out 2 changesets (bug 1701770) for causing tp5n crashes.
Backed out changeset 2351f158ef88 (bug 1701770)
Backed out changeset 4af044ed9208 (bug 1701770)
2021-06-19 07:06:41 +03:00
Neil Deakin 7e61ee9e36 Bug 1709445, remove duplicate history icons, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D118172
2021-06-18 23:48:34 +00:00
Neil Deakin b2b0f5cd62 Bug 1706206, remove duplicate storage permission icons, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D118171
2021-06-18 18:04:13 +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
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
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
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
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
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
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
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 00133ca183 Bug 1703578 - Part 3: Invoke WDBA to set UserChoice. r=bytesized
Depends on D113427

Differential Revision: https://phabricator.services.mozilla.com/D113428
2021-06-17 18:06:35 +00:00
Adam Gashlin 858729153b Bug 1703578 - Part 1: Generate and check UserChoice hash. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D113426
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
Silke Hofmann c45f796a16 Bug 1715544 - Extend timezone converter's 12h correction logic for times between 12pm and 1pm, and 12am and 1am. Add testcases. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117958
2021-06-17 15:59:31 +00:00
Chris Martin 59f6230bef Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-17 15:53:23 +00:00
Mike Conley d90592e793 Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-17 15:47:16 +00:00
Olli Pettay b413126a30 Bug 1679194 - browser_backfwd_enabled_post_customize.js should wait until the state of back and forward buttons has changed, r=annyG
When session history (and bfcache) run in the parent process, things happening there are less asynchronous vs. having session history
in the child process.

The fix is such that if the disabled state doesn't change, then the test will just time out.

Differential Revision: https://phabricator.services.mozilla.com/D117891
2021-06-17 15:42:36 +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
Ava Katushka ava8katushka d18fc00d38 Bug 1716521 - Fix typo in the test for browser_application_selection.js. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117745
2021-06-17 15:33:56 +00:00
Bernard Igiri d8cff91aa0 Bug 1706192 - Get rid of popup-subitem r=mconley
Removed occurences of popup-subitem.

Differential Revision: https://phabricator.services.mozilla.com/D117330
2021-06-17 15:30:28 +00:00
prathikshaprasadsuman 1a1b462ea9 WIP: Bug 1713891 - Re-enable protections dashboard tests for fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D118158
2021-06-17 15:21:33 +00:00
Thomas Wisniewski afd5465704 Bug 1713685 - Update the Google Publisher Tags SmartBlock shim; r=denschub,webcompat-reviewers
- expand the API surface that is stubbed out more completely to account for sites relying on deprecated or more obscure functionality.
- have the shim perform basic content placement as some sites expect GPT to do.

Differential Revision: https://phabricator.services.mozilla.com/D118098
2021-06-17 14:35:59 +00:00
Mark Banner 6fdf25dc9d Bug 1717025 - Remove unnecessary inclusions of Promise.jsm in test harnesses and tests. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D118180
2021-06-17 14:31:57 +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
Harry Twyford ebfeee1f72 Bug 1714409 - Part 1 - Split UrlbarProviderAliasEngines from UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D116762
2021-06-17 11:34:12 +00:00
Francesco Lodolo (:flod) 4b62e3acc8 Bug 1716987 - Add Scots (sco) to Beta/Release builds with Firefox 91, r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D118164
2021-06-17 11:30:33 +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
Kris Maglione 5c9ca10ec3 Bug 1643998: Ignore load events from stale actors in browserLoaded helper. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117570
2021-06-17 04:42:34 +00:00
Itiel 81275099b6 Bug 1705967 - Overhaul and protonize the library window for Windows r=mak,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112490
2021-06-16 21:24:27 +00:00
Drew Willcoxon c2b15a15cd Bug 1716639 - Add a "Disable" button to the Firefox Suggest onboarding prompt that opens about:preferences#search. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D117950
2021-06-16 21:16:34 +00:00
Butkovits Atila b252130bae Backed out changeset 8473f7b4d147 (bug 1705967) for causing build bustages on organizer.css. CLOSED TREE 2021-06-16 22:32:30 +03:00
Itiel 290b312d8e Bug 1705967 - Overhaul and protonize the library window for Windows r=mak,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112490
2021-06-16 19:11:17 +00:00
Kashav Madan 1aac97839f Bug 1713896 - Remove fission annotation for false positive, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D118039
2021-06-16 18:52:34 +00:00
Thomas Wisniewski 8ed04d7a16 Bug 1713725 - update the SmartBlock shim for Rich Relevance; r=denschub,webcompat-reviewers
- stub out more of the API to mitigate more breakage
- update the ES coding style to be more modern

Differential Revision: https://phabricator.services.mozilla.com/D118038
2021-06-16 18:38:31 +00:00
Kashav Madan de0419dc6e Bug 1713900 - Remove platform-specific Fission sessionstore annotations from bug 1694824, r=neha
Most of these fail very rarely (if at all), and the ones that do already have
intermittent bugs filed.

See comment #6.

Differential Revision: https://phabricator.services.mozilla.com/D118005
2021-06-16 16:26:42 +00:00
Alexandre Lissy 859e2bdc3d Bug 1716774 - Send correct telemetry for buildid mismatch false-positive r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D118009
2021-06-16 15:37:48 +00:00
Emilio Cobos Álvarez b71251fbb3 Bug 1716617 - Ignore shadow tree in search autocomplete attr inheritance. r=Standard8
After bug 1708735, this popup has a shadow root with a slot for its
contents, but this popup wants attr inheritance to work on the light
tree, which used to work due to the fallback here to `this`:

  https://searchfox.org/mozilla-central/rev/294f10eff7398d6b05beac6aa256d86ac3cb7113/toolkit/content/customElements.js#431

So override getElementForAttrInheritance to ignore the shadow tree in
order to preserve the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D117982
2021-06-16 14:06:29 +00:00
Kashav Madan cb6768b9ef Bug 1716444 - Don't do final tab state flush for replaced contexts, r=farre,annyG
If we're destroying the frame loader of a replaced browsing context we'll end up
firing browser-shutdown-tabstate-updated for a tab that wasn't actually closed.

This results in us cleaning up Session Store state earlier than expected, which
means we drop future updates to SessionStoreInternal._closedTabs.

Fixes browser_sessionHistory.js, browser_async_remove_tab.js, and possibly
browser_491168.js for SHIP+BFCache.

Differential Revision: https://phabricator.services.mozilla.com/D117944
2021-06-16 14:05:53 +00:00
Dão Gottwald bf9d68cfb7 Bug 1716731 - Update Yandex favicons and tippytop icons. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D117988
2021-06-16 11:32:48 +00:00
Ed Lee 0df530a625 Bug 1715917 - Remove dependency on deprecated node-sass r=pdahiya
Update yamscripts to use sass command line interface with input:output args and appropriate --options, and also fix incorrect watchmc as bundle:css was && chained. Fix up sass errors (multiline string variable) and warnings (divide vs css / separator).

Differential Revision: https://phabricator.services.mozilla.com/D117484
2021-06-16 01:46:19 +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
Anny Gakhokidze 95c3dbf0de WIP: Bug 1713713 - Remove pref that decides if OriginAttributes should be used in a remote type r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117926
2021-06-16 00:31:15 +00:00
Sandor Molnar 0c74ccb7df Backed out changeset 463f9505434d (bug 1715917) for causing browser-chrome failures in browser_parsable_css. CLOSED TREE DONTBUILD 2021-06-16 02:11:14 +03:00
Ed Lee 92c361efcc Bug 1715917 - Remove dependency on deprecated node-sass r=pdahiya
Update yamscripts to use sass command line interface with input:output args and appropriate --options, and also fix incorrect watchmc as bundle:css was && chained. Fix up sass errors (multiline string variable) and warnings (divide vs css / separator).

Differential Revision: https://phabricator.services.mozilla.com/D117484
2021-06-15 22:07:06 +00:00
Mike Kaply 04dd2f4733 Bug 1716630 - Test for developer tools on app menu when developer tools are disabled is set. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117933
2021-06-15 21:41:41 +00:00
Sandor Molnar 7bf37eeab8 Backed out changeset c7ca6974f739 (bug 1643998) for causing multiple bc failures. CLOSED TREE 2021-06-15 23:23:39 +03:00
Kris Maglione 37f454f2eb Bug 1643998: Ignore load events from stale actors in browserLoaded helper. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117570
2021-06-15 19:40:26 +00:00
Thomas Wisniewski 8e4e262b09 Bug 1713687 - Improve the ETP shim for Google Analytics and fold the Tag Manager shim into it; r=webcompat-reviewers,denschub
- add wildcards to the URLs, as some sites access the scripts with GET parameters.
- we don't actually need a standalone Tag Manager shim, so just re-use the GA one.
- this will also mitigate breakage on some sites which load only one of the two scripts.
- more thoroughly stub out the Analytics window object to mitigate more site breakage.

Differential Revision: https://phabricator.services.mozilla.com/D117678
2021-06-15 19:38:20 +00:00
Emily McMinn 1b1f307613 Bug 1714617 - Update noodle positions & sizes on about:welcome to more closely match design spec r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D117047
2021-06-15 18:50:57 +00:00
Andrew Halberstadt 7a16af4434 Bug 1700781 - Skip failing mochitest-plain tests with fission + xorigin, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117704
2021-06-15 18:24:18 +00:00
Sandor Molnar 75b64984a6 Backed out changeset fcc24ac34f5d (bug 1699794) for causing mochitest failures in creditCard/test_clear_form. CLOSED TREE 2021-06-15 21:32:49 +03:00
Emily McMinn ce4e4163cb Bug 1712869 - Set keyboard focus on the correct button for each screen of the upgrade modal r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D117364
2021-06-15 17:12:23 +00:00
Shane Caraveo f2dce17402 Bug 1706398 support action context type for context menus r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D116858
2021-06-15 14:51:13 +00:00
Shane Caraveo 5d0fc14d5e Bug 1706398 support internal command _execute_action r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D114028
2021-06-15 14:51:12 +00:00
Shane Caraveo 957cb7e5e2 Bug 1706398 implement action support and alias browser_action to action. r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D113461
2021-06-15 14:51:12 +00:00
owlishDeveloper 9440a70da9 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-15 13:59:59 +00:00
Kashav Madan 1a33a37654 Bug 1715852 - Fix SessionHistoryEntry::mSrcdocData to work with session restore, r=peterv
Not setting mIsSrcdocEntry causes us to drop srcdoc data and not set
INTERNAL_LOAD_FLAGS_IS_SRCDOC in FillLoadInfo for srcdoc restores.

Differential Revision: https://phabricator.services.mozilla.com/D117479
2021-06-15 13:34:01 +00:00
Andrei Oprea d39bcd7010 Bug 1695764 - Remove code related to CFR ML Experiment r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D113963
2021-06-15 10:44:15 +00:00
Alexandru Michis 862514ac0a Bug 1625690 - Disable browser_urlbar_event_telemetry.js on OS X 10.15 for frequent failures. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D117593
2021-06-15 06:06:39 +00:00
Alexandru Michis ace850e7bd Bug 1711507 - Disable browser_remoteTroubleshoot.js on linux asan for frequent failures. r=intermittent-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D117594
2021-06-15 06:03:36 +00:00
Kris Maglione ae436f55ec Bug 1646560: Part 2 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext. r=jdescottes,nika,geckoview-reviewers,devtools-backward-compat-reviewers,agi
This is slightly complicated by the fact that the editor code wants to be able
to set this from the content process, so we really need separate
BrowsingContext and WindowContext flags, the latter of which can be set by the
owning process.

Differential Revision: https://phabricator.services.mozilla.com/D114899
2021-06-15 04:40:11 +00:00
Kris Maglione b3c34d273e Bug 1646560: Part 1 - Move some XPCShell content helpers to generic shared module. r=nika
They were originally written for the extension framework, but have been used
more and more widely ever since.

Differential Revision: https://phabricator.services.mozilla.com/D114898
2021-06-15 04:40:10 +00:00
Noemi Erli 6fcc995a0a Backed out 2 changesets (bug 1701770) for causing failures in browser_checkdllblockliststate.js CLOSED TREE
Backed out changeset a6f46b0a30e9 (bug 1701770)
Backed out changeset 263591537722 (bug 1701770)
2021-06-15 04:09:49 +03:00
Daisuke Akatsuka 753cf86f05 Bug 1602396: Set focus to URLBar when an empty tab is moved to new window. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D117522
2021-06-14 23:38:50 +00:00
Csoregi Natalia ee2d1d13f4 Backed out changeset 9c2ba085b136 (bug 1703609) for failures on browser_devices_get_user_media_queue_request.js. CLOSED TREE 2021-06-15 02:55:35 +03:00
Aaron Klotz f3adb70f19 Bug 1707954: Part 2 - Update Launcher Process with mscom::ProcessRuntime changes; r=Jamie
Given the changes in part 1, we must now use the `ProcessCategory` variant of
`ProcessRuntime`'s constructors.

Differential Revision: https://phabricator.services.mozilla.com/D113561
2021-06-14 21:53:18 +00:00
Chris Martin d909ca765f Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-14 20:55:33 +00:00
Molly Howell c5b07911a3 Bug 1703609 - Hide doorhangers while site permissions panel is showing. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117700
2021-06-14 20:49:38 +00:00
Andrew Creskey de66360ca3 Bug 1713385 - Add typing metrics to history metadata r=Standard8
Collect typing metrics (time spent typing, number of keys pressed) to improve history metadata.

Differential Revision: https://phabricator.services.mozilla.com/D116719
2021-06-14 19:56:06 +00:00
Molly Howell d2dac1c2f8 Bug 1698920 - Remove a couple of superflous CSS variables. r=desktop-theme-reviewers,Itiel
Also remove some associated `color: inherit` properties that don't appear
necessary; as far as I can tell, equivalent rules already exist everywhere
that these ones would match, so they're not having any effect.

Differential Revision: https://phabricator.services.mozilla.com/D117572
2021-06-14 17:04:14 +00:00
Kate Hudson 703b986ebe Bug 1714595 - Allow about:home startup cache to be toggled via Nimbus. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D116853
2021-06-14 14:48:00 +00:00
Mark Banner 40f6a4b111 Bug 1705374 - Update expected url in browser_searchEngine_behaviors.js. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D117660
2021-06-14 15:10:59 +00:00
Andreas Farre 966f9def62 Bug 1705689 - Don't update the tab state if the browsing context has been replaced. r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D117266
2021-06-14 13:48:49 +00:00
Mark Banner 7e49795b30 Bug 1693821 - Update tracking regexps for search ad telemetry. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D109636
2021-06-14 13:05:02 +00:00
Alexandre Lissy 59f1595f14 Bug 1651133 - Double-check the build ID to avoid spurious about:restartrequired r=jld
Differential Revision: https://phabricator.services.mozilla.com/D115593
2021-06-14 10:33:19 +00:00
Silke Hofmann 4650ab077c Bug 1481470 - Stop using xlink:href in SVG in browser/. r=nhnt11,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D117204
2021-06-13 19:01:19 +00:00
Jared Wein fefa376411 Bug 1715208 - Wait for the closebutton attribute to update instead of assuming it is atomic with inDOMFullscreen r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117157
2021-06-12 08:21:33 +00:00
Dana Keeler ef0a88c6f2 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-12 01:12:25 +00:00
Sam Foster 3fb516c1ba Bug 1707690 - Remove the places folder icon in favor of the toolkit shared icon.r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D117483
2021-06-11 23:35:08 +00:00
Butkovits Atila a4246aecb0 Backed out changeset c99bb7d3308e (bug 1699794) for causing Mochitest failures in browser_anti_clickjacking.js. CLOSED TREE 2021-06-12 02:41:21 +03:00
Toshihito Kikuchi a0c3a4c847 Bug 1702717 - Skip blocklisting if the mappad region is not executable. r=mhowell
When a module is loaded with `LOAD_LIBRARY_AS_IMAGE_RESOURCE`, the mapped region
is `MEM_IMAGE`, but it's not executable.  We don't have to check the blocklist
in such a case.

Differential Revision: https://phabricator.services.mozilla.com/D117573
2021-06-11 22:45:46 +00:00
owlishDeveloper 001ef39fb7 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-11 21:41:09 +00:00
Ed Lee 9930a18c9b Bug 1633883 - TelemetryTestUtils.assertScalar assumes Number (so behaves odd for boolean, strings) r=chutten
Split assertScalar to assertScalarUnset to allow the former to plain check the value including strings, false and 0.

Differential Revision: https://phabricator.services.mozilla.com/D117457
2021-06-11 21:06:26 +00:00
Anny Gakhokidze ae1a9ec1c3 Bug 1709136 - Part 2: Update SessionHistoryEntry in ReplaceLoadingSessionHistoryEntryForLoad, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117238
2021-06-11 20:12:10 +00:00
Anny Gakhokidze d5f98a7382 Bug 1709136 - Part 1: Remove the explicit remoteness switch that happens during the restore process, r=nika,kashav
Differential Revision: https://phabricator.services.mozilla.com/D116209
2021-06-11 20:12:10 +00:00
Mark Banner b15e207006 Bug 1714384 - Disable more browser places mochitests on Linux tsan due to high frequency intermittent failures. r=mak DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117450
2021-06-11 18:45:25 +00:00
Michelle Goossens e4e6b27045 Bug 1714349 - Remove browser.proton.modals.enabled pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D116903
2021-06-11 18:14:26 +00:00
Butkovits Atila e4394b27a2 Backed out 3 changesets (bug 1715142) for causing build bustages. CLOSED TREE
Backed out changeset 7e67994f6a65 (bug 1715142)
Backed out changeset f58d5156f332 (bug 1715142)
Backed out changeset f8a7bd4519c6 (bug 1715142)
2021-06-11 21:20:02 +03:00
Dana Keeler f84faf1bf5 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-11 17:58:19 +00:00
Gavin Lazar Suntop 6862151ddf Bug 1713187 - adding unique button ids r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D117445
2021-06-11 17:32:40 +00:00
Dimi Lee bb8bb066b1 Bug 1708455 - P3. Support showing password manager items in context menu for username fields that are in a username-only form. r=sfoster,tgiles
Before the patch, we don't show password manager items when there is no password fields found in a form.

In this patch, we do two things to support a username-only form in the context menu:
1. Add "other" category to fieldname hints. "other" is used for fields that are
   in a form but are neither "current-password", "new-password", nor "username".
   With the change, the "username" hint is now only used for fields that are considered a username field by the password manager.

2. When there is no password field in a form, ContextMenu also treat a
   form as a login form when the active field is a username field, which means it is a username-only form.

Depends on D113796

Differential Revision: https://phabricator.services.mozilla.com/D113797
2021-06-11 11:56:02 +00:00
Iulian Moraru 955a3ab572 Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 83206685ca0b (bug 1715142)
Backed out changeset ab3060a5f69e (bug 1715142)
2021-06-11 02:45:34 +03:00
Dana Keeler f3c620e4c3 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-10 22:13:32 +00:00
Ed Lee 442a2844ac Bug 1715348 - Add telemetry environment boolean scalar for kept in macOS Dock r=pdahiya
Add BrowserGlue task and telemetry Scalar matching is_taskbar_pinned but for macOS as is_kept_in_dock.

Differential Revision: https://phabricator.services.mozilla.com/D117346
2021-06-10 20:58:08 +00:00
Sam Foster 8a7d9506a2 Bug 1713956 - Update stop-to-reload and reload-to-stop animations to use clip-paths vs. masks and pause key-frames rather than redundant svg frames. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117054
2021-06-10 20:37:28 +00:00
Sam Foster 9c191e56aa Bug 1713956 - Swap animation names and filenames so reload-to-stop animates from reload to stop icon, and stop-to-reload animates from stop to reload. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117053
2021-06-10 20:37:27 +00:00
Andrew Halberstadt 3d20644824 Bug 1713889 - Remove fission skip-ifs in browser/base/content/test/general/browser.ini, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117212
2021-06-10 18:38:03 +00:00
Mark Banner 0948a5fbc8 Bug 1713325 - Exclude time when the user is idle from the page view time for history metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D116275
2021-06-10 17:50:13 +00:00
Harry Twyford b1c5a5b1f8 Bug 1715484 - Stop syncing browser.urlbar.resultBuckets and rename the pref. r=adw
I renamed the pref to resultGroups. This is similar enough that we don't have to change a lot of code. Functions and comments that refer to resultBuckets now clearly refer to resultGroups. As Marco pointed out in the bug, the renaming is necessary to avoid conflicts with old versions.

Differential Revision: https://phabricator.services.mozilla.com/D117354
2021-06-10 16:28:35 +00:00
Julien Cristau 546db9d574 Bug 1704584 - allow password-rules.json as a duplicate file. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D117424
2021-06-10 14:50:40 +00:00
Kashav Madan 4c2bc4a280 Bug 1715264 - Fix browser_async_remove_tab.js for SHIP, r=farre
Relies on frame script message ordering.

Differential Revision: https://phabricator.services.mozilla.com/D117233
2021-06-10 14:31:00 +00:00
Kashav Madan 506f273571 Bug 1715264 - Fix browser_async_flushes.js for SHIP, r=farre
Relies on frame script message ordering.

Differential Revision: https://phabricator.services.mozilla.com/D117232
2021-06-10 14:31:00 +00:00
Kashav Madan 9412b5ad01 Bug 1715264 - Remove annotations for browser_sessionHistory.js, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D117231
2021-06-10 14:30:59 +00:00
Kashav Madan 534f0f8a49 Bug 1715264 - Cleanup how Session Store collects SessionHistory, r=farre
This does a few things:

1. Removes the `aImmediately` flag from the RequestSHistoryUpdate path, and
   moves that responsibility to SessionStore
1. Simplifies how and when SessionStore calls SessionHistory.collectFromParent()
1. Attempts to clean-up SessionStore's SHistoryListener (again)

Differential Revision: https://phabricator.services.mozilla.com/D117230
2021-06-10 14:30:59 +00:00
Alexandru Michis 4a0c903748 Backed out changeset b303116fee07 (bug 1713325) for causing bc leaks in XPCNativeInterface. 2021-06-10 17:27:01 +03:00
Mark Banner e0b9b263bd Bug 1713325 - Exclude time when the user is idle from the page view time for history metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D116275
2021-06-10 06:57:51 +00:00
Marian-Vasile Laza 5c483b46df Backed out 4 changesets (bug 1707954) for causing bc failures in ClearOnShutdown.cpp.
CLOSED TREE

Backed out changeset 7cb0db27236c (bug 1707954)
Backed out changeset fd52d202d10b (bug 1707954)
Backed out changeset 55586d8f7bf4 (bug 1707954)
Backed out changeset 49406bdac5ec (bug 1707954)
2021-06-10 09:13:45 +03:00
Daisuke Akatsuka ddb9da34fc Bug 1708263: Avoid flickering focus ring when focusing urlbar by clicking on edge of urlbar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D116682
2021-06-10 04:42:36 +00:00
Kris Maglione 93948eda9f Bug 1643998: Check actual remote type along with PID when testing for privileged about: process. r=nika
We're getting some intermittent failures on automation where the PID does not
match the original privileged process in some checks. It isn't clear whether
that's because we're actually not in a privileged process, though, or whether
the original privileged process was simply replaced.

The new checks will tell us both things.

Differential Revision: https://phabricator.services.mozilla.com/D117361
2021-06-10 04:37:50 +00:00
Nika Layzell 84cc1811f1 Bug 1713890 - Relax gfx.{content,canvas}.asure.backends pref usage checks, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117329
2021-06-10 01:36:35 +00:00
Aaron Klotz 85f847e2f0 Bug 1707954: Part 2 - Update Launcher Process with mscom::ProcessRuntime changes; r=Jamie
Given the changes in part 1, we must now use the `ProcessCategory` variant of
`ProcessRuntime`'s constructors.

Differential Revision: https://phabricator.services.mozilla.com/D113561
2021-06-09 21:38:14 +00:00
Daisuke Akatsuka 68f6428735 Bug 1565448: Expand line-height to avoid cutting-off the text. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D116963
2021-06-09 21:37:07 +00:00
cerkiewny 6751962b24 Bug 1688896 - alphabetically reorder switch statements in aboutLogins r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D117356
2021-06-09 21:12:16 +00:00
Noemi Erli 90b8bc9a03 Backed out 4 changesets (bug 1707954) for causing bustages in rules.mk CLOSED TREE
Backed out changeset fa23f9293250 (bug 1707954)
Backed out changeset e1b37839487b (bug 1707954)
Backed out changeset f72b810472fd (bug 1707954)
Backed out changeset fb4829011104 (bug 1707954)
2021-06-10 00:29:29 +03:00
Aaron Klotz 43d03f255a Bug 1707954: Part 2 - Update Launcher Process with mscom::ProcessRuntime changes; r=Jamie
Given the changes in part 1, we must now use the `ProcessCategory` variant of
`ProcessRuntime`'s constructors.

Differential Revision: https://phabricator.services.mozilla.com/D113561
2021-06-09 20:28:06 +00:00
Csoregi Natalia f0d30bfbed Backed out changeset f7a108e738ee (bug 1712215) for failures on browser_parsable_css.js. CLOSED TREE 2021-06-09 23:27:29 +03:00
Neil Deakin 8bcca30093 Bug 1713714, relabel bookmarks menu item as Manage Bookmarks, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D117193
2021-06-09 19:27:07 +00:00
Mike Conley ff19390afa Bug 1682022 - Sentence case some FxA panel strings. r=flod,fluent-reviewers
Depends on D100043

Differential Revision: https://phabricator.services.mozilla.com/D117341
2021-06-09 18:01:25 +00:00
Mike Conley d604c84efd Bug 1682022 - Use sentence casing for the AppMenu. r=fluent-reviewers,flod,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D100043
2021-06-09 18:01:25 +00:00
Mike Conley e6a176c5d3 Bug 1682022 - Clone the Extensions for Developers string for sentence-casing when in the AppMenu / panels. r=mtigley,fluent-reviewers,flod
Depends on D117067

Differential Revision: https://phabricator.services.mozilla.com/D117070
2021-06-09 18:01:24 +00:00
Mike Conley f6ae5b2c2e Bug 1682022 - Convert to Fluent and / or fork the remainder of the AppMenu strings for sentence casing. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D117067
2021-06-09 18:01:24 +00:00
Kajal Sah 4cadce4f26 Bug 1710635 - Adds capture visible view port using Save visible. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D116405
2021-06-09 17:45:27 +00:00
amy churchwell 756c06f333 Bug 1712215, 1712221 - Update drop shadows. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D116048
2021-06-09 16:59:46 +00:00
Mark Banner 14f488ec99 Bug 1714144 - Correct handling of PageHide notifications in Interactions to account for a browser already being closed. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D116997
2021-06-09 16:07:09 +00:00
Csoregi Natalia e348347bac Backed out 2 changesets (bug 1713956) for causing Bug 1715609. CLOSED TREE
Backed out changeset 8c88597448d2 (bug 1713956)
Backed out changeset c8334d06908a (bug 1713956)
2021-06-09 21:52:28 +03:00
Butkovits Atila b140242f9d Backed out 3 changesets (bug 1682022) for causing failures on browser_sync.js. CLOSED TREE
Backed out changeset 9ec189804055 (bug 1682022)
Backed out changeset 3a93fa0ba8ce (bug 1682022)
Backed out changeset 2fca4f56df6f (bug 1682022)
2021-06-09 19:54:44 +03:00
Henri Sivonen 3e40a36745 Bug 1713624 - Null out mFocusedWindow when receiving OOP focused BrowsingContext. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D117156
2021-06-09 15:08:36 +00:00
Mike Conley 2632c9f556 Bug 1682022 - Use sentence casing for the AppMenu. r=fluent-reviewers,flod,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D100043
2021-06-09 13:37:13 +00:00
Mike Conley 0dd92e0162 Bug 1682022 - Clone the Extensions for Developers string for sentence-casing when in the AppMenu / panels. r=mtigley,fluent-reviewers,flod
Depends on D117067

Differential Revision: https://phabricator.services.mozilla.com/D117070
2021-06-09 13:37:13 +00:00
Mike Conley e00cda2b95 Bug 1682022 - Convert to Fluent and / or fork the remainder of the AppMenu strings for sentence casing. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D117067
2021-06-09 13:37:12 +00:00
Karl Tomlinson 8e4152d193 Bug 1712898 test that escaping selectAudioOutput prompt does not block future prompts r=jib,pbz
Differential Revision: https://phabricator.services.mozilla.com/D116795
2021-06-09 04:01:39 +00:00
Karl Tomlinson 2c764178d7 Bug 1712898 test selectAudioOutput prompt UI r=jib
Differential Revision: https://phabricator.services.mozilla.com/D115996
2021-06-09 04:01:38 +00:00
Karl Tomlinson 78defe09b9 Bug 1712898 add a basic prompt for selectAudioOutput() r=jib,flod,pbz
This contains the code paths that are similar to the prompt for getUserMedia().

Permanent permissions and grace period are not included here and their model
may differ from that of getUserMedia().
See https://bugzilla.mozilla.org/show_bug.cgi?id=1712892

Differential Revision: https://phabricator.services.mozilla.com/D115994
2021-06-09 04:01:38 +00:00
Dorel Luca 816a6098d2 Backed out 3 changesets (bug 1714349) for Browser-chrome failures in browser/components/places/tests/browser/browser_addBookmarkForFrame.js. CLOSED TREE
Backed out changeset 598f8e7d73ef (bug 1714349)
Backed out changeset cc7365aacdbb (bug 1714349)
Backed out changeset f0f942a93495 (bug 1714349)
2021-06-09 04:48:41 +03:00
Michelle Goossens 2548bdf8e1 Bug 1714349 - Remove browser.proton.modals.enabled pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D116903
2021-06-08 22:16:33 +00:00
Sam Foster b047372a75 Bug 1713956 - Update stop-to-reload and reload-to-stop animations to use clip-paths vs. masks and pause key-frames rather than redundant svg frames. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117054
2021-06-08 18:46:46 +00:00
Sam Foster 1723a6f4de Bug 1713956 - Swap animation names and filenames so reload-to-stop animates from reload to stop icon, and stop-to-reload animates from stop to reload. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D117053
2021-06-08 18:46:46 +00:00