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

869144 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli e0cc765727 Backed out 4 changesets (bug 1855068, bug 1856412) for causing failures in test_SiteDataManager.js CLOSED TREE
Backed out changeset dbaf2b0da226 (bug 1856412)
Backed out changeset 8d040fd73abf (bug 1856412)
Backed out changeset 645f7ed438fb (bug 1855068)
Backed out changeset be41f5296dec (bug 1855068)
2024-01-11 03:20:27 +02:00
David 096f34a11c Bug 1669453 - Get user passwords after validating same-origin. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D198084
2024-01-10 23:31:03 +00:00
Emilio Cobos Álvarez 3a54b24c9b Bug 1872997 - [cocoa] Don't trigger mouseenter/leave events for windows that ignore mouse events. r=mac-reviewers,mstange
In the patches above, we make some tooltips (which ignore mouse events)
actually overlap the mouse. That should be fine (and is fine on other
platforms) but Cocoa still sends mouseenter/leave events which confuse
the front-end.

This fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D197905
2024-01-10 22:51:28 +00:00
Emilio Cobos Álvarez 267ec889a9 Bug 1873967 - Remove DocGroup::TryToLoadIframesInBackground. r=sefeng
This is somewhat complex, untested, never shipped, and predates
fission.

Remove it to simplify the code.

Depends on D198183

Differential Revision: https://phabricator.services.mozilla.com/D198184
2024-01-10 22:33:17 +00:00
Emilio Cobos Álvarez b132d83211 Bug 1873967 - Simplify dom_separate_event_queue_for_post_message_enabled checks. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D198183
2024-01-10 22:33:17 +00:00
John Schanck dadcb85876 Bug 1873537 - add missing fields to AuthenticatorAttestationResponse toJSON web-platform test. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D197959
2024-01-10 22:24:18 +00:00
Sam Johnson d1dacbb26c Bug 1871514 - Improve macOS control colors. r=mac-reviewers,emilio
Instead of NSColor.textColor, use NSColor.controlTextColor, which is the color observed in native controls.

When these values were originally selected in bug 517412, the system colors were the same, but they have since diverged.

Differential Revision: https://phabricator.services.mozilla.com/D197125
2024-01-10 22:22:52 +00:00
Emily McMinn b9fbafd3d9 Bug 1863022 - Render message from browser-siteProtections.js, replace messaging system telemetry, and migrate strings r=pdahiya,omc-reviewers,pbz,fluent-reviewers,flod
The protections panel message should show once when the panel is first opened; after that it will be collapsed by default and can be shown again by clicking the "info" button on the panel

Messaging system previously sent the following pings on message show, and when the "learn more" link was clicked:

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“IMPRESSION”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```
and

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“CLICK”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```

This patch replaces these pings with 'RecordEvents' telemetry on the `protectionsPopup` object:

```
33153 	security.ui.protectionspopup 	open 	protectionspopup_cfr 	impression 	{"message": "PROTECTIONS_PANEL_1"}
```
and

```
34932 	security.ui.protectionspopup 	click 	protectionspopup_cfr
```

Differential Revision: https://phabricator.services.mozilla.com/D192968
2024-01-10 22:20:05 +00:00
Mike Hommey 14b8d8e846 Bug 1873821 - Remove unused bindgen 0.66 patch. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198126
2024-01-10 22:19:07 +00:00
Glenda Leonard a9e6dfb60b Bug 1862493 - Updated based on revision reviews r=thecount,mconley
Differential Revision: https://phabricator.services.mozilla.com/D198063
2024-01-10 21:32:47 +00:00
Glenda Leonard 3bc7a178ee Bug 1862493 - Updated to account for tile positions r=thecount,mconley
Differential Revision: https://phabricator.services.mozilla.com/D197105
2024-01-10 21:32:46 +00:00
Glenda Leonard 160641663e Bug 1862493 - Added xpcshell tests r=thecount,mconley
Differential Revision: https://phabricator.services.mozilla.com/D197104
2024-01-10 21:32:46 +00:00
Glenda Leonard 1405b598ab Bug 1862493 - add more telemetry to tiles RS-761 r=thecount,mconley
Differential Revision: https://phabricator.services.mozilla.com/D197103
2024-01-10 21:32:46 +00:00
Jan Varga 8ca630b297 Bug 1871799 - Fix relevant quota clients to always use QuotaVFS for database access; r=dom-storage-reviewers,asuth
Some quota clients currently use the BaseVFS (instead of QuotaVFS) during
origin initialization which makes sense at first glance (there's no need to
track usage when temporary storage is only being initialized).
However, QuotaVFS provides other important functionality besides quota checks
which is the overridden xFullPathname method. The overridden implementation is
needed to avoid file path normalization on Windows.
This patch changes relevant quota clients to always use QuotaVFS, even during
origin initialization to take advantage of the overriden xFullPathname method.
There will be no quota checks during origin initialization just like before
because the passed directory lock id is -1. GetQuotaObject will return nullptr
in that case.

