Commit Graph

824039 Commits

Author SHA1 Message Date
Ben Hearsum
9940e5a1ee Bug 1804900: Update browser/components/uitour/test/browser_UITour.js expectations for MSIX builds r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D164670
2022-12-15 00:45:14 +00:00
Ben Hearsum
e55ef16578 Bug 1804899: browser/components/newtab/test/browser/browser_aboutwelcome_rtamo.js fails against MSIX packages r=pdahiya
Return-to-AMO is not supported in MSIX builds (yet, anyways) - and this test fails when run against them.

Differential Revision: https://phabricator.services.mozilla.com/D164669
2022-12-15 00:45:14 +00:00
Ben Hearsum
862e8cab8c Bug 1804898: update toolkit/components/normandy/test/browser/browser_ClientEnvironment.js expectations for MSIX builds r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D164668
2022-12-15 00:45:14 +00:00
Ben Hearsum
5cafb3c923 Bug 1804896: don't run update related tests against msix packages r=bytesized,application-update-reviewers
We don't use our updater in MSIX, no need to run the tests (which break various ways anyways).

Differential Revision: https://phabricator.services.mozilla.com/D164667
2022-12-15 00:45:13 +00:00
Ben Hearsum
4764cf4239 Bug 1804894: Don't write postSigningData in MSIX builds r=nalexander
This is only done by the Return-to-AMO flow, which is not supported in MSIX anyways.

Also, disable the RTAMO test for MSIX builds while we're here.

Differential Revision: https://phabricator.services.mozilla.com/D164666
2022-12-15 00:45:13 +00:00
Ben Hearsum
0d82195be6 Bug 1712329: Add support for not running tests by msix variant r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D164665
2022-12-15 00:45:12 +00:00
Timothy Nikkel
f9d4662dba Bug 1801397. Render questionable 1x1 gifs with no image data like other clients. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D162450
2022-12-15 00:41:56 +00:00
Emily McDonough
9d851b65c0 Bug 1804571 - Fix missing page-name trackers for Ruby frames r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D164622
2022-12-14 23:16:05 +00:00
Kelsey Gilbert
6d120d162b Bug 1805626 - Query vert attrib buffer binding directly. r=gfx-reviewers,lsalzman
Previously we were querying the current ARRAY_BUFFER_BINDING, which
would fail if you did:
```
BindBuffer(ARRAY_BUFFER, a)
VertexAttribPointer(...)
BindBuffer(ARRAY_BUFFER, b)
```
We would assume we should call VeretxAttribPointer again with `b` bound,
when we need to bind `a` instead.

Unfortunately, this is hard to test, and we only hit this on drivers
where we don't use VAOs, which are rare now.

Differential Revision: https://phabricator.services.mozilla.com/D164744
2022-12-14 23:08:41 +00:00
Csoregi Natalia
ffeed88c2a Backed out changeset e6becf16d643 (bug 1788306) for causing bustage on UniFFICallbacks.cpp. CLOSED TREE 2022-12-15 01:16:12 +02:00
William Durand
3da94170fc Bug 1437171 - Add Web MIDI support in navigator.permissions.query(). r=webidl,smaug,pbz
Differential Revision: https://phabricator.services.mozilla.com/D164036
2022-12-14 22:20:37 +00:00
M. Sirringhaus
db3704f6f6 Bug 1621377 - Return NotAllowedError instead of AbortError when user cancels WebAuthn operation from UI. r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D164645
2022-12-14 22:11:50 +00:00
Bobby Holley
fb573066c8 Bug 1805582 — Add message to console when silently denying MIDI access due to no detected devices. r=gsvelto
Our test infrastructure runs with midi.testing enabled, which generates
virtual devices. This is mostly what we want, but it does prevent us
from testing the "no devices detected" path in automation. I've tested
it locally.

Differential Revision: https://phabricator.services.mozilla.com/D164722
2022-12-14 22:04:33 +00:00
Bobby Holley
60846d8883 Bug 1805735 — When user clicks "Never Allow" for WebMIDI access, promise rejection should include randomized delay. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D164721
2022-12-14 22:04:33 +00:00
Iulian Moraru
9a68bda010 Backed out changeset 370f2bb05766 (bug 1800952) for causing mass build bustages on ServoCSSPropList.mako.py. CLOSED TREE 2022-12-15 00:43:58 +02:00
Jonathan Watt
c89f281f5e Bug 1805716 - Stop overwriting the print settings passed to nsIPrintDialogService::showPrintDialog with saved prefs. r=dholbert
Nowadays, only the frontend code should pre-populate the nsIPrintSettings
objects with saved prefs (before passing them those objects to platform code).
We removed the InitPrintSettingsFromPrefs calls from the Windows and Linux
native dialog code, but apparently not the macOS code.

