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

67583 Коммитов

Автор SHA1 Сообщение Дата
Jens Stutte 1e19379853 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
Butkovits Atila bb3fe218a4 Backed out changeset be43a81b35f9 (bug 1689953) for causing failure at test_terminator_record.js. CLOSED TREE 2021-02-27 05:03:11 +02:00
Michelle Goossens 0dcdff469a Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-27 01:19:38 +00:00
Butkovits Atila 8ff4f1ef66 Backed out changeset 06509c3fe5f4 (bug 1694415) for causing failure at test_prompt.html. CLOSED TREE 2021-02-27 04:07:48 +02:00
Tim Nguyen 5fa0e52b5f Bug 1693374 - Make common.css sidebar footer styles re-usable. r=desktop-theme-reviewers,harry,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106300
2021-02-26 22:18:44 +00:00
Micah Tigley 722fdbc00b Bug 1694415 - Show dialog titles on Windows/Linux for window-modal dialogs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106332
2021-02-26 21:40:18 +00:00
Rob Wu 43ff27ed9a Bug 1694699 - Avoid unnecessary string->URI conversions r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D106317
2021-02-26 21:34:54 +00:00
Jens Stutte f6d52040b9 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
Butkovits Atila 961b11bc3b Backed out changeset a2091ee84e0e (bug 1692339) for causing failures at browser_contextmenu_keyword.js. CLOSED TREE 2021-02-27 01:23:52 +02:00
Michelle Goossens 78395cc0e6 Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-26 20:04:29 +00:00
Agi Sferro 3b0e7a3659 Bug 1695056 - Don't provide details info about mobile networks. r=valentin,esawin,mixedpuppy
Since Android 11, READ_PHONE_STATE is required to get detailed information
about mobile networks. Since we don't actually use this information anywhere
right now, we just won't provide it isntead of adding a new permission.

Differential Revision: https://phabricator.services.mozilla.com/D106557
2021-02-26 18:43:40 +00:00
Butkovits Atila f64a8e2f9f Backed out changeset d146eb93b6d0 (bug 1693374) for causing failures at browser_interaction_telemetry.js. CLOSED TREE 2021-02-26 21:32:25 +02:00
Tim Nguyen 63b3b5e5ca Bug 1693374 - Make common.css sidebar footer styles re-usable. r=desktop-theme-reviewers,harry,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106300
2021-02-26 17:44:32 +00:00
Emilio Cobos Álvarez 5d93fdcb68 Bug 1694846 - Renew some print telemetry probes. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D106468
2021-02-26 16:18:51 +00:00
Neil Deakin f66ba76299 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-26 13:43:10 +00:00
Florian Quèze d757a74338 Bug 1695025 - Enable long about:processes lines to continue into empty cells, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D106527
2021-02-26 11:41:48 +00:00
Simon Giesecke a47a075987 Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/perfmonitoring. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D106114
2021-02-26 11:36:40 +00:00
Andrei Oprea 02fda47fbd Bug 1694474 - Add documentation on how to transition from prefs to ExperimentFeature r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D106275
2021-02-26 11:01:20 +00:00
Paul Zuehlcke d69fac75b0 Bug 1680066 - Fall back to window prompts for webextension sidebar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106513
2021-02-26 10:31:25 +00:00
Simon Giesecke 0b443059fd Bug 1693306 - Simplify some uses of LookupOrInsertWith by GetOrInsertNew. r=xpcom-reviewers,necko-reviewers,dragana,nika
Differential Revision: https://phabricator.services.mozilla.com/D105479
2021-02-26 09:22:54 +00:00
Simon Giesecke 9af107a839 Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.

Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00
Simon Giesecke 4f75368dcb Bug 1691913 - Rename nsBaseHashtable::GetOrInsert(With) to LookupOrInsert(With). r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
The functions should be called "Lookup" rather than "Get" because they return
a DataType& (rather than UserDataType).

Differential Revision: https://phabricator.services.mozilla.com/D105472
2021-02-26 09:11:45 +00:00
Mike Conley d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Adam Gashlin df369cbfb7 Bug 1685213 - Part 5: Report taskbar pin status. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106348
2021-02-25 23:15:48 +00:00
Adam Gashlin fc0cc700f9 Bug 1685213 - Part 3: Record launch method telemetry. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106345
2021-02-25 23:15:47 +00:00
Adam Gashlin 37c29fd026 Bug 1685213 - Part 1: Save and access the startup shortcut. r=bytesized
A. The shell provides the startup shortcut in STARTUPINFOW when it
starts a process. If the launcher process runs, we must pass this along
to the real process being created.