Depends on D198187

Differential Revision: https://phabricator.services.mozilla.com/D198188
2024-01-10 21:10:14 +00:00
Jan Varga c8d644cead Bug 1871799 - Allow calling QuotaManager::GetQuotaObject for unregistered directory locks; r=dom-storage-reviewers,asuth
The method now returns nullptr instead of crashing parent process when there's
no registered directory lock for given directory lock id.
Note that we don't allow arbitrary directory lock ids for unregistered
directory locks, only -1 is allowed.

Differential Revision: https://phabricator.services.mozilla.com/D198187
2024-01-10 21:10:14 +00:00
Jan Varga 014758387a Bug 1871799 - Remove redundant GetStorageConnection overload; r=dom-storage-reviewers,asuth
There are two similar GetStorageConnection overloads. The only difference is
that they use different mozIStorageService methods for database opening.
The overloads can be easilly merged into just one method, so database opening
will be done using mozIStorageService::GetDatabaseFileURL even when called
from FileSystemQuotaClient::InitOrigin.

Depends on D194519

Differential Revision: https://phabricator.services.mozilla.com/D198186
2024-01-10 21:10:14 +00:00
Jan Varga ef64423664 Bug 1871799 - Expose GetStorageConnection via FileSystemDataManager.h; r=dom-storage-reviewers,asuth
Some tests will need to create a connection to check usage when storage is not
initialized.

Differential Revision: https://phabricator.services.mozilla.com/D194519
2024-01-10 21:10:13 +00:00
Matthew Gaudet 8f7c6135a2 Bug 1871597 - Update assertions around OptimizedGetIterator fuse status r=iain
Differential Revision: https://phabricator.services.mozilla.com/D197975
2024-01-10 20:37:04 +00:00
Matthew Gaudet c02a3641c8 Bug 1871597 - Refactor array optimization checks to support future assertions r=iain
Differential Revision: https://phabricator.services.mozilla.com/D198173
2024-01-10 20:37:03 +00:00
Nicolas Chevobbe 1a6e6eb360 Bug 1871806 - [devtools] Add notice for Enter behavior in Rules view. r=devtools-reviewers,ochameau.
A link points to a blog post explaining why we made the change.
Once the notice is closed by the user, it won't be opened again.
The notice is not localized so it's easier to uplift for now; it will
be localized in a follow up.

Depends on D197897

Differential Revision: https://phabricator.services.mozilla.com/D197924
2024-01-10 19:50:30 +00:00
Cristian Tuns 649cd5a87f Backed out changeset a7a2744670a7 (bug 1860328) for causing bc failures in nsDisplayList.cpp CLOSED TREE 2024-01-10 14:50:34 -05:00
Mozilla Releng Treescript c8bacdf683 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
dsb -> 1ff975530ec2a0ec983a3d704c45c66a4fc838e8
ff -> cacc92739a84bed14698ef157da956b7afc1fd34
fr -> f7d4389232601a3555e2f333e1f07e4c8e51d2b8
gn -> f55d59a1c2b6bfa8a8a038a6a2d7179a42b33f29
hsb -> c1031ad8958cd1dbb2c3cdd2e9e90f916194119c
it -> eecb4f80e3d71c985536d9901d4673d37f7ecc5f
2024-01-10 19:09:55 +00:00
Hanna Jones 57a6cc1667 Bug 1845150 - Update notificationbox usage for heartbeat notifications r=reusable-components-reviewers,tgiles
Can be tested locally with this snippet:

```js
const { Heartbeat } = ChromeUtils.importESModule(
  "resource://normandy/lib/Heartbeat.sys.mjs"
);
new Heartbeat(window, {
    testing: true,
    flowId: "test",
    message: "This is a test message!",
    engagementButtonLabel: undefined,
    learnMoreMessage: "Learn More",
    learnMoreUrl: "https://example.org/learnmore",
});
```

Depends on D194316

Differential Revision: https://phabricator.services.mozilla.com/D194317
2024-01-10 18:55:32 +00:00
Hanna Jones fbc770514a Bug 1845150 - Update notificationbox usage for process hang notification r=reusable-components-reviewers,tgiles
Can be tested locally using this snippet (which I think I took from a test...):

```js
let addonId = "test";
let policy = new WebExtensionPolicy({
    name: "Scapegoat",
    id: addonId,
    mozExtensionHostname: Services.uuid.generateUUID().number.slice(1, -1),
    baseURL: "file:///",
    allowedOrigins: new MatchPatternSet([]),
    localizeCallback() {},
});
policy.active = true;
ProcessHangMonitor.showNotification(window, { addonId, scriptBrowser: { browsingContext: { watchedByDevTools: false }} });
```