Differential Revision: https://phabricator.services.mozilla.com/D164709
2022-12-14 21:58:17 +00:00
Ben Hearsum
bf4e48f79c Bug 1712329: improve manifestparser error messages r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D164743
2022-12-14 21:52:56 +00:00
Ben Dean-Kawamura
22d5d42244 Bug 1788306: UniFFI callback interfaces, r=nika
Started callback interface functionality to UniFFI.  Currently this only
supports the async fire-and-forget use case, where Rust queues a JS
function to run, but doesn't wait (or `await`) for the response.

The basic system is:

  - The JS code registers a callback interface handler with the C++
    code.  This handler is responsible for the specifics of invoking the
    callback.
  - The C++ code defines a function to call a JS handler.  Once the JS
    handler registers itself with C++, the C++ registers it's function
    with Rust.
  - The C++ code queues the call to the JS main thread.
  - Because of how UniFFI handles callback interfaces, the C++ code can
    be "dumb".  UniFFI sends a object id, method id, and RustBuffer
    encoding all arguments.  This means C++ doesn't need to care about
    the specific arguments, they get unpacked by JS.

I tried to keep the generated code as simple as possible by moving the
complexity to static code.  For JS this meant writing a generic
`UniFFICallbackHandler` class in the static code that the generated code
constructs.  For C++ this meant the generated code defines a
`UniFFIGetCallbackInterfaceInfo` function that returns a struct with all
the data specific to a callback interface (it's name, the UniFFI
scaffolding init function, etc).  The static code can then define a
generic `QueueCallback` function that looks up the callback interface
info using the interface ID and then makes the call.

Allow UniFFI functions to run on the main thread rather than always
being dispatched to a worker thread.  This allows us to test invoking
callback interfaces from the main thread thread. I don't think we will
use this much currently, since we don't want to block the main thread
for any significant amount of time. However, this will pair well with
the next step in the project which is async -- allowing async Rust
functions to call async JS functions. In that scenario, dispatching to
the worker thread is unnecessary.

Callback interface objects present a potential memory leak, since you
can easily create a cycle between a JS Callback object and a UniFFIed
Rust object, and the GC has no way of detecting it.  To try to detect
these there's some shutdown code that checks that there are no callbacks
registered during shutdown and prevents any future callbacks from being
registered.

Added a `config.toml` file and code to parse it.  This is needed to
specify which functions should run on the main thread.

Updated the git commits for the several UniFFI examples/fixtures.

Differential Revision: https://phabricator.services.mozilla.com/D156116
2022-12-14 21:50:23 +00:00
prathikshaprasadsuman
5bc6164795 Bug 1789533 - Improve title text (tooltips) experience in Firefox View. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D164460
2022-12-14 21:39:00 +00:00
Oriol Brufau
7f26be9e72 Bug 1800952 - Compute column-rule-width to 0 when column-rule-style is none. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164549
2022-12-14 21:22:02 +00:00
Paul Zuehlcke
476777332b Bug 1797094 - Disable click result telemetry on linux. r=timhuang
Depends on D164111

Differential Revision: https://phabricator.services.mozilla.com/D164664
2022-12-14 20:58:16 +00:00
Paul Zuehlcke
0f4421f3ef Bug 1797094 - Clean up banner clicking telemetry state on failure. r=timhuang
This is to avoid failing subsequent tests in case of a test failure.

Differential Revision: https://phabricator.services.mozilla.com/D164111
2022-12-14 20:58:15 +00:00
Ting-Yu Lin
e99e67b0f7 Bug 1805522 - Construct SharedFlexData for incomplete flex containers, regardless of whether they have constrained BSize. r=dholbert
This reverts part of Bug 1803486 Part 1.

The crashtest was adapted from bug 1805522 comment 0. I use wpt printing test
since window.print() doesn't work in wpt crashtest.

