Commit Graph

763969 Commits

Author SHA1 Message Date
Agi Sferro
6e06d728d2 Bug 1718341 - Run instrumented build on x86_64. r=aklotz,glandium
The ARM emulator images have very poor support and haven't been updated for a
long time.

Normally x86_64 images need KVM acceleration which is not available on build
machines (see Bug 1545497). We can work around this by starting the emulator
with the command line |--no-accel|.

Differential Revision: https://phabricator.services.mozilla.com/D119223
2021-07-20 22:19:13 +00:00
Agi Sferro
05486b27b3 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-20 22:19:13 +00:00
Agi Sferro
d38faa5bde Bug 1718341 - Rename androidx86_7_0.py to android-x86_64. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119219
2021-07-20 22:19:13 +00:00
Cosmin Sabou
6b427ca596 Backed out changeset 5a673b05aea0 (bug 1713827) for bc failures on browser_contentSearchUI_default.js. CLOSED TREE 2021-07-21 01:06:27 +03:00
Cosmin Sabou
84b8cec8b2 Backed out 7 changesets (bug 1717645, bug 1717051, bug 1720215) for busting the gecko decision task. CLOSED TREE DONTBUILD
Backed out changeset dbdd100c60d0 (bug 1717051)
Backed out changeset 4f32438176a0 (bug 1717051)
Backed out changeset 6597db537fa2 (bug 1717051)
Backed out changeset cc686ee3fb6e (bug 1720215)
Backed out changeset 82dc0771b98b (bug 1717645)
Backed out changeset 16b0fb30aff2 (bug 1717645)
Backed out changeset 370e02f73923 (bug 1717645)
2021-07-21 00:59:41 +03:00
Mitchell Hentges
ffaaa6b319 Bug 1717051: Move global mach dependencies to requirements definition r=ahal
After removing `optional` in Bug 1712804, we need to add a variant back
here because there's fallible dependencies. However, I've tweaked the
re-introduction of the feature to require a specific repercussion
message as well. This seemed like a decent tradeoff - the developer
becomes aware that the failure is bad, it has repercussions, but it's
not a blocking issue. Additionally, since we're printing pip's output,
the developer will be able to see the underlying error causing the
warning.

I also added comment functionality to requirements definitions to allow
adjacent documentation of why some requirements are fallible. (Related:
I'm looking forward to `mach_bootstrap` not needing to parse
requirements definitions. Almost there!)

Note that we'll temporarily lose the "pinned" nature of the
three moved dependencies until dependency locking is implemented
for Mach requirements definitions. Also note that the pinned
`zstandard_requirements.txt` can't be removed like the other
files because it still has a dangling usage.

Finally, in preparation for review: I didn't make
`PypiOptionalSpecifier` extend `PypiSpecifier` because I figured that
the benefit of flexibility (easier to allow implementations to diverge
without needing to untangle an inheritance relationship) was larger than
the cost of needing to add properties to both specifiers.
If we wanted re-use, I'd probably have `PypiOptionalSpecifier` _contain_
 a `PypiSpecifier`, but then you have to reach deeper into the object to
 get data, so *shrug*.

Differential Revision: https://phabricator.services.mozilla.com/D119835
2021-07-20 21:42:04 +00:00
Mitchell Hentges
16b857cec1 Bug 1717051: Only use stdlib for installing pip packages r=ahal
`_install_pip_package()` may be run from `populate()`, which
is invoked from a child Python process that doesn't
have in-tree Python modules in its sys.path.

An alternate solution would be to add in-tree modules
to the sys.path, but that seemed more costly than
simply using `tempfile` and `shutil`.

Differential Revision: https://phabricator.services.mozilla.com/D119834
2021-07-20 21:42:03 +00:00
Mitchell Hentges
ff3f9b87f4 Bug 1717051: Remove obsolete python module paths r=ahal
The three removed paths don't exist in-repo, and after a cursory glance
they don't appear to be populated dynamically.

Note that the removal of the `six` path for WPT is different: it's
technically just incorrect, and should amended to point to
`$WPT/tools/third_party/six`. However, Python only allows a single
instance of a library to exist in import scope, and we're already
consuming `six` from the Firefox-wide vendored 3rd-party libs.