Depends on D194315

Differential Revision: https://phabricator.services.mozilla.com/D194316
2024-01-10 18:55:31 +00:00
Hanna Jones 22243affe4 Bug 1845150 - Update notificationbox usage for crash notifications r=reusable-components-reviewers,tgiles
I've been testing locally with these snippets in the browser toolbox:

```js
const { TabCrashHandler } = ChromeUtils.importESModule("resource:///modules/ContentCrashHandlers.sys.mjs");
TabCrashHandler.showSubFrameNotification(gBrowser.selectedBrowser, "foo", "bar");
```

```js
const { UnsubmittedCrashHandler } = ChromeUtils.importESModule("resource:///modules/ContentCrashHandlers.sys.mjs");
UnsubmittedCrashHandler.show({ notificationId: "foo", reportIDs: [], onAction: () => {}});
```

Depends on D194314

Differential Revision: https://phabricator.services.mozilla.com/D194315
2024-01-10 18:55:31 +00:00
Hanna Jones 486ebc0ee0 Bug 1845150 - Update notificationbox usage for captive portal notification r=reusable-components-reviewers,tgiles
Can be tested locally by running this code in the browser toolbox:

```js
gBrowser.selectedBrowser.ownerGlobal.CaptivePortalWatcher._showNotification();
```

Depends on D194313

Differential Revision: https://phabricator.services.mozilla.com/D194314
2024-01-10 18:55:31 +00:00
Hanna Jones 2ad28e3831 Bug 1845150 - Update usage of notificationbox in InfoBar r=reusable-components-reviewers,tgiles
There are some tests you can run to see how this looks, but I've also been verifying things locally by running this snippet in the browser toolbox:

```js
const { InfoBar } = ChromeUtils.import(
  "resource://activity-stream/lib/InfoBar.jsm"
);
const { CFRMessageProvider } = ChromeUtils.importESModule(
  "resource://activity-stream/lib/CFRMessageProvider.sys.mjs"
);
let message = (await CFRMessageProvider.getMessages()).find(
	m => m.id === "INFOBAR_ACTION_86"
);
InfoBar.showInfoBarMessage(
    BrowserWindowTracker.getTopWindow().gBrowser.selectedBrowser,
    {
      ...message,
      content: {
        priority: window.gNotificationBox.PRIORITY_WARNING_HIGH,
        ...message.content,
      },
    },
    {}
);
```

Depends on D194312

Differential Revision: https://phabricator.services.mozilla.com/D194313
2024-01-10 18:55:30 +00:00
Hanna Jones 1cd9e53b6b Bug 1845150 - Update notificationbox usage for search engine removal notification r=search-reviewers,fluent-reviewers,Standard8,bolsson
Notification can be triggered locally via this snippet:

```js
BrowserSearch.removalOfSearchEngineNotificationBox("Google", "Foogle")
```

Depends on D189872

Differential Revision: https://phabricator.services.mozilla.com/D194312
2024-01-10 18:55:30 +00:00
Hanna Jones 614f900ec6 Bug 1845150 - Use moz-message-bar instead of message-bar in notificationbox.js r=webdriver-reviewers,desktop-theme-reviewers,media-playback-reviewers,karlt,whimboo,tgiles,dao,devtools-reviewers
This patch updates the `NotificationMessage` element in `notificationbox.js` so that it extends our newer `moz-message-bar` component instead of the deprecated `message-bar` component. Many of the changes are just dealing with the implications of making things async (so that we can ensure `moz-message-bar.mjs` gets imported). I tried to break out places where I modified related code and tests into separate patches to mitigate some of the review pain here.

This patch solves a longstanding issue where we were loading `in-content/common-shared.css` in the chrome since it gets used by the `message-bar` element. It also makes some small visual changes to our infobars (slight outline, icon colors, adds a bit of spacing).

Differential Revision: https://phabricator.services.mozilla.com/D189872
2024-01-10 18:55:29 +00:00
Charlie 9c1d13a6a6 Bug 1873547 - update updateRecipes to sort recipes by publishedDate. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D197974
2024-01-10 18:55:22 +00:00
Jeff Muizelaar a1ee18724c Bug 1853986. Let "Don't translate new lines for IME" ride to release. r=masayuki
This is a minimal version. The corresponding code cleanup will
be done in a follow up.

Differential Revision: https://phabricator.services.mozilla.com/D198045
2024-01-10 18:53:21 +00:00
Kelsey Gilbert 90780eb126 Bug 1864587 - [angle] Vendor mozilla/angle/firefox-123. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D197552
2024-01-10 18:51:33 +00:00
mcheang a34314823d Bug 1873788 - Fix bookmark keyword and alias search switching to default engine search when restrict symbols are at the end of the search string. r=mak
This patch does not fix the ? symbol at the end. That fix will be in Bug 1667639.

