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

805070 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 94699183f2 Bug 1782071 - Invalidate the undisplayed style cache on ContentRemoved. r=boris
See comment. Not sure how easy to test this is in practice since it
involves nodes getting cc'd.

I tried to repro (not too hard) with a crashtest running
SpecialPowers.gc() but that didn't cut it, looks like.

Differential Revision: https://phabricator.services.mozilla.com/D154891
2022-08-17 20:53:23 +00:00
Marian-Vasile Laza aaa3eeea77 Backed out changeset 592feee00d7b (bug 1784489) for causing bc failures on browser_contextmenu.js. CLOSED TREE 2022-08-17 23:32:54 +03:00
Emilio Cobos Álvarez 03925ada26 Bug 1785322 - Add a use comment to remind people that new use-counters need data-r. r=saschanaz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154933
2022-08-17 20:23:06 +00:00
Nick Alexander ba86996b7a Bug 1783051 - Turn default browser agent's `EventLog` into a Windows-only header utility. r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D153658
2022-08-17 20:01:58 +00:00
Paul Zuehlcke 252f23b8fe Bug 1785281 - Extend Firebase sign-in shim to handle custom domain allizom.org. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154908
2022-08-17 19:56:10 +00:00
Updatebot 4cd9d5b742 Bug 1785225 - Update function2 to 2d3a878ef19dd5d2fb188898513610fac0a48621 r=nika
Differential Revision: https://phabricator.services.mozilla.com/D154884
2022-08-17 19:02:06 +00:00
Ryan VanderMeulen b16f6be00a Bug 1776895 - Fix file-whitespace linter error. r=bustage on a CLOSED TREE 2022-08-17 15:08:03 -04:00
Marian-Vasile Laza ae17d72d9f Backed out changeset cf566ee2f54b (bug 1784335) for causing mochitest failures on test_emulateMedium.html. CLOSED TREE 2022-08-17 22:00:06 +03:00
Ray Kraesig d1411e990f Bug 1776895 - [6/6] Add logging for fullscreen entry/exit r=cmartin
Add logging for fullscreen position-state saving and restoration.

Differential Revision: https://phabricator.services.mozilla.com/D153411
2022-08-17 18:51:32 +00:00
Ray Kraesig c4d109da63 Bug 1776895 - [5/6] Save and restore original relative position r=cmartin
When entering fullscreen and saving the original position of a window,
also save the original position of its screen.

When leaving fullscreen, keep the window on the same screen. Restore its
_screen-relative_ position, rather than its absolute position.

Differential Revision: https://phabricator.services.mozilla.com/D153410
2022-08-17 18:51:32 +00:00
Ray Kraesig 6700c85a61 Bug 1776895 - [4/6] adjust callsite of HideWindowChrome r=handyman
`HideWindowChrome(false)` may change the reported window size on Mac:
the OS menu bar appears at the top of the screen, and this will cause the
window to shrink if it was fullscreen.

This isn't a problem yet, since we don't check the window dimensions
when exiting fullscreen... but the following commit will do exactly
that. Delay calling `HideWindowChrome` until the last possible minute --
but make sure that it _does_ get called.

Since HideWindowChrome(true) does not presently change the window size
(see bug 498835), no functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D154469
2022-08-17 18:51:31 +00:00
Ray Kraesig 3a0072feae Bug 1776895 - [3/6] Cleanup: specialize further to desktop pixels r=cmartin
Use desktop pixels everywhere:
 - Store the old window position as a `DesktopRect`.
 - Since `GetRectDisplayPix` is infallible, use the convenience getter
   that hands us a `DesktopIntRect`.
 - Add a helper function that wraps `Resize()` and takes any `Rect`
   which uses `DesktopPixel`s.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D153409
2022-08-17 18:51:31 +00:00
Ray Kraesig de367482e0 Bug 1776895 - [2/6] Cleanup: remove BoundsUseDesktopPixels() condition r=cmartin
A window is fullscreenable iff it's a desktop window (that is, a
positional child of the desktop rather than of another window) -- and
desktop windows are the windows which use desktop-pixel units in
Resize().