Differential Revision: https://phabricator.services.mozilla.com/D164635
2022-12-14 20:51:59 +00:00
Mike Kaply
e59ef6ce5c Bug 1804897 - Switch distribution.js to use prefBranch directly. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D164686
2022-12-14 19:41:58 +00:00
janvi01
59d285b010 Bug 1805154 - fix pip controls focus outline and tooltip after pressing enter r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D164638
2022-12-14 19:18:31 +00:00
Sergey Galich
af4a87427f Bug 702925 - stop deleting saved passwords when user runs History > Forget this site command r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D163903
2022-12-14 19:18:24 +00:00
Mike Conley
6b1a5484cc Bug 1805262 - Use sentence casing for the All Tabs panel. r=bigiri,flod,fluent-reviewers
As this is a capitalization change, it does not require a Fluent migration nor a
key bump for retranslation.

This patch also adds a test, and adjusts the existing test to be more flexible with
which panels it can inspect.

Differential Revision: https://phabricator.services.mozilla.com/D164480
2022-12-14 18:54:05 +00:00
Nick Alexander
8962ddabf4 Bug 1804988 - Determine toast notification tag from experiment:branch slug in backgroundTaskMessage experiments. r=barret
This commit uses a "pull" approach, where the experiment details are
fished at presentation-time and the content `tag` updated.

A few notes:

- With this approach, the update function is pushed down to the leaf
  node (the toast notification presentation layer).  It would be nice to
  do this at the experiment layer, but that layer doesn't resolve the
  presentation layer at this time, so it would perhaps violate the
  abstraction to lift the work higher.

- No effort has been made to mark `tag` as invalid in the messaging
  experiment schemas.  At this time, there's no provision for fields
  accepted at the presentation layer (`ToastNotification.schema.json`)
  but not at the experiment layer aggregating
  presentations (`BackgroundTaskMessagingExperiment.schema.json`,
  `MessagingExperiment.schema.json`).  It's likely possible to arrange
  this but not worth the effort at this time.

- The actual tag displayed is not captured in the message as it flows
  through ASRouter.  This is not likely to pose a problem.

- The actual tag displayed might be `optin-...`, potentially
  complicating data analysis.  Since it's essentially impossible for
  regular users to opt-in to _background task_ messages, that's not a
  pressing concern.

Differential Revision: https://phabricator.services.mozilla.com/D164508
2022-12-14 18:52:34 +00:00
Meg Viar
7b45aefbdd Bug 1804892 - Do not show the Firefox View tour Spotlight if CFRs are disabled r=hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D164612
2022-12-14 18:37:48 +00:00
Jon Coppeard
05d4a67337 Bug 1805457 - Don't trace Wasm instance's object_ edge more than once r=sfink
Previously this traced wasm::Instance's object_ edge when it needed to trace
the WasmInstanceObject. That was kind of wrong but it worked except for the
fact that it meant that this edge could be traced from different threads at the
same time during compacting (and probably in parallel marking too).

It's clearer to get the object and trace that if that is what is required.

I removed the comment from Instance::tracePrivate because it makes it sound
like you can get away without tracing every edge if there's some justification.
This is potentially confusing. All edges must be traced.

Differential Revision: https://phabricator.services.mozilla.com/D164641
2022-12-14 18:30:51 +00:00
Jon Coppeard
00bb28d64e Bug 1805631 - Don't update array buffer view object's data pointer if it hasn't changed r=sfink
Along the same lines as recent changes, it is unnecessary to update this if it
hasn't changed and it can cause a data race when during parallel marking.

Differential Revision: https://phabricator.services.mozilla.com/D164647
2022-12-14 18:28:04 +00:00
Morgan Rae Reschenberg
9bb1925772 Bug 1802386: If we can't find a PresContext or the root PresContext, bail out of WillRefresh r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D164270
2022-12-14 18:26:19 +00:00
Tom Schuster
a93e3a2add Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato
UI support on Windows and Linux. macOS and Android are not supported.

