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

749247 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange d449c20fa0 Bug 1698662 - Clean up nsMenuItemIconX::GetIconURI(). r=harry
Depends on D108536

Differential Revision: https://phabricator.services.mozilla.com/D108537
2021-03-18 02:30:35 +00:00
Markus Stange 260ad96ae6 Bug 1698662 - Remove unnecessary null check. nsMenuItemIconX is always created with a non-null mContent. r=harry
Depends on D108535

Differential Revision: https://phabricator.services.mozilla.com/D108536
2021-03-18 02:30:34 +00:00
Markus Stange 3fb917aba3 Bug 1698662 - Move these checks out of GetIconURI. r=harry
A future patch in this series will move the check all the way out of nsMenuItemIconX, and this is the first step.

Differential Revision: https://phabricator.services.mozilla.com/D108535
2021-03-18 02:30:34 +00:00
Andrei Cristian Petcu 32ca9834bc Bug 1688213 Enable "signon.management.page.fileImport.enabled" for all channels r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D108323
2021-03-18 01:07:14 +00:00
andreipetcu 2f370b6a98 Bug 1688653 Add telemetry in LoginCSVImport.jsm for results of imported logins r=tgiles,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D107168
2021-03-18 01:06:49 +00:00
Ting-Yu Lin 8c90a87873 Bug 1699327 - Add nsIFrame::GetMarginRect(), and comparison operators for LogicalMargin. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D107935
2021-03-18 01:06:03 +00:00
Daniel Holbert 3a2795a286 Bug 1699302 part 2: Use "InProcess" version of GetCrossDocParentFrame(), in a few other callsites in nsIFrame.cpp. r=hiro
This patch doesn't change behavior; it's just switching us between two
functions that do the same thing. (One is literally a trivial wrapper for the
other.)

We're using the new "InProcess" version of this API as a way of annotating
callsites that have been vetted as behaving properly in out-of-process iframes.

This patch fixes two callsites:
- The first callsite is an assertion whose condition becomes slightly stricter
  but should still be valid, in a scenario where we are at an oop-iframe
  boundary.