Differential Revision: https://phabricator.services.mozilla.com/D119825
2021-07-20 21:42:03 +00:00
Mitchell Hentges
82436a7373 Bug 1720215: Remove MACOSX_DEPLOYMENT_TARGET virtualenv workaround r=firefox-build-system-reviewers,andi
Now that the upstream Python bug has been resolved since Python 3.4 (at
the latest), we can safely remove the environment variable workaround.

Differential Revision: https://phabricator.services.mozilla.com/D119687
2021-07-20 21:42:03 +00:00
Mitchell Hentges
9b2d50e981 Bug 1717645: Fix up_to_date for Python 3.6 r=ahal
Python 3.6 doesn't support the `capture_output` option, so use
`stdout=subprocess.PIPE` instead.

Differential Revision: https://phabricator.services.mozilla.com/D120027
2021-07-20 21:42:02 +00:00
Mitchell Hentges
c12ca0aff6 Bug 1717645: Check virtualenv pths are up-to-date r=ahal
It's possible for a virtualenv to have an incorrect list of directories
to add to the sys.path, such as the following cases:
* Its creation got cancelled halfway through
* The list of pths changed in a new revision
* It got modified by an external tool

By validating the list of provided pths against the list of required
pths, we can ensure that the virtualenv is more dependably up-to-date.

Differential Revision: https://phabricator.services.mozilla.com/D119686
2021-07-20 21:42:02 +00:00
Mitchell Hentges
6e4b9c1e3b Bug 1717645: Resolve nested virtualenv requirements up-front r=ahal
This simplifies consumer logic, since they get the parsed list of pypi
and pth requirements, as well as the list of input files that were
parsed.

One benefit of this simplification is that we no longer
recursively create VirtualenvManagers.

Note that mach_bootstrap cannot (yet) take advantage
of `ParseMachEnvRequirements` because of a dependency cycle:
* `mach_bootstrap` must set up the `sys.path` to import
  `ParseMachEnvRequirements`.
* `mach_bootstrap` would want `ParseMachEnvRequirements` to
  determine which paths to add to the `sys.path`.

Differential Revision: https://phabricator.services.mozilla.com/D119685
2021-07-20 21:42:01 +00:00
Jeff Muizelaar
6edd219c43 Bug 1721484 - qcms: Fix extra space. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D120395
2021-07-20 21:36:45 +00:00
Jeff Muizelaar
ad5985aca6 Bug 1721483 - qcms: Remove unneeded vim modelines. r=aosmond
These were inherited from the C code and are wrong and unneeded in
Rust.

Differential Revision: https://phabricator.services.mozilla.com/D120394
2021-07-20 21:36:18 +00:00
Jeff Muizelaar
2ed71226c3 Bug 1697818 - Drop handrolled NEON SIMD wrappers. r=aosmond
We require Rust 1.50 now which is new enough to not need these
wrappers anymore.

Differential Revision: https://phabricator.services.mozilla.com/D108337
2021-07-20 21:29:01 +00:00
Harry Twyford
cd2b8c89b0 Bug 1713827 - Hand off to search mode if searching is disabled in the Urlbar. r=amy,Standard8,flod
This patch also addresses bug 1645293. It essentially reverts parts 1 and 3 of bug 1616700 for users with searching disabled. Since we had to introduce branching behaviour, there are some new constructs like a shouldHandOffToSearchMode multi-pref in UrlbarPrefs.

Differential Revision: https://phabricator.services.mozilla.com/D118606
2021-07-20 21:25:10 +00:00
Barret Rennie
b09836e3a7 Bug 1721472 - Correctly return whether or not we are in an SSH connection r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D120393
2021-07-20 21:13:17 +00:00
Boris Chiou
e1c99a968b Bug 1599176 - Use sequence for borderBoxSize and contentBoxSize in ResizeObserverEntry. r=smaug,dholbert
Based on the spec, we should use FrozenArray for these two attributes.
However, we don't support FrozenArray in Gecko now, so use sequence.

spec: https://drafts.csswg.org/resize-observer/#resize-observer-entry-interface

Differential Revision: https://phabricator.services.mozilla.com/D120276
2021-07-20 20:45:17 +00:00
Aaron Klotz
06e47baa0c Bug 1543720: Remove wpt Android exceptions for storage-access-api; r=jgraham
Depends on D116143