B. lpTitle can be overwritten, in particular when the AUMID is set for
WinTaskbar, so save it in XREMain::XRE_mainStartup() in order to access
it later.

C. Add an accessor for the saved shortcut.

Differential Revision: https://phabricator.services.mozilla.com/D106343
2021-02-25 23:15:46 +00:00
Florian Quèze c79a006552 Bug 1541571 - Breakpad threads should have names, r=gsvelto.
Differential Revision: https://phabricator.services.mozilla.com/D106417
2021-02-25 22:42:50 +00:00
andreipetcu 5323d9fe45 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 22:39:08 +00:00
Bogdan Tara f1229ce794 Backed out changeset 03b2f2ca0d28 (bug 1649940) for mochitest failures complaining about import-details-row CLOSED TREE 2021-02-25 23:21:03 +02:00
Jared Wein 5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
Oliver Pope 348505d448 Bug 1676569 - Avoid calling requestIdleCallback when contentWindow is not available r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D103536
2021-02-25 20:24:05 +00:00
andreipetcu 14b0e1db94 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 20:06:32 +00:00
Cosmin Sabou 253c39a17a Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00
Emilio Cobos Álvarez c24f9921f2 Bug 1694413 - Account for panel animations in the test.
MANUAL PUSH: Avoids orange on OSX on a CLOSED TREE.
2021-02-25 16:57:42 +01:00
Bob Owen be799e35a1 Bug 1692894 p1: Don't create devices for canvas when remote canvas is in use. r=jrmuizel
This also adds related DLLs to be delay loaded to xul's moz.build. This means
that if we don't create the devices they are not loaded at all.

Differential Revision: https://phabricator.services.mozilla.com/D105630
2021-02-25 15:10:57 +00:00
Emilio Cobos Álvarez 8743599d19 Bug 1676078 - Try to fix and re-enable test_datepicker_keyboard_open. r=Gijs
Now that we have a saner setup for popup hiding / showing.

Differential Revision: https://phabricator.services.mozilla.com/D106474
2021-02-25 14:30:34 +00:00
Emilio Cobos Álvarez fe58c377b3 Bug 1694413 - Use hidePopup rather than the hidden attribute to hide datetime picker. r=Gijs
On macos re-showing it without using `hidden` can cause, apparently,
extra popuphidden events. Let's do the right thing and close the popup
properly using hidePopup().

This code wasn't being hit before bug 1339380 because we relied on the
parent side to hide it, which did correctly fire the events.

Differential Revision: https://phabricator.services.mozilla.com/D106431
2021-02-25 14:13:14 +00:00
Neil Deakin 86db2fec08 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-25 12:00:39 +00:00
Drew Willcoxon 5c28daf615 Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-25 06:21:32 +00:00
Drew Willcoxon da79f59395 Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-25 06:21:30 +00:00
Csoregi Natalia bfcf41eb69 Backed out 2 changesets (bug 1693927, bug 1693126) as requested. CLOSED TREE
Backed out changeset f49147a4544b (bug 1693126)
Backed out changeset 8bb5bc9c97b2 (bug 1693927)
2021-02-25 05:08:26 +02:00
Matthew Gregan 9388fa1057 Bug 1694777 - Update audioipc to 8fb5ff19. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-25 03:02:18 +00:00
Drew Willcoxon e679f2cf3f Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-25 02:52:04 +00:00
Drew Willcoxon da5fd2c2bb Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-25 02:52:04 +00:00
Micah Tigley ff65d58651 Bug 1690569 - Add Share item to the tab context menu on Windows and macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104558
2021-02-25 02:51:03 +00:00
Daisuke Akatsuka 38c80d2f1d Bug 897954: Add a test for purging caches. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105589
2021-02-25 01:58:24 +00:00
Daisuke Akatsuka 7e58e85147 Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 01:58:24 +00:00
Daisuke Akatsuka c0e2db0631 Bug 897954: Implement and apply purge-caches mechanism. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105440
2021-02-25 01:58:23 +00:00
smolnar 8a82d9ec16 Backed out 3 changesets (bug 897954) for causing node test failures in PlacesFeed. CLOSED TREE
Backed out changeset 0a60eb3f7ba8 (bug 897954)
Backed out changeset 9443814d173b (bug 897954)
Backed out changeset 2e558ac8e419 (bug 897954)
2021-02-25 03:21:58 +02:00
Anny Gakhokidze 2d53089228 Bug 1693946 - Null check the browsing context ready callback in nsOpenWindowInfo, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D106331
2021-02-25 00:42:40 +00:00