Differential Revision: https://phabricator.services.mozilla.com/D163796
2022-12-14 18:17:59 +00:00
Emilio Cobos Álvarez
d3e3ee5bb1 Bug 1776981 - Wait for content transforms in test_pseudoelement_state.html for xorigin tests. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D164563
2022-12-14 18:49:29 +00:00
Tomislav Jovanovic
8d08b80dcd Bug 1798695 - Use WebExtensionPolicy to get list of active extensions r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D162570
2022-12-14 17:56:29 +00:00
Csoregi Natalia
bfc8cd0834 Backed out changeset c92d26145221 (bug 1769635) for causing assertion failures HttpBaseChannel.h. CLOSED TREE 2022-12-14 22:35:20 +02:00
Iulian Moraru
4a67cb0362 Backed out changeset 088a627e5772 (bug 1805143) as per Alexandru Ionescu's request. CLOSED TREE 2022-12-14 20:38:58 +02:00
Mozilla Releng Treescript
7a5def08ee no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 09985a16295472fa60935eda166518ed9994610b
fr -> d7121f7877b9177fec4eb99504888196383d9fd4
fy-NL -> e19ce64f9d497fc5f28f475eaa20358d3fc29d76
hy-AM -> 5d389c4bff47a6f32e73cca43c59232db325fbae
it -> c9a1a267e78566a0369b677796b6f3d308f97ce8
ka -> fc75f807af83164d0f2dd1f95e50326db513c18e
lo -> 546483e7d814e0ce3150986670647457c48c3816
pt-PT -> 22fcddcd513ffa4107479fe2a949b96b9bbc9139
sl -> 63e10b234958230687e7b7456c13c3a4417632d7
2022-12-14 18:57:09 +00:00
Andrew Osmond
b8b20f1afe Bug 1798591. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D163295
2022-12-14 17:50:54 +00:00
Dana Keeler
6b4c2ff29f Bug 1805234 - provide FuzzySecurityInfo for FuzzySocketControl r=jschanck,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164620
2022-12-14 17:33:58 +00:00
Noemi Erli
32e3cc6311 Backed out changeset 5c04131a0427 (bug 1800952) for causing build bustages in ServoCSSPropList CLOSED TREE 2022-12-14 18:52:47 +02:00
Oriol Brufau
726571b313 Bug 1800952 - Compute column-rule-width to 0 when column-rule-style is none. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164549
2022-12-14 16:40:41 +00:00
Michael Froman
767e43ff9d Bug 1805697 - add git rebase conflict detection to fast-forward-libwebrtc.sh r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164695
2022-12-14 16:39:25 +00:00
Jonathan Kew
64df3d06dc Bug 1803059 - Remove obsolete patch files from gfx/cairo, and create patch files to record locally-applied fixes. r=gfx-reviewers,lsalzman DONTBUILD
When we did the major cairo update in bug 739096, most of our old patch files were superseded
and no longer relevant, but I failed to clean them up at the time. So here, we remove all the
old patch files, and create new ones just for the fixes we've applied on top of the new code
from upstream.

I've omitted patch files for fixes that I am aware have already landed upstream, as those will
automatically be included in any future update we take. (It's possible more of the new patch
files will also be obsolete by the time we try pulling a new version, but at least they should
provide a starting point.)

Differential Revision: https://phabricator.services.mozilla.com/D164680
2022-12-14 16:18:01 +00:00
Meg Viar
0106dc3610 Bug 1805387 - On Firefox locales with long strings the title of the PDF callout message overlaps with the X button r=jprickett
Move the dismiss button in Feature Callouts so it cannot overlap the title of the message.

Differential Revision: https://phabricator.services.mozilla.com/D164607
2022-12-14 16:17:01 +00:00
Myeongjun Go
cd1efaa98c Bug 1799184 - Add a flag for single-run pushes without comparisons r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D164339
2022-12-14 16:08:35 +00:00
Denis Palmeiro
43e980ac99 Bug 1805671: Update jitdump documentation with additional call graph collection details. r=jrmuizel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D164676
2022-12-14 16:01:09 +00:00
yoenzhang
1f13f08c6e Bug 1801973 Remove Colorways Specific messages and targeting attributes r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D163342
2022-12-14 15:57:30 +00:00
Joshua Marshall
0c31096f34 Bug 1498259 - Remove ClassifierDummyChannel hack r=dom-worker-reviewers,necko-reviewers,asuth,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D164222
2022-12-14 15:55:38 +00:00
Cristian Tuns
da50134a78 Backed out changeset d647be139836 (bug 1798591) for causing build bustages on FontFaceSetImpl.cpp CLOSED TREE 2022-12-14 10:26:07 -05:00