Differential Revision: https://phabricator.services.mozilla.com/D120385
2021-07-20 20:28:28 +00:00
Dylan Roeh
4160392bdb Bug 1543720 - Add support for Storage Access API in GeckoView. r=aklotz,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116143
2021-07-20 20:28:28 +00:00
Jeff Muizelaar
9f6644c33d Bug 1721257 - Enable ICCv4 in Nightly and let it ride the trains on macOS. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D120270
2021-07-20 20:26:28 +00:00
Michael Cooper
8c5d5ad8f6 Bug 1719755 - Get sponsored topsites data from Contile by default r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119462
2021-07-20 20:12:40 +00:00
Emilio Cobos Álvarez
08dccdd536 Bug 1721347 - Add OS theme info to about:support. r=Gijs,fluent-reviewers
I'm not sure what information would be useful in other OSes, so ifdef
the row for GTK for now, but I made this trivial to show in Windows /
macOS / Android as soon as they return useful information.

Differential Revision: https://phabricator.services.mozilla.com/D120331
2021-07-20 20:09:09 +00:00
Mike Conley
6614151417 Bug 1720611 - Remove FX_PICTURE_IN_PICTURE_WINDOW_OPEN_DURATION probe. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D120346
2021-07-20 19:40:41 +00:00
moz-wptsync-bot
7931d92e23 Bug 1721368 - [wpt-sync] Update web-platform-tests to d11611524641c4ae3bfbdc549ded99f22578ef4a, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: d11611524641c4ae3bfbdc549ded99f22578ef4a
wpt-type: landing
2021-07-20 19:18:56 +00:00
Koji Ishii
ed0a3c26b9 Bug 1721275 [wpt PR 29711] - Fix nested inline box fragmentation, a=testonly
Automatic update from web-platform-tests
Fix nested inline box fragmentation

This patch fixes when nested inline boxes are fragmented in a
line due to bidi reordering.

Before this change, the fragmented boxes are appended to the
end of |box_data_list_|. Then when |NGInlineLayoutStateStack::
CreateBoxFragments| creates inline boxes in the ascending
order of |box_data_list_|, it failed to add the fragmented
boxes into their parent inline boxes.

This is critical for out-of-flow positioned objects whose
containing block is an inline box, because they expect to be
propagated through all ancestor inline boxes.

|UpdateBoxDataFragmentRange| is a little tricky by appending
to a vector it is iterating. Changing it to insert to the
correct position makes the function even trickier. This patch
changes it to add fragmented boxes to a separate vector, and
let later process |UpdateFragmentedBoxDataEdges| to merge the
vector to |box_data_list_|.

Bug: 1229999
Change-Id: I7edcd209e1fdac06bab01b16d660383e7e9c37bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3038308
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903356}

--

wpt-commits: d11611524641c4ae3bfbdc549ded99f22578ef4a
wpt-pr: 29711
2021-07-20 19:18:56 +00:00
Timothy Gu
2b08763d1b Bug 1721302 [wpt PR 29713] - webcrypto: merge tentative BigInt test into main, a=testonly
Automatic update from web-platform-tests
webcrypto: merge tentative BigInt test into main (#29713)

--

wpt-commits: cdd0f03df41b222aed098fbbb11c6a3cc500a86b
wpt-pr: 29713
2021-07-20 19:18:55 +00:00
Glen Robertson
67c90f68c3 Bug 1721142 [wpt PR 29702] - WPT: Add a test for ignoring unrecognized members in a web app manifest, a=testonly
Automatic update from web-platform-tests
WPT: Add a test for ignoring unrecognized members in a web app manifest

This behaviour is inferred from the spec text on "processing the
manifest": https://www.w3.org/TR/appmanifest/#processing
and clarified by the non-normative text on extensibility:
https://www.w3.org/TR/appmanifest/#extensibility

Added as a more general test for the same no-required-behaviour of the
new_note_url field.

Bug: 1185678
Change-Id: Ic760c9dd473d71833e31be2ccfbde95b9c7086f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3038042
Commit-Queue: Glen Robertson <glenrob@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903346}

--

