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

799401 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 7d1db2f3bc Bug 1748815 - Don't dispatch separate runnables for menu item activation, just rely on the existing calls to MenuClosedAsync. r=bradwerth
ActivateItemAfterClosing is currently only called during automated tests.

Before this patch, the DoCommandRunnable could be run from two different places:
Either from the regular event loop (dispatched in `-[MOZMenuOpeningCoordinator _runMenu]`
once the menu event loop is exited), or from MenuClosedAsync, whichever happens first.

MenuClosedAsync always runs when the menu closes, so we can rely on
it being called after ActivateItemAfterClosing.

So we can simplify the code by just always firing the command event
from MenuClosedAsync.

Differential Revision: https://phabricator.services.mozilla.com/D149315
2022-06-23 15:05:38 +00:00
Jeff Muizelaar c2582e4fc1 Bug 1776112 - Stop temporarily setting the building rect to the paint rect. r=mstange
This doesn't seem to serve any purpose anymore. MOZ_RELEASE_ASSERTing
if mBuildingRect is read during ::Paint doesn't show it happening
anywhere.

Differential Revision: https://phabricator.services.mozilla.com/D150066
2022-06-23 15:04:27 +00:00
smolnar fe578cafc5 Backed out 2 changesets (bug 1774641) for causing browser-chrome failures in browser/components/extensions/test/browser/browser_ext_browserAction_activeScript.js CLOSED TREE
Backed out changeset e381563e7786 (bug 1774641)
Backed out changeset b57a7dca9b97 (bug 1774641)
2022-06-23 17:54:12 +03:00
Sarah Clements 9b7f3ccecb Bug 1774169 - Add observer, keyboard nav & tests to Tab Pickup list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149991
2022-06-23 14:31:35 +00:00
Eemeli Aro b83a85e23e Bug 1771734 - Drop unused DTD strings. r=flod,geckoview-reviewers,m_kato
This follows in the same vein as bug 1771133,
and cleans up some strings that were orphaned by bug 1589182.

Differential Revision: https://phabricator.services.mozilla.com/D147652
2022-06-23 14:25:27 +00:00
Alexandre Poirot 19189e111a Bug 1772347 - [devtools] Ensure that content process targets destruction is notified to the client. r=jdescottes
That, when the target is destroyed for any reason other than the process destruction or
when we stop watching for content process targets.
In these two cases, we will notify about the target destruction.
AFAIK, this is actually the only two reasons when a content process target is destroyed.
But it would be safer to assume that the target might be destroyed for some other reason
and have the client to be notified.

Depends on D148529

Differential Revision: https://phabricator.services.mozilla.com/D148137
2022-06-23 14:18:40 +00:00
smolnar 7d35618a19 Backed out changeset 8e304bf129b7 (bug 1758055) for causing build bustages in nsISupportsImpl CLOSED TREE 2022-06-23 17:08:04 +03:00
ffxbld 042ea8b035 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D150103
2022-06-23 13:40:12 +00:00
Joel Maher 5fbac06d7e Bug 1773806 - skip test_focus_blur_on_click_in_deep_cross_origin_iframe.html on windows with conditioned profile. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D150115
2022-06-23 13:37:41 +00:00
Tomislav Jovanovic 6b97978c25 Bug 1774641 - Expose isInProcess and windowGlobalChild on the WindowContext webidl r=nika
Differential Revision: https://phabricator.services.mozilla.com/D149839
2022-06-23 13:35:23 +00:00
Tomislav Jovanovic cfbbd2cf8d Bug 1774641 - Run content scripts on action click with ungranted host permission r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D149621
2022-06-23 13:04:09 +00:00
Jeff Muizelaar da24bba1ee Bug 1776198 - Disable nsImageGeometryMixin. r=aosmond
Now that we always sync decode during reftests we don't switch from non-sync to
sync decoding and expect proper invalidations. For now, we just make sure that
nsImageGeometryMixin never causes invalidations. We'll rip out the code in a
follow up.