Code coverage confirms that the branch when `BoundsUseDesktopPixels()`
returns `false` is never taken in tests.

Under the (hopefully justified) assumption that it's never taken at all,
no functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D153408
2022-08-17 18:51:31 +00:00
Ray Kraesig 4592637ee3 Bug 1776895 - [1/6] Cleanup: use UniquePtr rather than manual allocation r=cmartin
No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D153407
2022-08-17 18:51:30 +00:00
Dana Keeler 7af450dab0 Bug 1781976 - remove expiring telemetry probe CLIENT_CERTIFICATE_SCAN_TIME r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D154436
2022-08-17 18:50:26 +00:00
Emilio Cobos Álvarez 2abe4462f2 Bug 1780650 - Fix assert in SharedStyleSheetCache. r=boris
The document might be gone already if unlinking / cc has happened.

Differential Revision: https://phabricator.services.mozilla.com/D154918
2022-08-17 18:40:08 +00:00
Emilio Cobos Álvarez 9b7c17fcb6 Bug 1785229 - Factor out <select> longest option size computation. r=TYLin
This patch doesn't change behavior but I had it lying around in my
machine, and makes the code a bit easier to follow, so no reason not
to land it IMO.

Differential Revision: https://phabricator.services.mozilla.com/D154886
2022-08-17 18:36:40 +00:00
Emilio Cobos Álvarez d3d0814758 Bug 1777931 - Add a few diagnostic asserts to the sub-resource cache. r=dholbert,layout-reviewers
The only thing that could trigger this is a bogus key, or overriding an
already-loading stylesheet which we didn't correctly coalesce.

Either of those is a bug.

Differential Revision: https://phabricator.services.mozilla.com/D154915
2022-08-17 18:13:25 +00:00
Dão Gottwald 4eb9d04769 Bug 1785094 - Stop applying --lwt-tab-loading-fill-inactive to the "connecting" state. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D154802
2022-08-17 17:39:18 +00:00
Ting-Yu Lin 27be7e6ac4 Bug 1441048 Part 2 - Use NS_FRAME_HAS_MULTI_COLUMN_ANCESTOR to detect block-fragmented context when marking a line dirty. r=emilio
We can move a float frame into its block parent's PushedFloatsList during column
balancing when it cannot fit in the available block-size.

Later, when the column balancing algorithm reflows the last column in an
unconstrained block-size (in the very last reflow if needed [1]), we have to
reflow the line which contains the float's placeholder. The old code uses
`GetPrevInFlow() || GetNextInFlow()` to detect this scenario, which is
insufficient because the float's block parent might not have any continuation.
This patch uses `NS_FRAME_HAS_MULTI_COLUMN_ANCESTOR` bit to detect this instead.

[1] https://searchfox.org/mozilla-central/rev/5c04fc7016eb7f52cf835d482f1125c8f139c959/layout/generic/nsColumnSetFrame.cpp#1144-1154

Differential Revision: https://phabricator.services.mozilla.com/D154860
2022-08-17 17:18:00 +00:00
Ting-Yu Lin 169f235b0c Bug 1441048 Part 1 - Clarify variable naming and log when we reflow last column with unconstrained available bsize. r=emilio
The naming of `isMeasuringFeasibleContentBSize` and associated log are
misleading. We can change last column's available block-size to be unconstrained
at the end of column balancing [1].

This patch shouldn't change the behavior.

[1] https://searchfox.org/mozilla-central/rev/5c04fc7016eb7f52cf835d482f1125c8f139c959/layout/generic/nsColumnSetFrame.cpp#1144-1154

