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

818125 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 879de0046e Bug 1799343 - Fix a crashtest that try didn't catch.
I'll remove display: -moz-popup in bug 1799580.

MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-11-08 03:34:27 +01:00
Ryan Hunt 11b5fc3207 Bug 1799285 - wasm: Add missing ifdef. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D161465
2022-11-08 01:29:04 +00:00
Emilio Cobos Álvarez 5a17c94e25 Bug 1799343 - Remove another test whose expectation doesn't hold.
I'll remove display: -moz-popup in a bit.

MANUAL PUSH: Fixes a11y orange CLOSED TREE
2022-11-08 02:30:21 +01:00
Nika Layzell 798a46bd64 Bug 1790872 - Part 3: Add a unit test for the IPC sent/recvd message telemetry, r=ipc-reviewers,mccr8
This is done using the gtest framework, and adds a new protocol which has its
messages counted. As the IPDLUnitTest process doesn't count IPC messages with
glean, this only counts messages on the parent process side.

This test also checks that we don't count this information outside of nightly,
and that it isn't counted for messages sent within the same process.

Differential Revision: https://phabricator.services.mozilla.com/D158275
2022-11-08 01:11:12 +00:00
Nika Layzell a190397bee Bug 1790872 - Part 2: Make the process mode available to IPDL gtests, r=ipc-reviewers,mccr8
This will be useful in the next part to write a test with different behaviour
depending on whether it's cross-process.

Differential Revision: https://phabricator.services.mozilla.com/D158274
2022-11-08 01:11:12 +00:00
Nika Layzell 40c26a2ea0 Bug 1790872 - Part 1: Report glean telemetry about which IPC messages are being sent, r=florian,ipc-reviewers,mccr8
This will provide us with more information with which to discover what
IPC messages are being sent extremely frequently, especially from
background processes, and what we can do to avoid unnecessary wakeups.

This is intended for power usage work, and is being tracked in a similar
way to the thread wakeups work, based on process types, such that the
data can be compared between the two.

Differential Revision: https://phabricator.services.mozilla.com/D157855
2022-11-08 01:11:11 +00:00
Makoto Kato b330c6558e Bug 1799379 - Update bug components for GeckoView. r=geckoview-reviewers,calu
There is no Core: Widget - Android now, so we should update bug component of
widget/android. Also, I add GVE for GVE path.

Differential Revision: https://phabricator.services.mozilla.com/D161413
2022-11-08 01:07:43 +00:00
Emilio Cobos Álvarez 8a44079e57 Bug 1799343 - Remove another test whose expectation no longer holds.
Only nodes with popup display that get out of flow should be panel /
menupopup / tooltip.

MANUAL PUSH: Trivial reftest orange fix CLOSED TREE
2022-11-08 01:57:55 +01:00
Mike Hommey 1ed19c9524 Bug 1791476 - When clang is newer than rust's llvm, use clang sanitizer runtimes. r=firefox-build-system-reviewers,ahochheiden
To do so, we move cargo-linker from shell to python because it's more
convenient.

Differential Revision: https://phabricator.services.mozilla.com/D161010
2022-11-08 00:44:27 +00:00
Jan Varga 72de9eab21 Bug 1799392 - Fix NS_INTERFACE_MAP_END_INHERITING usage; r=saschanaz,dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D161414
2022-11-08 00:32:38 +00:00
sotaro 93ee669086 Bug 1798624 - Release image of SurfaceDescriptorD3D10 on Send-side after Ping response r=jgilbert,gfx-reviewers
GPUVideoTextureClient of SurfaceDescriptorD3D10 needs to be kept alive until WebGLParent::RecvTexImage() is handled by parent side.

Confirmed that test_conformance__textures__misc__texture-npot-video.html test failure was addressed.

Differential Revision: https://phabricator.services.mozilla.com/D161015
2022-11-08 00:32:17 +00:00
Emilio Cobos Álvarez 7c743cf916 Bug 1799343 - Simplify XUL popup handling. r=TYLin
* Make non-menulist popups just absolute positioned top-layer items.
 * Simplify menulist popups to just be static-positioned items under
   nsMenuFrame.

We need to keep kPopupList only for nsMenuFrame. In the future it can be
removed, see TODO in xul.css

Differential Revision: https://phabricator.services.mozilla.com/D161404
2022-11-08 00:18:00 +00:00
Sandor Molnar 7a39c6eef3 Backed out changeset c7f5349824c4 (bug 1799435) for causing crashes in mozilla::dom::HTMLImageElement::LoadSelectedImage CLOSED TREE 2022-11-08 02:39:14 +02:00
Sandor Molnar be5e068533 Backed out changeset fc4182143aad (bug 1706909) for causing crashes in nsCSSFrameConstructor::ConstructFramesFromItem 2022-11-08 02:35:20 +02:00
Sandor Molnar 6c10888096 Backed out changeset e6d5f17ee593 (bug 1794338) for causing asssertion/crashes in DocAccessibleParent CLOSED TREE 2022-11-08 02:01:41 +02:00
Geoff Brown 2ce19dcb79 Bug 1686596 - Retry fetch on IncompleteRead or other http exceptions; r=releng-reviewers,gabriel
IncompleteRead and BadStatusLine are instances of HTTPException - it seems
reasonable to retry on any http exception.