Differential Revision: https://phabricator.services.mozilla.com/D150114
2022-06-23 12:50:00 +00:00
Bogdan Szekely f202b51354 Bug 1752374 - fixed lint failures r=lint-fix CLOSED TREE 2022-06-23 15:52:52 +03:00
Jari Jalkanen 8ded57a34e Bug 1758055 - Establish file system content and parent process IPC. r=janv,dom-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140486
2022-06-23 12:24:57 +00:00
Julien Wajsberg bee5e18654 Bug 1752374 - [devtools documentation] Remove the documentation about the old performance panel r=jdescottes DONTBUILD
This replaces the documentation by a link to the online documentation to
the Firefox Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D150005
2022-06-23 12:20:01 +00:00
Joel Maher 1dc49750b8 Bug 1773889 - exit with TBPL_RETRY for failed condprof job. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D150052
2022-06-23 12:09:48 +00:00
Emilio Cobos Álvarez f73da16631 Bug 1775477 - Fix interface for parser-created <keygen> elements. r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D149999
2022-06-23 10:34:44 +00:00
Bogdan Szekely ba764dec4d Merge mozilla-central to autoland. CLOSED TREE 2022-06-23 12:57:48 +03:00
Bogdan Szekely ad0291c5b7 Merge autoland to mozilla-central. a=merge 2022-06-23 12:53:41 +03:00
Andi-Bogdan Postelnicu a933f9df8f Bug 1519636 - Reformat recent changes to the Google coding style. r=marco
Updated with clang-format version 14.0.5 (taskcluster-YlgDNB2QSm-6a2LDw3kj6A)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D150093
2022-06-23 09:27:12 +00:00
kernp25 6634aca00c Bug 1772704 - Fix browser/components/extensions/test/browser/browser_ext_sessions_incognito.js test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D148344
2022-06-23 08:46:33 +00:00
Nicolas Chevobbe 519e1966cf Bug 1776144 - [devtools] Remove unused TARGET_AVAILABLE action in WebConsole. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D150084
2022-06-23 08:29:44 +00:00
Jan de Mooij 969ca65c66 Bug 1775422 part 4 - Use loadPtr/storePtr instead of load32/store32 in bailout code. r=iain
This shouldn't be perf-sensitive, but on 64-bit platforms it's more natural to copy
eight bytes at a time.

Depends on D149964

Differential Revision: https://phabricator.services.mozilla.com/D149965
2022-06-23 07:57:45 +00:00
Jan de Mooij 1b2fd9f817 Bug 1775422 part 3 - Set stack pointer in exception trampoline for exception bailouts. r=iain
The exception trampoline now uses a `Label` + `jump` to jump to the bailout tail
code, after setting the stack pointer to the `JitFrameLayout` of the bailing frame.

In the bailout tail code, we can now assert the stack pointer is what we expect
instead of clobbering it ourselves.

Depends on D149963

Differential Revision: https://phabricator.services.mozilla.com/D149964
2022-06-23 07:57:45 +00:00
Jan de Mooij ef28bcca07 Bug 1775422 part 2 - Split JitFrameLayout::argv in actualArgs and thisAndActualArgs. r=iain
The `argv` method on `BaselineFrame` does not include `this`, but the one on `JitFrameLayout` does.
We can be a bit more explicit about this.

Depends on D149962

Differential Revision: https://phabricator.services.mozilla.com/D149963
2022-06-23 07:57:45 +00:00
Jan de Mooij 4ba7510625 Bug 1775422 part 1 - Tidy up BaselineFrame methods. r=iain
* Some methods can forward to the implementation in `JitFrameLayout`.
* Replace `offsetOfFoo` methods with the ones from `JitFrameLayout` now that `FramePointerOffset` is gone.

The next patch will tidy up `JitFrameLayout::argv`.

Differential Revision: https://phabricator.services.mozilla.com/D149962
2022-06-23 07:57:44 +00:00
Jan de Mooij 58e0aed9a7 Bug 1773584 - Remove MemoryProtectionExceptionHandler and PageProtectingVector. r=nbp
`PageProtectingVector` has been unused since bug 1342023.

`MemoryProtectionExceptionHandler` was only used to annotate crashes affecting
`LifoAlloc` memory.