Differential Revision: https://phabricator.services.mozilla.com/D154859
2022-08-17 17:18:00 +00:00
Marian-Vasile Laza 857f78b411 Backed out 7 changesets (bug 1765480) for causing build bustages on config.h. CLOSED TREE
Backed out changeset 5403acde30c2 (bug 1765480)
Backed out changeset 7176e2a3b1a0 (bug 1765480)
Backed out changeset a54225be60ac (bug 1765480)
Backed out changeset 50b0534f07a5 (bug 1765480)
Backed out changeset 104a811c42e5 (bug 1765480)
Backed out changeset 7e2ce67588d3 (bug 1765480)
Backed out changeset 6077ae857148 (bug 1765480)
2022-08-17 20:53:08 +03:00
Marian-Vasile Laza 2dac282ab0 Backed out changeset a36fe75347a1 (bug 1785174) for causing linting failures. 2022-08-17 20:51:11 +03:00
Emilio Cobos Álvarez fcae7ec6a6 Bug 1784335 - Make print emulation also prefer light color-scheme. r=dholbert
This has the side effect of firing the media query list change event for
printing, but it also improves the print emulation on DevTools, which is
an extra win!

Differential Revision: https://phabricator.services.mozilla.com/D154906
2022-08-17 17:07:25 +00:00
Agi Sferro cd000ebc03 Bug 1648158 - Store SHIP (Session History in Parent Process) support on Android. r=geckoview-reviewers,owlish
Instead of using SessionStateAggregator.js send() to collect history data and send the event StateUpdated to the app, the new GeckoViewSessionStore is used. It is enabled when fission is true and initialized by GeckoViewStartup when Services.appinfo.sessionHistoryInParent is true. It will observe two existing topics: browsing-context-did-set-embedder, which creates the history listener, and browsing-context-discarded, which unregisters it. When the history listener is created, it will collect history from the parent. It will only collect data when the current uri is not “about:blank” and when the history count is greater than 0. It uses SessionHistory’s collectFromParent.

The new code path was manually confirmed by debugging the app history delegate to see that the state map contains all the history data.

Differential Revision: https://phabricator.services.mozilla.com/D150020
2022-08-17 17:03:27 +00:00
Cosmin Sabou 004501a470 Bug 1785232 - Add expectation for whitespace-update-after-removal.html on Android. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D154892
2022-08-17 16:52:25 +00:00
Dão Gottwald 8dc7f68beb Bug 1784891 - Consolidate document font-size set by common-shared.css. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D154775
2022-08-17 16:50:54 +00:00
Dan Mosedale 4cbfcb0b8b Bug 1783049 - about:welcome should open FxView in its pinned tab, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154478
2022-08-17 16:36:39 +00:00
Paul Adenot 6b7edc6cf9 Bug 1765480 - "send" before "receive"-ing when decoding audio using ffmpeg. r=alwu
This is what the documentation says we should be doing (and it's clearly the
right thing to do). We miss decoding a packet otherwise.

Depends on D150974

Differential Revision: https://phabricator.services.mozilla.com/D150975
2022-08-17 16:29:34 +00:00
Paul Adenot c007418c08 Bug 1765480 - Switch in-tree FFVPX PDM to use header from version 59. r=alwu
Depends on D151996

Differential Revision: https://phabricator.services.mozilla.com/D150974
2022-08-17 16:29:34 +00:00
Paul Adenot 1e33c4f84d Bug 1765480 - Conditionally include bsf, codec and parser list with CONFIG_* macros. r=alwu
Depends on D150973

Differential Revision: https://phabricator.services.mozilla.com/D151996
2022-08-17 16:29:33 +00:00
Paul Adenot 12e3f0e9a9 Bug 1765480 - Update ffvpx to a recent ffmpeg version, reapply the in-tree patch, fix moz.build for the new files, fix the symbol files. r=alwu
Depends on D150972

Differential Revision: https://phabricator.services.mozilla.com/D150973
2022-08-17 16:29:33 +00:00
Paul Adenot e53a91d5e3 Bug 1765480 - Regenerate config* files for ffvpx on all platforms needed, splitting off `config_components.h`. r=alwu
Depends on D150971

Differential Revision: https://phabricator.services.mozilla.com/D150972
2022-08-17 16:29:32 +00:00
Paul Adenot f2dd2ae83d Bug 1765480 - Overhaul ffvpx/README_MOZILLA. r=alwu
Depends on D150970

