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

77087 Коммитов

Автор SHA1 Сообщение Дата
Evgenia Kotovich b7899c1c92 Bug 1733535 - Replace OS.File with IOUtils in the attribution code. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128715
2021-10-25 08:38:52 +00:00
OnuohaOluebube 87b96afd76 Bug 1733422 - SessionStore.getClosedWindowData always returns an object r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129147
2021-10-25 08:18:27 +00:00
Tooru Fujisawa ff5309e67b Bug 1737424 - Markup inline code properly in newtab doc. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D129347
2021-10-24 16:15:02 +00:00
Tooru Fujisawa a6b360f8de Bug 1737419 - Add note about mach npm test for newtab on Windows. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D129343
2021-10-24 16:15:01 +00:00
William Durand 8b56462cbd Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r=rpl
This patch adds a new test file containing a test case to cover the two main client side scenarios.

Differential Revision: https://phabricator.services.mozilla.com/D129050
2021-10-23 15:10:40 +00:00
Sergey Galich f8cbd8f540 Bug 1737331 - Refactor handleEvent function in AboutLoginsChild to be more readable r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D129312
2021-10-22 20:07:47 +00:00
Emily McMinn ddc8f968ac Bug 1734814 - Make the sign-in button visible when it overlaps noodles r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D128782
2021-10-22 19:36:15 +00:00
Brendan Dahl ba084e0a3e Bug 1737299 - Update pdf.js to version 2.12.69 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D129280
2021-10-22 17:19:07 +00:00
Emily McMinn 934c131f7b Bug 1735350 - Fix HCM backgrounds and colors for about:welcome elements r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D128398
2021-10-22 17:16:38 +00:00
Dão Gottwald ee198b23e7 Bug 1737049 - Clean up "disable pointer events for transition" hack. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129157
2021-10-22 17:14:25 +00:00
Thomas Wisniewski 6fdf8babc4 Bug 1660446 - Shim requestStorageAccess for Hamropatro FB/Google oauth logins; r=pbz,ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D129185
2021-10-22 17:13:02 +00:00
Norisz Fay b641c43be1 Backed out changeset d63aab4e0688 (bug 1733535) for causing mochitest failures on browser_AttributionCode_telemetry.js CLOSED TREE 2021-10-22 16:32:43 +03:00
Emilio Cobos Álvarez 6eed7c9735 Bug 1736522 - Hide titlebar button container on fullscreen on macOS. r=desktop-theme-reviewers,dao
This used to be done by:

  9785ceff3f (l2.13)

  9785ceff3f (l7.12)

On macOS we don't want buttons on fullscreen at all.

Differential Revision: https://phabricator.services.mozilla.com/D129173
2021-10-22 13:03:58 +00:00
Claudia 276b7cc92a Bug 1735166 - Replace OS.File/osfile.jsm with IOUtils/PathUtils in BrowserGlue.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128903
2021-10-22 13:01:19 +00:00
criss 152f71d4d3 Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE 2021-10-22 15:55:50 +03:00
Mathew Hodson a28c02848c Bug 1733871 - Allow tests to use `computeHash` from ProductAddonChecker.jsm. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127387
2021-10-22 12:28:09 +00:00
Mathew Hodson 7c9176e7d2 Bug 1733886 - Don't import `DocumentManager` in extensions tests. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127389
2021-10-22 12:28:08 +00:00
Evgenia Kotovich 03e4d49965 Bug 1733535 - Replace OS.File with IOUtils in the attribution code. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128715
2021-10-22 11:57:44 +00:00
Evgenia Kotovich e29e29aa5a Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
Katherine Patenio 015f2c8b9f Bug 1734397 - Fix active state of click-to-open items with downloads pref enabled. r=Gijs,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D129189
2021-10-22 11:27:41 +00:00
Johann Hofmann 9f963098c7 Bug 1737134 - Allow for updating privacy.restrict3rdpartystorage.rollout.enabledByDefault without browser restart. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D129192
2021-10-22 10:07:30 +00:00
Dão Gottwald b55f2161a8 Bug 1737033 - Remove workaround for bug 420033. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D129149
2021-10-22 09:46:05 +00:00
Gabriel Luong c7a4bab1b6 Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-22 06:04:04 +00:00
Geoff Lankow f7e1754be6 Bug 1698112 - Move whatsnew.svg from browser to toolkit. r=sfoster
This reference was added in bug 1735359 which landed at the same time as bug 1698112

Differential Revision: https://phabricator.services.mozilla.com/D129219
2021-10-21 23:41:24 +00:00
Nan Jiang 95a6e15109 Bug 1729474 - Add context_id to deletion.request scalar r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D128658
2021-10-21 23:03:49 +00:00
Geoff Lankow 58b170669d Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D128974
2021-10-21 21:54:52 +00:00
Narcis Beleuzu d9da4a1ac6 Backed out changeset bd57366e61d8 (bug 1732219) for bc failures on browser_bad_meta_tags.js. CLOSED TREE 2021-10-22 00:46:39 +03:00
Gabriel Luong 4f70f62317 Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-21 18:48:49 +00:00
Marian-Vasile Laza 1dc992b64f Backed out changeset f8ed785eea6d (bug 1734128) for causing bc failures on browser_ext_themes_tab_line.js. 2021-10-21 22:21:33 +03:00
Niklas Baumgardner 25d5bcddbd Bug 1734910 - Toggle screenshots UI for screenshots component. r=sfoster
This patch removes the disabled state from the screenshots button when the screenshots ui is activated. The button now works as a toggle to activate and deactivate the screenshots ui.
The screenshots button is still disabled on about pages.
For this patch we only need to check if there is an open dialog box for the screenshots ui and if it is open then we close the dialog box, otherwise open a new one.