wpt-commits: 1ef33da4b7e03fc9f915701b3a4a6fef3e76c6ad
wpt-pr: 29702
2021-07-20 19:18:55 +00:00
Alexis Menard
d759a6ec04 Bug 1721245 [wpt PR 29709] - [Device Posture API] Align posture types with the specification, a=testonly
Automatic update from web-platform-tests
[Device Posture API] Align posture types with the specification

The Device Posture API specification recently updated the posture types
following the guidance from the W3C TAG. This patch align the implementation
with the current version of the spec.

Bug: 1066842
Change-Id: I876856b98f01c0e18f5fc4d9f5c24dea9c1e09ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3039518
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Alexis Menard <alexis.menard@intel.com>
Cr-Commit-Position: refs/heads/master@{#903334}

--

wpt-commits: fc086c82d5a7e9b01a684a23336d6d1f9e79e303
wpt-pr: 29709
2021-07-20 19:18:54 +00:00
moz-wptsync-bot
994475b4fb Bug 1720587 [wpt PR 29668] - Update wpt metadata, a=testonly
wpt-pr: 29668
wpt-type: metadata
2021-07-20 19:18:54 +00:00
Nate Chapin
1c94ae00c1 Bug 1720587 [wpt PR 29668] - Implement AppHistoryNavigateEvent.signal, a=testonly
Automatic update from web-platform-tests
Implement AppHistoryNavigateEvent.signal

This AbortSignal is associated with the ongoing navigation, and will
be signaled if the navigation is aborted, allowing dependent work
to listen for navigate abort.

Bug: 1183545
Change-Id: Iee841079fcc618bdb16c33875c1ac81cdc572ae7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2877951
Commit-Queue: Nate Chapin <japhet@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903222}

--

wpt-commits: 63ec4116e601cefefd4f7d0dbfff7b7824b764ec
wpt-pr: 29668
2021-07-20 19:18:53 +00:00
Guido Urdaneta
798fbc3938 Bug 1721004 [wpt PR 29696] - [BreakoutBox] Update MediaStreamTrackGenerator-video.https.html WPT, a=testonly
Automatic update from web-platform-tests
[BreakoutBox] Update MediaStreamTrackGenerator-video.https.html WPT

For a video element test, wait for the loadstart event to detect
the connection between the video element and the generator.
Also use the timeupdate event to detect the playout of the generated
frame.

Fixed: 1230283
Change-Id: Ib8e9914db97d2940db90184cc1a0c479cdd75e0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3034650
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903050}

--

wpt-commits: 0612eff99220e2c6776270e42c16c4841d85c7fb
wpt-pr: 29696
2021-07-20 19:18:53 +00:00
Aaron Krajeski
458cb6ca30 Bug 1719921 [wpt PR 29628] - Add negative and nonfinite roundrect tests for DOMPoint and DOMPointInit inputs, a=testonly
Automatic update from web-platform-tests
Add negative and nonfinite roundrect tests for DOMPoint and DOMPointInit inputs

Bug: 1193694
Change-Id: I44e2fd97e4df820dae622d5aa7adf7f2886d15ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3017051
Reviewed-by: Aaron Krajeski <aaronhk@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903027}

--

wpt-commits: 3c065a915ad2fbbadfca2157a2f8daf53d40fd42
wpt-pr: 29628
2021-07-20 19:18:53 +00:00
Emanuel Krivoy
ac2a6dc542 Bug 1719906 [wpt PR 29625] - FSA: Add AccessHandleHost, a=testonly
Automatic update from web-platform-tests
FSA: Add AccessHandleHost

This CL adds the basic scaffolding for AccessHandleHost.
AccessHandleHost allows the renderer to notify the browser when an
access handle closes. Future CLs will use this functionality to create
exclusive write locks that prevent the creation of other access handles
or writables. AccessHandleHost will also eventually own the browser
side of the file delegate when in incognito mode.

For more context on this surface and the general objective of the merger
between Storage Foundation and OPFS, check out:
https://docs.google.com/document/d/1g7ZCqZ5NdiU7oqyCpsc2iZ7rRAY1ZXO-9VoG4LfP7fM