Differential Revision: https://phabricator.services.mozilla.com/D161532
2022-11-07 23:54:35 +00:00
Morgan Rae Reschenberg fd4344de10 Bug 1794626: Create invert_colors telemetry probe and maintain its value via LookAndFeel r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D159292
2022-11-07 23:49:20 +00:00
Kagami Sascha Rosylight 708cb4f5f5 Bug 1799483 - Simplify _execute_child with catch-all syntax r=releng-reviewers,gbrown
That syntax is added in Python 3.0 by https://peps.python.org/pep-3132/.

Differential Revision: https://phabricator.services.mozilla.com/D161484
2022-11-07 23:35:57 +00:00
Emilio Cobos Álvarez 75f4e85d71 Bug 1799535 - Clean-up autoplay prefs. r=alwu,geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D161518
2022-11-07 23:13:44 +00:00
Sammy Khamis 1388a6da46 Bug 1706909: QR code provided not fully displayed on small screens r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160867
2022-11-07 23:11:17 +00:00
James Teh 9af5d4ad20 Bug 1794338: Clear the BrowsingContext when shutting down a DocAccessibleParent. r=morgan
It might be possible for a short while to have a DocAccessibleParent which has been shut down but is still managed by its BrowserParent.
In that case, DocAccessibleParent::GetFrom might previously have found the document via its BrowsingContext, thus returning a destroyed document.
This could cause problems when returning the focus if the document itself was the last thing focused.
To fix this, clear the BrowsingContext when shutting down a DocAccessibleParent so that it can't be found this way.
There is one case during actor construction where we call MarkAsShutdown instead of Destroy, and MarkAsShutdown isn't supposed to do any cleanup.
To deal with this, don't set the BrowsingContext until we're sure we're not going to call MarkAsShutdown.
I also added an assertion to DocAccessibleParent::GetAccessible, since we should really never call that on a destroyed document.

Differential Revision: https://phabricator.services.mozilla.com/D161421
2022-11-07 23:07:57 +00:00
Eitan Isaacson ad2c6e2eae Bug 1781332 - Disable iframe accessKey tests. r=Jamie
There is a bug in DOM (bug 1796846) that prematurely registers
access keys before there is a presShell in iframes.

We will get better coverage for our module if we disable the
iframe tests and enable it on mac.

Differential Revision: https://phabricator.services.mozilla.com/D161377
2022-11-07 23:00:42 +00:00
Morgan Rae Reschenberg 714fc71f61 Bug 1799219: Add untilCacheIs checks when verifying input values r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D161345
2022-11-07 22:52:50 +00:00
alwu 5704ca1fd2 Bug 1782366 - part2 : mapping audio extension to 'video/mp4' as well. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D157685
2022-11-07 22:43:26 +00:00
alwu f69e8f3502 Bug 1782366 - part1 : don't use space in the pattern. r=padenot
Although standard ftyp type contains spaces sometimes, in reality, not all of files follow this rule and they sometime skip the space.

In order to increase the tolerance of parsing, we should allow ftyp without having spaces but with correct name. Eg. "M4A " v.s. "M4A".

Differential Revision: https://phabricator.services.mozilla.com/D157684
2022-11-07 22:43:25 +00:00
Sandor Molnar dd9e307496 Backed out 3 changesets (bug 1796690) for causing mochitest failures in browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js CLOSED TREE
Backed out changeset 5040c6736ee7 (bug 1796690)
Backed out changeset d86f25e5b636 (bug 1796690)
Backed out changeset 887104a60dc4 (bug 1796690)
2022-11-08 01:20:27 +02:00
Paul Bone b58db9232d Bug 1760920 - pt 15. Fix timing in a test leading to a failure r=florian
Sometimes this entry can be at the bottom of the table and therefore there's
no nextSibling.

Differential Revision: https://phabricator.services.mozilla.com/D161003
2022-11-07 22:36:41 +00:00
Paul Bone 044a10079a Bug 1760920 - pt 14. Test that workers memory usage is reported r=florian
Differential Revision: https://phabricator.services.mozilla.com/D160341
2022-11-07 22:36:40 +00:00
Paul Bone 876e44596b Bug 1760920 - pt 13. Count all the JS memory for web workers r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D150391
2022-11-07 22:36:40 +00:00
Paul Bone 98928c6ed0 Bug 1760920 - pt 12. Make AddWindowTabSizes static r=nika
This function is only called from this .cpp file so it can be static.