Differential Revision: https://phabricator.services.mozilla.com/D149993
2022-06-23 07:28:42 +00:00
Mozilla Releng Treescript 27d81b1f15 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> dac6909dbbfca552077518e96926143621f57fe2
da -> 064b136e449bae59a8db825fa10fa822cd9bc1bb
oc -> 8c99008bb680a7cb111fbea9131b0c8c89e42199
sv-SE -> 179c35d82a68478ff118c312c792f2c4193699e3
tg -> 4374d50935916f1ff33438fe41c51902dc08e7eb
vi -> 21911fb81d6636b15ab9387e3c6b13bd06e38765
zh-TW -> b9df733908cd7779b58840a3125ce7ae03f08030
2022-06-23 06:57:28 +00:00
James Teh 4c4dccc52b Bug 1774197 part 3: Correctly recurse into iframe documents in RemoteAccessibleBase::ChildAtPoint. r=morgan
We were previously looking for a doc (IsDoc), but we'll never get any doc in a viewport cache except for the doc whose viewport we are searching.
Instead, if we encounter an iframe, we'll hit an OuterDoc (IsOuterDoc) which is the Accessible for the iframe element.
In that case, we walk *inside* that OuterDoc to get its embedded document, then recurse from there if appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D149247
2022-06-23 04:57:04 +00:00
James Teh e03a5619fd Bug 1774197 part 2: Don't include the document in the viewport cache. r=morgan
Sometimes, the document occurs too early in the viewport cache, perhaps even right at the start.
We weren't benefitting from it being in the cache anyway, since we always skipped it.
We already have a fallback in ChildAtPoint for the case where we didn't find a matching Accessible, so we rely on that to handle returning the document when appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D149493
2022-06-23 04:57:04 +00:00
James Teh d73cd7641e Bug 1774197 part 1: Move sending of the viewport cache to ProcessQueuedCacheUpdates. r=morgan
This was moved to a post refresh observer on the misunderstanding that this would allow us to benefit from retained display lists.
In reality, it doesn't; work would need to be done in layout to benefit from those, and since there are different display lists for hit testing and painting, this may not be feasible anyway.
Furthermore, the post refresh implementation was broken because WillRefresh often removes the post refresh observer, which meant that a viewport cache update was never actually pushed!
We could fix this by adding the post refresh observer only if the viewport cache is dirty, removing the post refresh observer in DidRefresh and also removing the post refresh observer in Shutdown only if the viewport cache is dirty.
However, given that we can't benefit from retained display lists anyway, using a post refresh observer doesn't serve any purpose at this stage.
Among other things, this fixes intermittent problems with image maps, which often get inserted into the tree after the initial tree is built.

Differential Revision: https://phabricator.services.mozilla.com/D149492
2022-06-23 04:57:04 +00:00
Norisz Fay 139523b41a Merge mozilla-central to autoland CLOSED TREE 2022-06-23 06:57:05 +03:00
Norisz Fay 6f28fa663e Merge autoland to mozilla-central a=merge 2022-06-23 06:53:26 +03:00
Bas Schouten f14772d899 Bug 1775389: Collect and report the number of measurements done when using PerfStats. r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D149946
2022-06-23 03:39:06 +00:00
Kagami Sascha Rosylight 4398c93e79 Bug 1764771 - Disable IDBMutableHandle support by default r=janv,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143728
2022-06-23 01:57:56 +00:00
Masayuki Nakano b08b799b15 Bug 1770877 - part 38: Make `HTMLEditor::InsertParagraphSeparatorAsSubAction` stop updating `Selection` while handling its job r=m_kato
Finally, this patch makes it update `Selection` once after finishing its
preparation.

Differential Revision: https://phabricator.services.mozilla.com/D149109
2022-06-23 01:09:12 +00:00
Emilio Cobos Álvarez cbc2ce24e9 Bug 1772555 - Annotate a test as fuzzy as some other neighboring tests.
MANUAL PUSH: Orange fix CLOSED TREE
2022-06-23 03:08:49 +02:00
Jed Davis 6558ec1572 Bug 1771382 - Adjust the Linux RDD sandbox to handle the nvidia driver being loaded but not used. r=gcp
On multi-GPU systems, even though the GPU we're going to use for
accelerated video decoding is driven by Mesa, sometimes the nvidia
proprietary driver can be loaded and attempt to probe devices.  This
patch attempts to make the sandbox policy quietly return errors for
those syscalls, instead of treating them as unexpected (and crashing on
Nightly).

Differential Revision: https://phabricator.services.mozilla.com/D149652
2022-06-23 00:00:54 +00:00
Sam Foster 975b2d48ad Bug 1774015 - Adjust layout for fxview. r=Gijs
* Set root element font-size to 15px to align with the size we set on body (in common-shared.css), allowing predictability when scaling and zoom-friendly (rem) widths
* Remove the <main> grid column-gap and manage padding/gutter around/between content areas with the --content-area-gutter variable
* Use a consistent 32px between content areas
* Simplify <main> grid to 2 columns with 2/3, 1/3 width respectively.
* Add a max-width to the page content to correspond to 1440px and horizontally center it in larger viewports
* Move the colorways content inside right-most column (grid slot) rather than *be* the column.