Differential Revision: https://phabricator.services.mozilla.com/D150971
2022-08-17 16:29:32 +00:00
Paul Adenot c485f8bbe4 Bug 1765480 - Remove the file ffvpx/FILES and prefer rsync to update ffvpx. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D150970
2022-08-17 16:29:31 +00:00
Sarah Clements ed57297296 Bug 1784055 - Add error state for when sync is disconnected r=sfoster,fluent-reviewers,flod
* Add new error state strings and logic
* Add new test case

Differential Revision: https://phabricator.services.mozilla.com/D154675
2022-08-17 16:23:57 +00:00
Alexandre Poirot d27ee059ff Bug 1783813 - [devtools] Unify debugger initialization and thread selection. r=bomsy
We are updating more things when selecting a thread than when opening the debugger.
Let's use a unique codepath when it comes to handle a new top level target.

Differential Revision: https://phabricator.services.mozilla.com/D151552
2022-08-17 16:13:35 +00:00
Greg Tatum 905a369a06 Bug 1782981 - Only show the macOS context menu if it is supported; r=nordzilla
This code path gets executed by existing tests, and I don't believe
there is a way to execute this behavior using our CI, since it's a macOS
version check.

Differential Revision: https://phabricator.services.mozilla.com/D154172
2022-08-17 15:41:12 +00:00
Ryan VanderMeulen e2fec65aa0 Bug 1785174 - Bump JDK to 18.0.2+9. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D154858
2022-08-17 15:20:24 +00:00
Ryan VanderMeulen f4b6916589 Bug 1785174 - Update bundletool to 1.11.0. r=geckoview-reviewers,calu
Depends on D154848

Differential Revision: https://phabricator.services.mozilla.com/D154849
2022-08-17 15:20:23 +00:00
Ryan VanderMeulen 229bea0e22 Bug 1785174 - Update cmdline-tools to 7.0. r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D154848
2022-08-17 15:20:23 +00:00
Andrew Osmond f7af34d5fc Bug 1784940 - Acquire/release locks in gfxFont::Measure fewer times. r=jfkthame
gfxFont::Measure would acquire/release a read-only lock on
gfxGlyphExtents::mLock for every glyph in the text run. This patch makes
it so that we once the lock once. We may need to populate the
gfxGlyphExtents hashtable once, where we need to upgrade to a read-write
lock.

Differential Revision: https://phabricator.services.mozilla.com/D154816
2022-08-17 15:19:22 +00:00
issammani f0ed2595e2 Bug 1780436 - Reuse getFormElementByName in password manager and remove usage of $_. r=sgalich
Depends on D154670

Differential Revision: https://phabricator.services.mozilla.com/D154671
2022-08-17 15:16:03 +00:00
issammani 10b0dfd4c9 Bug 1780436 - Use querySelector in getFormElementByName instead of namedItem. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D154670
2022-08-17 15:16:03 +00:00
Tooru Fujisawa 244bc38da6 Bug 1782706: Do not set JSContext::nativeStackBase_ in helper thread. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D152857
2022-08-17 14:52:20 +00:00
Alexandra Borovova c7fb77eccf Bug 1770480 - [wdspec] Add tests for script evaluation inside sandboxes for "script.evaluate" and "script.callFunction" commands. r=webdriver-reviewers,jdescottes
Depends on D153440

Differential Revision: https://phabricator.services.mozilla.com/D153442
2022-08-17 14:35:02 +00:00
Alexandra Borovova 41b3a21f9d Bug 1770480 - [bidi] Add support for script evaluation inside sandboxes for "script.evaluate" and "script.callFunction" commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D153440
2022-08-17 14:35:02 +00:00
Cosmin Sabou b92607877a Bug 1785253 - Add line so that newtab linter would be happy. r=mviar 2022-08-17 16:14:55 +03:00
renovate[bot] 078e93eeac no bug - Update dependency colorama to v0.4.5 r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154874
2022-08-17 13:46:04 +00:00
Valentin Gosu 6a43a65493 Bug 1785192 - Add documentation for URL parsers r=acreskey DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154862
2022-08-17 13:41:58 +00:00