Bug: 1218431
Change-Id: I0f804bb08da96bd978e5899b68f55cf7501935b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015198
Reviewed-by: Richard Stotz <rstz@chromium.org>
Reviewed-by: Austin Sullivan <asully@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Emanuel Krivoy <krivoy@google.com>
Cr-Commit-Position: refs/heads/master@{#902978}

--

wpt-commits: a8a36544812a1e9fa655820ae3361931c47559b7
wpt-pr: 29625
2021-07-20 19:18:52 +00:00
Chris Lord
93360e0b3d Bug 1721150 [wpt PR 29704] - Add Chris Lord as a suggested reviewer for OffscreenCanvas tests, a=testonly
Automatic update from web-platform-tests
Add Chris Lord as a suggested reviewer for OffscreenCanvas tests (#29704)

--

wpt-commits: d8899c277366e6960b0c564f76815f14dfd92cab
wpt-pr: 29704
2021-07-20 19:18:52 +00:00
moz-wptsync-bot
9fcf641093 Bug 1719853 [wpt PR 29618] - Update wpt metadata, a=testonly
wpt-pr: 29618
wpt-type: metadata
2021-07-20 19:18:51 +00:00
Ms2ger
e59ec95f7c Bug 1719853 [wpt PR 29618] - Improve tests for extra arguments to getContext()., a=testonly
Automatic update from web-platform-tests
Improve tests for extra arguments to getContext(). (#29618)

--

wpt-commits: 7f5aaca5709faad3f7cb40f79000028ddded078a
wpt-pr: 29618
2021-07-20 19:18:51 +00:00
Manuel Rego Casasnovas
99c890a510 Bug 1721116 [wpt PR 29699] - [css-ui] Added "checked" to accent-color test, a=testonly
Automatic update from web-platform-tests
[css-ui] Added "checked" to accent-color test

This test was comparing an unchecked checkbox
but you usually don't see the accent-color in that case.
This patch just marks it as "checked" so if accent-color applies
we'll see some difference.

--

wpt-commits: f9d5959e214985a0895943d8559ca62806e38ebf
wpt-pr: 29699
2021-07-20 19:18:50 +00:00
David Grogan
4785f59302 Bug 1721040 [wpt PR 29697] - [css-text] Make text-indent apply to anonymous flex and grid items, a=testonly
Automatic update from web-platform-tests
[css-text] Make text-indent apply to anonymous flex and grid items

There was a check that only allowed text-indent to apply to
anonymous blocks if they were the first child of the parent block.
That's exactly right for anonymous blocks that take part in a BFC and
surround inline content, but is overrestrictive for anonymous blocks
that take part in a flex or grid formatting context.

Fixed: 1159311
Change-Id: Id2d6909a30da9e8fe3de3b3058ffe630f180ff8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3036862
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#902884}

--

wpt-commits: 9c174dc5f5044609669af7bc28e35924ac02fbb4
wpt-pr: 29697
2021-07-20 19:18:50 +00:00
moz-wptsync-bot
80443ae8d1 Bug 1720805 [wpt PR 29682] - Update wpt metadata, a=testonly
wpt-pr: 29682
wpt-type: metadata
2021-07-20 19:18:49 +00:00
Mason Freed
3aa5e0fe72 Bug 1720805 [wpt PR 29682] - Fix a few bugs in declarative Shadow DOM cloning, a=testonly
Automatic update from web-platform-tests
Fix a few bugs in declarative Shadow DOM cloning

Previously, the cloning operation would fail if the declarative shadow
root was sufficiently nested (e.g. inside another <div> or inside a
nexted <template>). This CL fixes this bug, by passing through the
CloneChildrenFlag to all the places it's needed.

Two new test conditions are added for the two broken cases.

Fixed: 1229311
Change-Id: I3e1fe7e6075e1aa74ff753c66ee209bd08a8a29c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3033299
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/master@{#902843}

--

wpt-commits: eafef7e9e90735e4cc2e55d704e3cf6c3d0f8a2c
wpt-pr: 29682
2021-07-20 19:18:49 +00:00
Jamie Nicol
ebb76fd7e3 Bug 1719437 - Do not initialize shaders when creating SingletonGL for software webrender. r=aosmond
It leads to OpenGL errors, as we must initialize a webrender Device in
order to initialize the shaders, and this Device attempts to use
OpenGL commands not supported by the GL context. For example the GL
context may only support GLES 2, hence why we are using SWGL in the
first place.

Differential Revision: https://phabricator.services.mozilla.com/D120356
2021-07-20 19:10:58 +00:00
Ryan Hunt
b40ac20343 Bug 1720514 - wasm: Add framework for intrinsics with basic i8vecmul. r=jseward
This commit implements a framework for creating 'intrinsics' which are
natively implemented functions that are exposable as wasm functions
that can be called or linked against. A simple 8-bit vector product for
flexible vectors is implemented as a proof of concept.

The basic API is:
```
let module = wasmIntrinsicI8VecMul(); // WebAssembly.Module
let memory = new WebAssembly.Module({ initial: pageSize });
let instance = new WebAssembly.Instance(module,
  { "": { memory } });
instance.exports.i8vecmul(dest, src1, src2, len);
```

The implementation is mainly done through `CompileIntrisicModule` which
manually builds a ModuleEnvironment with an imported memory, and a single
exported function which is of the bytecode form:
```
(func (params ...)
  local.get 0
  ...
  local.get n
  private_intrinsic_opcode
)
```
The private_intrinsic_opcode is implemented as an instance call. An
additional heap base parameter is added which allows quick bounds
checking, similar to Instance::memory32Copy.

A followup will implement the intrinsic for the firefox
translations project.

Differential Revision: https://phabricator.services.mozilla.com/D119919
2021-07-20 19:05:59 +00:00
Stefan Zabka
9468e1cce4 Bug 1715499 - Display special dialogue for single base domain r=pbz,fluent-reviewers,preferences-reviewers,flod,Gijs,jaws
Differential Revision: https://phabricator.services.mozilla.com/D118729
2021-07-20 18:52:03 +00:00
stransky
699174544b Bug 1721023 [Wayland] Close display registry right after use, r=rmader
Don't keep reference to wl_registry object as we don't need that so release it right after use.

Differential Revision: https://phabricator.services.mozilla.com/D120129
2021-07-20 18:29:49 +00:00
stransky
dafa12b4b3 Bug 1718507 [Wayland] Implement nsWindow::GetWidgetScreen() by ScreenGetter on Wayland, r=jhorak
- Move screen getter initialization to ScreenGetterGtk::Init() to initialize it after a global object is created.
- Store screen list internally at ScreenGetterWayland to allow searching in it.
- Implement ScreenGetterWayland::GetMonitorForWindow() to get monitor/wl_output for nsWindow.
- Implement ScreenGetterWayland::GetScreenForWindow() to get screen where the window is placed.
- Implement ScreenGetterWayland::GetScreenRectForWindow() to get window screen rect.
- Do some more logging on ScreenHelperGTK.cpp

Differential Revision: https://phabricator.services.mozilla.com/D120056
2021-07-20 18:18:31 +00:00
stransky
ec88a58c27 Bug 1718507 [Wayland] Implement ScreenGetterWayland to get screen config on Wayland, r=jhorak
- Implement new ScreenGetterWayland() object and get screen/monitor configuration directly from Wayland.
- Use it at ScreenHelperGTK when runnin on Wayland
- Use LOG_SCREEN() macro for screen logging

Differential Revision: https://phabricator.services.mozilla.com/D118959
2021-07-20 18:18:30 +00:00
Bernard Igiri
75326296ea Bug 1710629 - Adjust bookmarks menu button panel padding r=mak
Modified bookmarks menu button panel padding in Windows and Linux to match the appearance of that panel in MacOS.

Differential Revision: https://phabricator.services.mozilla.com/D119643
2021-07-20 18:11:07 +00:00
Sean Feng
2aa145db40 Bug 1705141 - Implement imperative slotting API r=smaug,emilio
Differential Revision: https://phabricator.services.mozilla.com/D119444
2021-07-20 18:06:25 +00:00
Sean Feng
6b3d341c93 Bug 1705141 - Move the usage of SlotAssignedNodeChanged into (Insert|Append|Remove)AssignedNode functions r=smaug
According to our current usage, I don't see a case where we need to call
SlotAssignedNodeChanged without acutally moving the node. So this patch
just simpifies that behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D119443
2021-07-20 18:06:25 +00:00