Differential Revision: https://phabricator.services.mozilla.com/D128410
2021-10-21 18:06:54 +00:00
amy churchwell d34ba1936d Bug 1734128 - Tab border irregular when scaled on Windows 10. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D128415
2021-10-21 17:35:02 +00:00
Marian-Vasile Laza 682c27c399 Backed out changeset 716295d23677 (bug 1671000) for causing mochitest failures on test_menulist_paging.xhtml. CLOSED TREE
test_menulist_paging.xhtml
2021-10-21 20:48:27 +03:00
Katherine Patenio b436694249 Bug 1476664 - fix search term tooltip for Add button in saved addresses dialog r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D129079
2021-10-21 16:33:22 +00:00
Katherine Patenio 159d6f7eeb Bug 1731086 - Add a new context menu item for setting the mimetype entry from about:preferences. r=mtigley,fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D127592
2021-10-21 16:28:42 +00:00
Dão Gottwald e66576279a Bug 1671000 - When activating items in menu popups, stay clear of overlapping scroll buttons. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D129017
2021-10-21 16:25:03 +00:00
amy churchwell bcf621c781 Bug 1735724 - Add unit test for 200 OK with empty tiles array response from Contile. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D129088
2021-10-21 15:42:01 +00:00
Emilio Cobos Álvarez 032ef88fe1 Bug 1737044 - Add an id to the content-select dropdown menupopup. r=stransky
After bug 1737012 this will show up in ListTag().

Differential Revision: https://phabricator.services.mozilla.com/D129159
2021-10-21 14:02:30 +00:00
Itiel 06f92be7c4 Bug 1736240 - Make menulists and buttons in the permissions panel have the same opacity r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D128693
2021-10-21 13:09:36 +00:00
Jon Barson cf47bf9cbf Bug 1632476 changed hostname for media permissions to include the port r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D128109
2021-10-21 11:56:35 +00:00
William Durand 0b6fe69890 Bug 1735721 - Move addons-search-detection in tree. r=rpl,florian
This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).

Summary of the changes made to the different files:

- `api.js`: added license header, reformatted with Prettier, then fixed
  ESLint errors: use of `Services.eTLD` instead of
  `XPCOMUtils.defineLazyServiceGetter(...)` and defined
  `"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
  removed debug logs because they were off by default anyway, fixed
  ESLint error: id => addonId because addonId was already defined in a
  parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();

Depends on D129019

Differential Revision: https://phabricator.services.mozilla.com/D128908
2021-10-21 11:51:06 +00:00
Luca Greco 03bea7fc78 Bug 1736825 - Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129019
2021-10-21 11:51:05 +00:00
Mark Banner ef5149b2d7 Bug 1690731 - Move Places telemetry startup to a scheduled task to ensure it runs after hanlding of user events has started. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D128711
2021-10-21 11:34:54 +00:00
Emilio Cobos Álvarez f317384568 Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
To more properly support Linux having a different default at runtime.

Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.

Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Haik Aftandilian 129adcc9a3 Bug 1730066 - Enable tab unloading on macOS r=spohl
Enable tab unloading on macOS when the OS memory pressure level reaches "critical".

Add a gtest that exercises the memory pressure response by testing that a tab unload attempt occurs and the internal memory-pressure notification is sent. Test does not cause a real OS memory pressure event.

Use the memory_pressure(1) macOS command to generate artificial memory pressure events to test the browser response. For example, the following artificially puts the OS in the "critical" memory pressure level for 60 seconds.

`$ sudo memory_pressure -S -l critical -s 60`

Differential Revision: https://phabricator.services.mozilla.com/D126560
2021-10-21 04:43:35 +00:00
Gijs Kruitbosch 8825ff5e81 Bug 1736536 - make the 'show me how' button in the session store notification bar use the primary color, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D129093
2021-10-20 23:25:53 +00:00
Toshihito Kikuchi 16a8fe4d37 Bug 1729911 - Define minInactiveDurationInMS not to unload fresh tabs. r=NeilDeakin
Tab unloading should not unload "fresh" tabs i.e. tabs that were accessed
very recently, even though one of them was the least recently used tab.

To achieve it, this patch introduces the minimum inactive duration and we
prevent tabs that were accessed in the last period of that duration from
being unloaded.

This patch sets the default value to 10 minutes based on the historgram
`TAB_UNLOAD_TO_RELOAD` where the median was 60sec and the 75th percentile
was 1040sec.  This value can be overriden by the parameter of the TabUnloader's
APIs so that about:unloads and the tests can unload those fresh tabs.

Differential Revision: https://phabricator.services.mozilla.com/D125824
2021-10-20 23:22:57 +00:00
Daisuke Akatsuka 70bea15a18 Bug 1732429: Add telemetry for urlbar handoff. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D126636
2021-10-20 22:45:40 +00:00
Gijs Kruitbosch 7ba4305a9d Bug 1730021 - fix restoring sessions that closed all tabs, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D128884
2021-10-20 21:26:06 +00:00
Jon Bauman c090a3c7b8 Bug 1735898 - Register as an AVIF handler. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D129064
2021-10-20 20:23:22 +00:00
Harry Twyford 194d32f15e Bug 1735643 - Unify Urlbar box HCM behaviour. r=desktop-theme-reviewers,dao
This patch unifies the HCM colors used in the identity box, the search mode indicator, and the zoom indicator. It uses --button-bgcolor as the default background for all these elements. It uses SelectedItem/SelectedItemText on hover and active. This is similar to what we do with in-content buttons.

Differential Revision: https://phabricator.services.mozilla.com/D128484
2021-10-20 19:27:00 +00:00