Differential Revision: https://phabricator.services.mozilla.com/D198102
2024-01-10 18:23:40 +00:00
Cristian Tuns ca11b92b18 Backed out 3 changesets (bug 1873688) for causing puppeteer failures in evaluation.spec.js CLOSED TREE
Backed out changeset 1cd3cffeda1b (bug 1873688)
Backed out changeset 56de1e8849a1 (bug 1873688)
Backed out changeset 48568433ace2 (bug 1873688)
2024-01-10 13:53:37 -05:00
Cristian Tuns fb249bfedd Backed out 3 changesets (bug 1870747) for causing SM failures in CodeGenerator.cpp CLOSED TREE
Backed out changeset be7423b15b7d (bug 1870747)
Backed out changeset 8a1b27094514 (bug 1870747)
Backed out changeset a40c148875f1 (bug 1870747)
2024-01-10 13:29:23 -05:00
Jesse Schwartzentruber 03b4491aa1 Bug 1873745 - Fix Dav1d libFuzzer target r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D198177
2024-01-10 18:15:24 +00:00
Lee Salzman b538394e02 Bug 1829457 - Cache DrawTargetWebgl snapshots for fallback when context lost after minimize. r=aosmond
After a minimize, an unknown amount of time or circumstances may be involved that ultimately lead to
a GL context loss. To try to mitigate this, cache software snapshots of DrawTargetWebgls when we are
about to minimize so that these can hopefully be copied into fallback TextureDatas later if the context
is actually lost.

Differential Revision: https://phabricator.services.mozilla.com/D198129
2024-01-10 17:58:32 +00:00
Gabriele Svelto 587fdb2fd4 Bug 1869183 - Add support for scraping symbols from Alpine Linux' system libraries and Firefox builds r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D197107
2024-01-10 17:54:23 +00:00
Iain Ireland e7881dfad6 Bug 1870747: Use ABIType::Int64 for aeabi_idivmod r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D198106
2024-01-10 17:53:30 +00:00
Iain Ireland a1d8f91b61 Bug 1870747: Use ABIType instead of MoveOp::Type for callWithABI r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D198105
2024-01-10 17:53:29 +00:00
Iain Ireland 0b6ad742b7 Bug 1870747: Convert AbiArgType into an enum class r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D198104
2024-01-10 17:53:29 +00:00
Iain Ireland 71f9bf69a5 Bug 1872842: Remove outdated assertion r=nbp
As far as I can tell, this assertion was added when this function only supported two MIR ops (MGuardShape and MNewObject) to validate that we were looking at a NewObject, and was never updated as we rewrote this code.

Differential Revision: https://phabricator.services.mozilla.com/D198103
2024-01-10 17:51:10 +00:00
Jari Jalkanen 224f17e912 Bug 1872740 - Fix chaos mode performance test timeout. r=dom-storage-reviewers,janv
The amount of data is reduced in chaos mode to catch timing anomalies.
With the usual amount of data, chaos mode slowdowns do not allow the
test to pass within a reasonable timeout.

Differential Revision: https://phabricator.services.mozilla.com/D197766
2024-01-10 17:50:42 +00:00
Cristian Tuns 011bea9730 Backed out changeset 056eee9ef326 (bug 1873960) for causing multiple failures(lints and mochitest) CLOSED TREE 2024-01-10 13:00:06 -05:00
Mark Banner 0fc84c18e2 Bug 1787278 - Drop babel transpile plugins from newtab and related code. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D197884
2024-01-10 17:39:29 +00:00
Mark Banner ddaf19c5cf Bug 1873013 - Remove unused react-test-renderer from newtab's node_modules. r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D197670
2024-01-10 17:39:29 +00:00
Paul Zuehlcke f562ac8060 Bug 1873960 - Test. r=Gijs
Depends on D192370

Differential Revision: https://phabricator.services.mozilla.com/D192371
2024-01-10 17:30:10 +00:00
Sean Feng 702206b12c Bug 1860328 - Fix a bug where caret misses when dragging and dropping r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D192377
2024-01-10 17:03:38 +00:00
Ryan VanderMeulen 4364cdff38 Bug 1872741 - Update mingw to upstream revision 95a2cf4b7260200c4a60f4f1d1127e72799a3541. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D197537
2024-01-10 16:50:49 +00:00
Greg Mierzwinski 5f006246ab Bug 1873928 - Modify tp6-bench test to handle toml manifest instead of ini. r=kshampur,perftest-reviewers DONTBUILD
This patch fixes the tp6-bench test to handle toml manifests instead of ini manifests. It also adds an exception when no manifests are found so that the error is clearer in the future.

Differential Revision: https://phabricator.services.mozilla.com/D198165
2024-01-10 16:50:19 +00:00