Differential Revision: https://phabricator.services.mozilla.com/D146895
2022-11-07 22:36:40 +00:00
Paul Bone 670efb0a53 Bug 1760920 - pt 11. Remove dead GetTabSizes function r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146894
2022-11-07 22:36:39 +00:00
Paul Bone 7482f9e4fd Bug 1760920 - pt 10. Count only the media resources belonging to the document r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D146893
2022-11-07 22:36:39 +00:00
Paul Bone a5bbf4a831 Bug 1760920 - pt 9. Don't count shared memory more than once r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D146678
2022-11-07 22:36:38 +00:00
Paul Bone 4a20204e4e Bug 1760920 - pt 8. Query memory per zone r=jonco
Since the caller usually needs to know the zone anyway, this seems simpler
if we query based on the zone rather than the object.

Differential Revision: https://phabricator.services.mozilla.com/D146677
2022-11-07 22:36:38 +00:00
Paul Bone 74b579a5ca Bug 1760920 - pt 7. Add a test for memory in about:performance r=florian
Differential Revision: https://phabricator.services.mozilla.com/D159855
2022-11-07 22:36:38 +00:00
Paul Bone ede9007b4e Bug 1760920 - pt 6. Capture memory usage from the document global r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146676
2022-11-07 22:36:37 +00:00
Paul Bone 5f5c01cd8b Bug 1760920 - pt 5. Include memory usage from JS's malloc and JIT usage r=jonco,nika
Differential Revision: https://phabricator.services.mozilla.com/D141075
2022-11-07 22:36:37 +00:00
Paul Bone da6264ca04 Bug 1760920 - pt 4. Remove CollectMemoryInfo(RefPtr<BrowsingContext> &, _) r=nika
Remove this 2nd unnecessary code path.

Differential Revision: https://phabricator.services.mozilla.com/D146675
2022-11-07 22:36:36 +00:00
Paul Bone 60f88e6a18 Bug 1760920 - pt 3. Fix potential double-counting windows r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146674
2022-11-07 22:36:36 +00:00
Paul Bone ce53fba78c Bug 1760920 - pt 2b. Worker debugger can query the doc group r=dom-worker-reviewers,asuth,smaug
I want to remove CollectMemoryInfo(BrowsingContext*, _), but asuth suggested
that a lot of this code was questionable.  Now it should be thread safe and
measure the correct memory.

Differential Revision: https://phabricator.services.mozilla.com/D146673
2022-11-07 22:36:36 +00:00
Paul Bone 87f5de6094 Bug 1760920 - pt 2a. Provide GetGCHeapUsage r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D158626
2022-11-07 22:36:35 +00:00
Paul Bone f45468f8dd Bug 1760920 - pt 1. Test about:performance with web workers r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152706
2022-11-07 22:36:35 +00:00
Emilio Cobos Álvarez 68c342910f Bug 1799435 - Make RFP checks faster. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161447
2022-11-07 22:23:50 +00:00
Mike Hommey c7eb03d629 Bug 1799062 - Update builders to clang 15.0.4. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161240
2022-11-07 22:22:15 +00:00
Brad Werth 11d3c18e08 Bug 1798532 Part 2: Test display of a JPEG with 0xb6 markers. r=tnikkel
This has been edited to add one 0xb6 marker after the header, and one
after the end of image marker.

Depends on D161187

Differential Revision: https://phabricator.services.mozilla.com/D161332
2022-11-07 22:20:36 +00:00
Brad Werth cbb5bf5c93 Bug 1798532 Part 1: Ignore JPEG unknown markers. r=tnikkel
This will push through any unknown marker errors from libjpeg, but still
fail for other errors. Dropping markers prevents infinite loops in processing.

Differential Revision: https://phabricator.services.mozilla.com/D161187
2022-11-07 22:20:36 +00:00
Mike Hommey 349711b16d Bug 1798865 - Use the right llvm-symbolizer on spidermonkey builds. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D161206
2022-11-07 22:19:43 +00:00
Christian Holler 1021958950 Bug 1798865 - Adjust llvm-symbolizer lookup order. r=glandium,andi
Differential Revision: https://phabricator.services.mozilla.com/D161138
2022-11-07 22:19:43 +00:00
Mike Hommey f974900d4f Bug 1799041 - Remove unnecessary dependencies on cctools-port. r=firefox-build-system-reviewers,nalexander
In clang tasks, cctools-port is used to merge macos compiler-rts, or to
build clang itself for macos hosts. It's not needed for tasks for
non-macos hosts that don't depend on compiler-rt.

Differential Revision: https://phabricator.services.mozilla.com/D161223
2022-11-07 22:19:16 +00:00
Mike Hommey 8de8afc061 Bug 1798613 - Revert llvm-symbolizer change that causes timeouts in some cases. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161249
2022-11-07 22:15:55 +00:00