Replaces all `mov(ReturnReg, dest)` calls with `storeCallPointerResult(dest)`.
This can save an unnecessary move in some cases.
Differential Revision: https://phabricator.services.mozilla.com/D157458
The writing mode doesn't matter since mLastReportedSize is initialized
to the same value for both axes.
This patch should have no observable effect.
Differential Revision: https://phabricator.services.mozilla.com/D157633
The spec claims that undefined is allowed for these values, but later
treats them as if they're always integers. I suspect the original
intent was to default to 0, but since there seems to be interop around
rasing an exception, make geckodriver and marionette explicitly check
for valid integers and disallow missing/undefined values.
Differential Revision: https://phabricator.services.mozilla.com/D152645
With great appreciation for their contributions, we move JavaScript peers who
are no longer active on the project to the emeritus list, including: caroline,
luke, sunfish, fitzgen, djvj, waldo. Also sort the peer lists alphabetically
since we never were very consistent about the order we added people.
Differential Revision: https://phabricator.services.mozilla.com/D157504
The changes made recently cause some WPT to pass. In particular, those that look for not supported errors.
Some other tests have started failing because they expect TypeErrors from parsing inputs of credentials we do not support.
These were previously passing because the WebAuthN get() parser was giving TypeErrors. It is more correct for us to say these credentials are not supported.
Differential Revision: https://phabricator.services.mozilla.com/D157465
When widget is hidden gtk_window_move() does not move the widget but sets new widget coordinates
when widget is mapped again.
If popup used move-to-rect before (GdkWindow has POSITION_METHOD_MOVE_TO_RECT set),
popup will use move-to-rect again when it's mapped and we'll get bogus move-to-rect callback.
In this patch we implement nsWindow::WaylandPopupMovePlain() to perform simple popup movement.
It calls gdk_window_move() to set position_method to POSITION_METHOD_MOVE_RESIZE when popup is hidden
so we'll use simple move when popup is shown and don't slip to move-to-rect.
Depends on D156821
Differential Revision: https://phabricator.services.mozilla.com/D157432
If popup is moved we can't use recent popup position (mBounds) to check popup placement but
use requested position given at nsWindow::NativeMoveResize().
Differential Revision: https://phabricator.services.mozilla.com/D156821
If there's a gap between popups we can't use move-to-rect as anchor needs to be placed inside of parent popup.
In such case place anchor to upper corner of parent popup and submit popup position as offset.
Differential Revision: https://phabricator.services.mozilla.com/D156820
This shouldn't have any observable behavior change, but this is the
first page that uses modern flexbox layout instead of XUL layout.
In practice, this means that various interesting bugs that arise from
poor interaction between xul and block / flex / grid should disappear /
no longer be an issue for front-end developers.
Differential Revision: https://phabricator.services.mozilla.com/D157074
This is the listener for a size mode change, shouldn't need to set the
size mode again. While at it, match coding style better.
This doesn't change behavior now, but with the next patch it would.
Differential Revision: https://phabricator.services.mozilla.com/D157597
For some time, we've been wanting to move away from use of the GPU
cache, due to driver complexity and performance bugs when updating
the shared texture.
Instead, we can create one or more buffers that contain the relevant
information for the primitives that are currently dirty + visible,
and being batched for drawing.
By pooling these and only reusing them when the GPU has finished
referencing them, we hope to simplify the management of GPU buffers
compared to the GPU cache, and also remove driver stalls we see
in various cases related to the GPU cache (note: the buffer recycling
will be implemented in follow up commits).
For now, this basic infrastructure will allow us to do some experiments
and profiling with using this, while building some of the planned
performance optimizations for clip-mask rendering.
Differential Revision: https://phabricator.services.mozilla.com/D157284
Add a list of screen initials to the message ID strings sent with
AboutWelcomeTelemetry impression pings. Each screen's message ID will
include a string representing the screen ID of each screen in the
message, in addition to information about the screen itself (for
example, `PLSICMG` represents AW_PIN_FIREFOX, AW_LANGUAGE_MISMATCH,
etc). This will support, for example, comparisons of user engagement
between messages with many screens versus messages with few screens.
Also change the screen ID for one screen that was adjacent to another
screen with the same initial, in order to disambiguate them (since both
screens can potentially be removed, currently).
Differential Revision: https://phabricator.services.mozilla.com/D157581