Differential Revision: https://phabricator.services.mozilla.com/D149457
2022-06-22 23:50:55 +00:00
Danny Colin 411e5386db Bug 1701861 - Fix category name vertical alignment r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D149472
2022-06-22 23:21:39 +00:00
Emilio Cobos Álvarez cbb5b58f4d Bug 1772555 - Use style interpolation code for gradients. r=nical
This ensures they're clamped on Animated -> sRGB conversion, and in the
future we'll have to implement different color spaces so we'll need to
use it anyways.

Differential Revision: https://phabricator.services.mozilla.com/D149792
2022-06-22 23:02:34 +00:00
Andrew Osmond 3676efda31 Bug 1769739. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D146842
2022-06-22 22:43:15 +00:00
David Parks 96409faec1 Bug 1774694: Function, browser, media and volume keys should not hide cursor on Windows r=cmartin
Also includes the Fn key, which isn't documented to map to a special virtual key code but maps to 0xff, an undefined code, on tested machines.

Differential Revision: https://phabricator.services.mozilla.com/D149928
2022-06-22 22:37:27 +00:00
Emilio Cobos Álvarez bd09497378 Bug 1372276 - Remove HTML menuitem. r=smaug,mconley,agi
This removes HTMLMenuItemElement and all the code and tests preffed off
by dom.menuitem.enabled.

The HTML parser changes are the result of applying the previous patch.

Differential Revision: https://phabricator.services.mozilla.com/D149979
2022-06-22 22:31:42 +00:00
Ryan VanderMeulen 3ae00d82b4 Bug 1775185 - Add explicit keyword back to lines where it was removed during regeneration. r=markh
It's not clear why they were removed in the first place, but it breaks
the build for some people and newer protobuf/protoc releases add them
back anyway.

Differential Revision: https://phabricator.services.mozilla.com/D150007
2022-06-22 22:09:46 +00:00
Jonathan Watt 7f2c6b1154 Bug 1539730 - Implement swipe-to-nav back/forward in history on Linux. r=tnikkel
Ideally we'd use GDK_TOUCHPAD_SWIPE/GdkEventTouchpadSwipe (GTK's native events)
for this for the best compatibility with the the platform/other apps.
Unfortunately that seems complicated, so for now we use our SwipeTracker code
and make our own determination of what counts as a swipe.

Note that the pref widget.swipe.whole-page-pixel-size can be used to tweak
the swipe sensitivity.

Differential Revision: https://phabricator.services.mozilla.com/D149512
2022-06-22 22:08:38 +00:00
Edgar Chen e34d23e411 Bug 1775118 - Delay logging for focus event on toplevel window in order to ignore the inital focus event; r=hsivonen
I didn't aware there is any spec that ensure the order of load event and initial
focus event. It could be possible that the initial focus event comes after load
event and cause test failures. But I didn't figure out a way to detect whether
we should wait for the initial focus event, so just delay logging for focus
event a bit to ignore the initial one.

Differential Revision: https://phabricator.services.mozilla.com/D150002
2022-06-22 21:59:44 +00:00
Boris Chiou 6c723e6e0a Bug 1744850 - Drop ScrollTimeline:sTiming and introduce a normalized timing. r=birtles
`sTiming` is a hack and I believe animation-delay,
animation-iteration-count, animation-direction, and animation-fill-mode
should be meaningful for scroll-linked animations. (I will add the
tentative wpt in Bug 1775327.)

So we need to introduce a normalized timing when resolving the specified
timing.

Also, this patch makes the bug of printing scroll animations detectable.

No behavior is changed and I'd like to remove the magic values and do
normalization in Bug 1775327.

Note: Based on https://github.com/w3c/csswg-drafts/issues/4862 and
web-animations-2, we will introudce CSSNumberish for duration, current
time, and delay. That is, we will accept percentage for
animation-duration, animation-delay. However, Gecko doesn't support
CSSNumberish for those values, so we'd like to normalize these time values
in Bug 1775327. This patch is the 1st step: split the normalized
timing from the specified timing, and use it when resolving the
timing, for progress-based timeline.

Differential Revision: https://phabricator.services.mozilla.com/D149683
2022-06-22 21:19:30 +00:00
Michael Ratcliffe 8976ddfab0 Bug 1774687 - Stop debouncing with DeferredTask in DevTools r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D149575
2022-06-22 21:15:12 +00:00
Norisz Fay f628b0aef0 Backed out changeset 7904b2f23010 (bug 1775118) for causing wpt failures on focus-event-after-focusing-iframes.html CLOSED TREE 2022-06-23 00:27:25 +03:00