- The second is in IsFrameScrolledOutOfView(), which is part of an API that we
  use to optimize away animations if we can tell they're in an invisible
  subtree (see calls to IsScrolledOutOfView() in KeyframeEffect.cpp).  If we
  run up against an out-of-process iframe boundary when calling
  GetCrossDocParentFrame() here, we'll still be OK -- we should still be able
  to figure out whether the animation is invisible, via our call to
  nsLayoutUtils::FrameIsScrolledOutOfViewInCrossProcess() a few lines further
  down.  (Also: worst-case, we'll just run the animation even though it's not
  visible; so there's no loss of correctness.)

Differential Revision: https://phabricator.services.mozilla.com/D108878
2021-03-18 00:55:52 +00:00
Daniel Holbert ad62a2c0e8 Bug 1699302 part 1: Use "InProcess" version of GetCrossDocParentFrame(), when propagating invalidation up the ancestor chain, in nsIFrame.cpp. r=hiro
This patch doesn't change behavior; it's just switching us between two
functions that do the same thing. (One is literally a trivial wrapper for the
other.)

We're using the new "InProcess" version of this API as a way of annotating
callsites that have been vetted as behaving properly in out-of-process iframes.

This patch is focusing on some callsites where we've got a frame that needs a
repaint, and we're propagate that information up its ancestor chain. It's OK
for these notifications to stop when we hit the edge of of an out-of-process
iframe, because painting/compositing at that granularity is handled separately.

Differential Revision: https://phabricator.services.mozilla.com/D108877
2021-03-18 00:55:51 +00:00
Cosmin Sabou 1b1db8ad9c Backed out 8 changesets (bug 1631451, bug 1698842) for xpcshell failures on test_breakpoint-25.js. CLOSED TREE
Backed out changeset 0d9035ed5c50 (bug 1698842)
Backed out changeset 55166c719cd2 (bug 1698842)
Backed out changeset 8cc10a259de1 (bug 1631451)
Backed out changeset bc9072114706 (bug 1631451)
Backed out changeset b5cb78fd1f61 (bug 1631451)
Backed out changeset da765754e3a8 (bug 1631451)
Backed out changeset d7a1c44ea37c (bug 1631451)
Backed out changeset 810bdfa0d899 (bug 1631451)
2021-03-18 02:35:30 +02:00
James Teh e8fb40cbc2 Bug 1698097: Null check parent content when checking whether a tr should use ARIARowAccessible. r=morgan
We assumed parent content wasn't null because we've already checked that there is a parent table accessible, suggesting there's also parent content.
However, if the tr is at the top level of a shadow root (but the table is not), parent content will be null, causing a crash.
Before the fix for bug 1686123, this was fine because the frame for a shadow root is null and we didn't continue for a null frame.
Now that we do continue for a null frame, we must null check parent content.

Differential Revision: https://phabricator.services.mozilla.com/D108777
2021-03-18 00:18:29 +00:00
Lee Salzman d919423f0c Bug 1699306 - Define __VERSION__ in SWGL GLSL. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D108875
2021-03-17 23:52:11 +00:00
Alexandre Poirot 642795fcff Bug 1698842 - [devtools] Avoid a few cases where targetFront is null during a client side target switching. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D108680
2021-03-17 23:46:39 +00:00
Alexandre Poirot ddb7719619 Bug 1698842 - [devtools] Avoid notifying about already destroyed targets from TargetCommand. r=nchevobbe
This helps browser_toolbox_backward_forward_navigation.js passing with fission enabled.

Differential Revision: https://phabricator.services.mozilla.com/D108648
2021-03-17 23:46:39 +00:00
Alexandre Poirot 11f0c12d40 Bug 1631451 - [devtools] Ignore connection closed when closing browser toolbox in tests. r=nchevobbe
This is to fix intermittent failure on all browser toolbox tests.
It looks like these patches make toolbox.destroy shuts down connection faster
and lead to evaluateJSAsync request still be pending while the connection is closed
and actors and fronts are destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D108630
2021-03-17 23:46:38 +00:00
Alexandre Poirot 97f2421098 Bug 1631451 - [devtools] Control DevToolsClient closure from Descriptor instead of Target. r=nchevobbe,jdescottes
Still use a shouldCloseClient flag, but instead of closing the client from the target's destruction,
from which we should ignore cross process target switching,
we now close it from the descriptor destruction.
Descriptor destruction should only happen when the toolbox is meant to be closed.

Differential Revision: https://phabricator.services.mozilla.com/D106835
2021-03-17 23:46:38 +00:00
Alexandre Poirot 62af4ea387 Bug 1631451 - [devtools] Destroy target front via Watcher's target-destroyed-form. r=nchevobbe,jdescottes
That, instead of tabDetached event, fired on the target actor themself.

Differential Revision: https://phabricator.services.mozilla.com/D108578
2021-03-17 23:46:37 +00:00
Alexandre Poirot b6ea5cc58d Bug 1631451 - [devtools] Destroy TabDescriptor instead of Target from toolbox and tests. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D108577
2021-03-17 23:46:37 +00:00
Alexandre Poirot 4445a9ee50 Bug 1631451 - [devtools] Always listen to target-available and destroyed events from TargetCommand. r=nchevobbe,jdescottes
This is to allow destroying correctly the targets even if we aren't watching for additional targets.

Differential Revision: https://phabricator.services.mozilla.com/D108576
2021-03-17 23:46:37 +00:00
Alexandre Poirot 1c1911097e Bug 1631451 - [devtools] Bail out if DevToolsClient.close becomes reentrant. r=nchevobbe
Close method may be called by the transport on close.
This was highlighted by browser_target_from_url.js
Surprisingly devtools/shared/tests/xpcshell/test_debugger_client.js
tries quite hard to cover such issue, but we seem to get yet another type of reentrancy.
This probably depends on WebSocketTransport, which is a bit hard to get covered.
No test seems to be spawning a WebSocket DevToolsServer...

Differential Revision: https://phabricator.services.mozilla.com/D107988
2021-03-17 23:46:36 +00:00
Henry Vincent cc89c462df Bug 1699146 - Fix typo in error message created by Front base class r=ochameau First bug fix. Fixed typo, and then the linter wanted the code slightly reformatted.
Differential Revision: https://phabricator.services.mozilla.com/D108881
2021-03-17 23:45:49 +00:00
Dave Hunt 210310640d Bug 1699140 - Remove by-pageload taskgraph transform for page load tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D108788
2021-03-17 23:16:43 +00:00
Emilio Cobos Álvarez 6c2d77e198 Bug 1698445 - background-position changes should be throttable. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D108611
2021-03-17 23:07:25 +00:00
Glenn Watson 792ff7a9de Bug 1699265 - Remove ClusterFlags::IS_PICTURE r=gfx-reviewers,bradwerth
First part of restructuring how primitive instances and their
dependencies are stored.

Differential Revision: https://phabricator.services.mozilla.com/D108848
2021-03-17 22:53:40 +00:00
Emilio Cobos Álvarez 83d5691cbc Bug 1614658 - Enable accessibility.mouse_focuses_formcontrol by default. r=mac-reviewers,bradwerth,mstange
This aligns Mac's focus model with other platforms. Matches Chromium, but not
Safari.

Reasons why I think it's worth making this change:

 * Consistency with all other platforms.
 * Makes the :focus-visible implementation more useful.
 * Fixes focus navigation after e.g. clicking a button.
 * Shouldn't cause a lot more outlines to show up (at least not by default).

An example of the second point:

    data:text/html,<button onclick="this.nextElementSibling.focus()">Click</button><button>Imagine I'm a dialog close button or something</button>

In non-macOS platforms, we won't show an outline for the button in that case,
which matches the developer expectations (links below). We don't show the
outline because the focus comes from an element that has been focused by mouse
(and thus didn't show an outline). But on macOS that doesn't work, because the
button is not focused.

For completeness, the actual heuristics for :focus-visible may change a bit as
a result of the discussions in:

  * https://github.com/w3c/csswg-drafts/issues/5885
  * https://github.com/web-platform-tests/wpt/pull/27806

But it's not clear to me how to best define this so it works on the macOS focus
model.

An example of the third point:

    data:text/html,<input type=text><input type=submit><input type=text>

On Safari and Chrome (and Firefox on non-macOS platforms), clicking the button,
then pressing tab, goes to the input on the right. In Firefox on macOS it
doesn't because the button doesn't gain focus nor is selectable.

Differential Revision: https://phabricator.services.mozilla.com/D108808
2021-03-17 22:34:55 +00:00
Ed Lee 8dcc772eea Bug 1698962 - Land "Pin Firefox" onboarding strings in nightly ahead of changing default in beta r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D108835
2021-03-17 21:45:47 +00:00
sotaro 2152449796 Bug 1697724 - Align buffer address in commit_solid_span() r=lsalzman
Crash happened by unaligned data access on Android device

Differential Revision: https://phabricator.services.mozilla.com/D108747
2021-03-17 21:43:18 +00:00
Timothy Nikkel 6a3bae0758 Bug 1698353. Don't try to restrict the display port base rect of a scroll frame with the display port of the same scroll frame because that doesn't make sense. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D108562
2021-03-17 21:29:22 +00:00
Doug Thayer 0ac34c04de Bug 1697091 - Move SetThemeRegion inside skeleton UI maximization else clause r=tnikkel
This change is just cleanup and have no behavioral difference, given that
SetThemeRegion only does anything for eWindowType_popups, which never have a
skeleton UI.

Depends on D108849

Differential Revision: https://phabricator.services.mozilla.com/D108850
2021-03-17 21:12:54 +00:00
Doug Thayer 38c116d745 Bug 1697091 - Ensure ResizeDirectManipulationViewport called on move/resize r=tnikkel
We were skipping the initial ResizeDirectManipulationViewport call when the
skeleton UI showed a maximized window, because it pseudo-ignores the first
Move/Resize in order to not break the maximization. There's no reason
ResizeDirectManipulationViewport should have been in the else clause - it just
wasn't properly considered.

Differential Revision: https://phabricator.services.mozilla.com/D108849
2021-03-17 21:12:53 +00:00
Tim Nguyen acf55d9a0b Bug 1699124 - Remove toolkit/themes/windows/global/icons/Error.png. r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108782
2021-03-17 21:10:59 +00:00
Tom Schuster 2df0d4d895 Bug 1698296 - Improve error formatting with missing msg and test. r=robwu
Before this would produce something like '..got "abc",null" which is rather ugly.

Differential Revision: https://phabricator.services.mozilla.com/D108845
2021-03-17 21:04:40 +00:00
Tom Schuster 17eea0c2f4 Bug 1698296 - Make 2nd parameter of test.assertThrows non-optional. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108829
2021-03-17 21:04:40 +00:00
Tom Schuster 3da7d94f22 Bug 1698296 - Make 2nd parameter of test.assertRejects non-optional and fix tests. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108328
2021-03-17 21:04:39 +00:00
Emma Malysz c97936e081 Bug 1691464, remove screenshots webextension reference in test
Differential Revision: https://phabricator.services.mozilla.com/D108853
2021-03-17 21:18:16 +00:00
Julian Descottes 43559fbc63 Bug 1574508 - [marionette] reftest: call flushRendering in remote frames using actors r=marionette-reviewers,jgraham
Taking a similar approach to the regular Reftest actors, we recursively call flush rendering using js window actors in all remote frames.
The main difference with the regular Reftest actor is that the top frame's flushRendering is still performed as part of the reftestWait call.
The reason for that is that we perform 2 flushRendering in case there is a "reftest-wait" classname, which is easier if we keep it outside of the recursive call.

Differential Revision: https://phabricator.services.mozilla.com/D108420
2021-03-17 21:01:50 +00:00
Timothy Nikkel 5b375a59a6 Bug 1698841. Ignore non-touch input blocks in AsyncPanZoomController::OnDoubleTap. r=botond
We can either get here via touch events interpreted as a double tap, or a double tap event sent from the os. The former will have a touch block, the latter will have no input block associated with it.

The crash shows it's possible to get here with another type of current input block.

The other option would be to ignore the double tap if we get here and there is a current input block that is not touch. Not sure if that is better or not.

Differential Revision: https://phabricator.services.mozilla.com/D108716
2021-03-17 20:47:57 +00:00
Bogdan Tara bb057d936e Bug 1691464 - Fix prettier lint on browser_screenshot_button_disabled.js a=lint-fix CLOSED TREE 2021-03-17 22:50:46 +02:00
Tim Nguyen e0e0e47210 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 19:03:51 +00:00
Emilio Cobos Álvarez 3ab7c2dd52 Bug 1699186 - Annotate a failure with the Android native theme.
Differential Revision: https://phabricator.services.mozilla.com/D108844
2021-03-17 20:26:19 +00:00
Mike Kaply bb2097a7b9 Bug 1698572 - Shorten BackgroundAppUpdate description. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108843
2021-03-17 20:25:40 +00:00
Emma Malysz 030b47279a Bug 1691464, remove screenshot feature from page action panel and move to dedicated widget r=fluent-reviewers,sfoster,flod
The widget is only added if screenshots are enabled (similar behavior to the fxa
toolbar button).
Button must take into account onLocationChange due to the fact that screenshots
extension is not available on about pages.
Adds a test for the disabled state, with more screenshot tests intended in the future

Differential Revision: https://phabricator.services.mozilla.com/D107727
2021-03-17 20:19:23 +00:00
Cosmin Sabou dc2b83b3e4 Backed out changeset 294ee16f9e45 (bug 1699083) for gtest failures on WebRtcIceConnectTest. CLOSED TREE 2021-03-17 22:22:24 +02:00
Alex Ionescu bf907d7590 Bug 1694398 Fix raptor-webext tests for benchmarks that were migrated r=perftest-reviewers,sparky
Set for the migrated browsertime benchmarks the same run-on-projects and tiers as the raptor ones and disable the raptor ones.

Updated Diffchecker: https://www.diffchecker.com/tJgXQGCi

Differential Revision: https://phabricator.services.mozilla.com/D106488
2021-03-17 20:08:53 +00:00
Yury Delendik e0eec4f887 Bug 1691490 - Implement SIMD i64x2.{gt,lt,ge,le}_s instructions. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D106915
2021-03-17 20:07:51 +00:00
Robert Mader 1e840180a0 Bug 1697673 - Support surface_origin_is_top_left with native surfaces, r=gw
Analogous to the draw compositor. This is needed for Wayland and
potentially Android.
It maybe doesn't not yet cover all cases, howewer it is enough to allow
the example compositor to work correctly.

Differential Revision: https://phabricator.services.mozilla.com/D108610
2021-03-17 20:07:39 +00:00
Jonathan Kew f13a96e73b Bug 1699240 - Add print.css stylesheet to print reftest to suppress default footer text (because the timestamp is potentially problematic). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D108839
2021-03-17 20:01:05 +00:00
Joel Maher 9547663454 Bug 1699241 - support appleSilicon as a keyword in reftest manifests r=ahal
support appleSilicon as a keyword in reftest manifests

Differential Revision: https://phabricator.services.mozilla.com/D108837
2021-03-17 19:50:23 +00:00
Andrew Osmond 1c9b8bb425 Bug 1699242 - Don't ship Software WebRender to 32-bit users to late beta/release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D108838
2021-03-17 19:44:22 +00:00
Andrew Osmond b926dace91 Bug 1699209 - Ensure we release shmems from messages even if WebRenderBridgeParent is destroyed. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D108818
2021-03-17 19:43:51 +00:00
Mark Banner f922382899 Bug 1612531 - Split out search telemetry environment tests and remove use of nsISearchEngine.addEngineWithDetails. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D108458
2021-03-17 19:39:29 +00:00