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

785388 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 722d7cd010 Bug 1755415 - Stop using cctools to build mac compiler-rt. r=firefox-build-system-reviewers,mhentges
This allows to build the compiler-rt earlier.

Differential Revision: https://phabricator.services.mozilla.com/D138747
2022-02-16 08:24:40 +00:00
Mike Hommey 3718f96ea3 Bug 1755415 - Create tasks for the linux x86 and x64 compiler-rt. r=firefox-build-system-reviewers,mhentges
Use lld to build them (as well as aarch64 linux compiler-rt).

While here, remove redundant CMAKE_SHARED_LINKER_FLAGS in the Android case.

Differential Revision: https://phabricator.services.mozilla.com/D138746
2022-02-16 08:24:39 +00:00
Mike Hommey aaf5a314c5 Bug 1755415 - Encode the target in the compiler-rt artifact/directory. r=firefox-build-system-reviewers,mhentges
This simplifies the setup for cross clang repacks.

Also use `ninja install` to get all the relevant things in the artifact.

Differential Revision: https://phabricator.services.mozilla.com/D138745
2022-02-16 08:24:39 +00:00
Mike Hommey 37fcdf3f08 Bug 1755379 - Build cctools with the stage1 clang. r=firefox-build-system-reviewers,mhentges
Bug 1752977 attempted to do that, but that part had to be backed out as
a fixup because it broke LTO support for the linker.

To make it work, cctools needs to link against clang's libLTO, which
requires libLTO to be built with the toolchain sysroot. But system GCC
doesn't support that in a nice way, so we switch to system clang. We
explicitly don't use /usr/bin/clang++ because that would use the system
libstdc++ headers instead of the ones from the sysroot, while using
/usr/lib/llvm-11/bin/clang++ uses the ones from the sysroot.

We keep building clang 5.0 with gcc, though, because that one fails to
build with clang 11.

Differential Revision: https://phabricator.services.mozilla.com/D138712
2022-02-16 08:20:25 +00:00
Marian-Vasile Laza 1004df96d4 Backed out changeset 0ef0b43b28f1 (bug 1736844) for causing gtest failures. CLOSED TREE 2022-02-16 09:27:30 +02:00
Marian-Vasile Laza b50ccf641b Backed out changeset 66db45689d25 (bug 1755600) for causing web-platform failures on image-compositing-large-scale-change.html. 2022-02-16 09:20:55 +02:00
Hiroyuki Ikezoe 0816f1644d Bug 1755600 - Add a meta viewport tag to image-compositing-large-scale-change.html to avoid auto scaling down. r=tnikkel
With enabling apz.allow_zooming, both test and reference contents are scaled
down on mobile environments but the scaled size is different because the content
width is different.

Differential Revision: https://phabricator.services.mozilla.com/D138874
2022-02-16 06:42:40 +00:00
Hiroyuki Ikezoe 5f2996def4 Bug 1755422 - Set swipe tracker prefs in browser_test_swipe_gesture.js. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D138861
2022-02-16 06:42:20 +00:00
Julian Descottes 45ba1a81d3 Bug 1755317 - [remote] Only validate origin headers if BiDi is enabled r=webdriver-reviewers,whimboo
When BiDi is disabled, skip the origin header check to support existing CDP clients.

Differential Revision: https://phabricator.services.mozilla.com/D138705
2022-02-16 06:25:35 +00:00
Haiyang Xu 4f8cc77665 Bug 1736844 - Add interrupt flag to storage service methods opening database; r=dom-storage-reviewers,mak,janv
* The same flags can be used to enable other features such as extented error codes

Differential Revision: https://phabricator.services.mozilla.com/D129023
2022-02-16 06:08:11 +00:00
smolnar b6b47412cb Backed out changeset 54f67e85078b (bug 1751781) for causing bug 1754972. CLOSED TREE 2022-02-16 07:24:33 +02:00
James Teh f68810ef92 Bug 1755229: Call MaybeQueueCacheUpdateForStyleChanges from PruneOrInsertSubtree to handle reconstructed frames. r=morgan,emilio
We already call MaybeQueueCacheUpdateForStyleChanges from DidSetComputedStyle for reconstructed frames.
However, at that point, nsIContent::GetPrimaryFrame (and thus LocalAccessible::GetFrame) returns null, which means we're unable to check for style changes.
Instead, we now handle style changes for reconstructed frames in PruneOrInsertSubtree, at which point the frame is definitely available.

Differential Revision: https://phabricator.services.mozilla.com/D138627
2022-02-16 02:11:57 +00:00
Gerald Squelart 145d60ef59 Bug 1754358 - Revert bug 1749978 that leaked non-empty profiling stacks on destruction - r=canaltinova
Now that the main cause of broken stacks (LoaderObserver) has been removed, we reinstate the path to this assertion, which should trigger much less or not at all.

Differential Revision: https://phabricator.services.mozilla.com/D138241
2022-02-16 00:25:27 +00:00
Tooru Fujisawa f98f70839d Bug 1755417 - Remove unused lastColumn_ field from SourceLocation. r=ochameau
Depends on D138761

Differential Revision: https://phabricator.services.mozilla.com/D138762
2022-02-16 00:12:59 +00:00
Tooru Fujisawa 31d78c84bf Bug 1755406 - Part 2: Update debugger document for introductionType. r=nbp
Depends on D138760

Differential Revision: https://phabricator.services.mozilla.com/D138761
2022-02-16 00:12:59 +00:00
Tooru Fujisawa 9b2ab215bf Bug 1755406 - Part 1: Remove isHiddenSource. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D138760
2022-02-16 00:12:58 +00:00
Nils Ohlmeier 1f04e76928 Bug 1754027: disable SSRC changes for bundled audio RTP r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D138244
2022-02-16 00:02:04 +00:00
Randell Jesup 1415ca78a7 Bug 1747282: dom/media/File* cleanup r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D138509
2022-02-15 23:39:11 +00:00
Eitan Isaacson 6063921e0f Bug 1752380 - P2: Don't cache ancestor actions directly. r=morgan
When a linkable accessible has an action because of an ancestor, don't
cache it directly, but instead walk up in the parent process to find it.

Depends on D137200

Differential Revision: https://phabricator.services.mozilla.com/D137201
2022-02-15 23:20:11 +00:00
Eitan Isaacson c61f9c123e Bug 1752380 - P1: Introduce HasPrimaryAction and remove redundant DoAction/ActionCount implementation. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D137200
2022-02-15 23:20:11 +00:00
smolnar 33c038ec0d Backed out 6 changesets (bug 1753836) for causing mochitest failures in test_event_screenXY_with_zoom. CLOSED TREE
Backed out changeset a572cbc0fac2 (bug 1753836)
Backed out changeset 371a495ff728 (bug 1753836)
Backed out changeset 774af76be463 (bug 1753836)
Backed out changeset faa8a8f2d40f (bug 1753836)
Backed out changeset 9209832ecffe (bug 1753836)
Backed out changeset db443ce0406d (bug 1753836)
2022-02-16 01:47:51 +02:00
smolnar bb55d9849f Backed out changeset 9682c9f452e6 (bug 1724088) for causing android wr failures. 2022-02-16 01:43:24 +02:00
Dana Keeler f05d29b7f8 Bug 1754217 - remove brittle time format APIs from nsIX509CertValidity r=jschanck
nsIX509CertValidity had a handful of APIs that would return formatted time
values. Some of these APIs were unused, and the rest were prone to error due to
platform differences. This patch simplifies this interface by removing those
APIs and having callers perform their own formatting using the remaining APIs
that return PRTime values.

Differential Revision: https://phabricator.services.mozilla.com/D138363
2022-02-15 22:55:02 +00:00
Shazib Summar b8d30e610b Bug 1617283 - Removed COM violations and shifted AudioSession to MTA r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D136377
2022-02-15 22:28:41 +00:00
Emilio Cobos Álvarez 85ca45545e Bug 1753836 - Make window screen and event screen coordinates consistent. r=jfkthame
This basically undoes bug 1246346. The current behavior is pretty bizarre,
the screenX origin / position doesn't match the mouse event coordinates,
because on windows we return device pixels rather than CSS pixels for the
window coordinates.

This makes behavior consistent with how other browsers report these coordinates
at least on Windows in non-mixed DPI mode, and I think is fine.

In mixed DPI mode, there might indeed be overlapping coordinates, but again I
think that's fine, because the CSS coordinate space of the different monitors
is different.  You need to multiply by the devicePixelRatio if you want
coordinates not to overlap.

Depends on D138039

Differential Revision: https://phabricator.services.mozilla.com/D138130
2022-02-15 22:25:05 +00:00
Emilio Cobos Álvarez c879265a3a Bug 1753836 - Fix callers of screenForRect to pass desktop pixels. r=jfkthame,Gijs
Device pixels and desktop pixels are not the same on macOS and Win7.
Expose the desktop-to-device scale to JS and use it appropriately.

Depends on D138038

Differential Revision: https://phabricator.services.mozilla.com/D138039
2022-02-15 22:25:04 +00:00
Emilio Cobos Álvarez 9562b5b209 Bug 1753836 - Document why ContentDelegateChild doesn't need changes due to the change above. r=agi
Android has no full-page zoom, so we are not meaningfully changing behavior.

However, these values are exposed to the GeckoView JS api, surprisingly, yet
viewport scaling and so on can change the CSS to device pixel ratio...

Shouldn't we expose device pixels there instead? Or do the api consumers assume
that those CSS pixels are scaled to the device scale factor somehow (and that's
not working)?

Depends on D138037

Differential Revision: https://phabricator.services.mozilla.com/D138038
2022-02-15 22:25:04 +00:00
Emilio Cobos Álvarez 9b5b35c3f1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-15 22:25:04 +00:00
Emilio Cobos Álvarez ae19fa64f0 Bug 1753836 - Fix AutoScroll code to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138035

Differential Revision: https://phabricator.services.mozilla.com/D138036
2022-02-15 22:25:03 +00:00
Emilio Cobos Álvarez eb3997bacd Bug 1753836 - Make Event.screenX/screenY return page CSS coordinates. r=smaug,jfkthame
We report window.screen coordinates in CSS space, so it makes sense to do
the same for screen-relative offsets. This requires some front-end fixes
incoming in following patches.

Differential Revision: https://phabricator.services.mozilla.com/D138035
2022-02-15 22:25:03 +00:00
Markus Stange f49441e60a Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D121784
2022-02-15 22:22:35 +00:00
smolnar cae7dd6b81 Backed out 3 changesets (bug 1742674) for causing build bustages in mozapps/defaultagent/Registry. CLOSED TREE
Backed out changeset effa8994ce2e (bug 1742674)
Backed out changeset f3c187a9efff (bug 1742674)
Backed out changeset 4cf5d60bd028 (bug 1742674)
2022-02-16 00:09:35 +02:00
Emilio Cobos Álvarez ab3a92e515 Bug 1440506 - Do not destroy dropdowns on reframe. r=dholbert
We switch the open state storage to the element rather than the frame,
to be able to preserve it across reframes.

The code is loosely based on nsHideViewer in nsSubDocument.cpp, but it's
simpler because we don't need to do restoration shenanigans.

Differential Revision: https://phabricator.services.mozilla.com/D138689
2022-02-15 22:00:27 +00:00
Yury Delendik a675e18147 Bug 1751488 - Optimize v128.bitselect when it follows comparison op. r=jseward
* Use XXXX.laneselect equivalent
* Fix laneselect for AVX encoding

Differential Revision: https://phabricator.services.mozilla.com/D138493
2022-02-15 21:45:18 +00:00
Meg Viar 09b2e39be6 Bug 1752937 - Allow configuring each screen position for corner vs center styling r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D137879
2022-02-15 21:40:26 +00:00
Niklas Baumgardner be1e57d469 Bug 1754984 - Enabled PiP telemetry before opening PiP window. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D138833
2022-02-15 21:38:06 +00:00
Lee Salzman 9dee6a394e Bug 1755459 - Handle negative skew in skew_bitmap. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D138845
2022-02-15 21:34:08 +00:00
Meg Viar e63ca6f108 Bug 1755538 Update ReturnToAMO Component to use backdrop r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D138844
2022-02-15 21:17:48 +00:00
Nicholas Rishel 43ada8556f Bug 1742674 - Add telemetry for default PDF viewer. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D136814
2022-02-15 21:09:39 +00:00
Nicholas Rishel c0dd18c58a Bug 1742674 - Pre: Pull default agent's UTF-8 and UTF-16 conversions into generic functions. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D137498
2022-02-15 21:09:38 +00:00
Nicholas Rishel 4f328905dd Bug 1742674 - Pre: Remove unused headers, scope raw pointer later wrapped in smart pointer, and use nullptr instead of NULL. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D137059
2022-02-15 21:09:38 +00:00
Cosmin Sabou 543a524871 Merge mozilla-central to autoland. 2022-02-15 23:01:57 +02:00
Emilio Cobos Álvarez 691a4fb3ae Bug 1754858 - Only avoid orientation unlock call on destructor, to fix OrientationDelegateTest.orientationUnlock.
MANUAL PUSH: Trivial fixup CLOSED TREE
2022-02-15 22:41:12 +01:00
Cosmin Sabou 3de1b6791e Merge autoland to mozilla-central. a=merge 2022-02-15 22:58:45 +02:00
Emily McMinn 0bac079eed Bug 1754646 - Extend BROWSER_ATTRIBUTION_ERRORS probe indefinitely r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D138721
2022-02-15 20:34:56 +00:00
Jamie Nicol cce5174d73 Bug 1755375 - Don't generate crash reports when android kills the GPU process. r=agi
If the android system kills the GPU process then ChildCrashHandler.jsm
gets invoked but an empty dump ID. Currently we generate a crash
report anyway, which is resulting in lots of "EMPTY: no crashing
thread identified; ERROR_NO_MINIDUMP_HEADER" crashes.

Instead, we should return early before starting the crash reporter if
the dump ID is empty. We already do this for content processes, so
this patch makes us do so for every type of process.

Differential Revision: https://phabricator.services.mozilla.com/D138766
2022-02-15 20:26:12 +00:00
Emilio Cobos Álvarez 28290f66db Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers
Make the ScreenOrientation part of the screen struct, as it should. Stop
using HAL to propagate just screen orientation updates, use the more
general screen manager.

Instead of HAL observers, add a simple observer service notification,
and clean a bunch of the code.

This will simplify bug 1754802 a bit, and is generally simpler.
Shouldn't change behavior. I've tested the events and some common
orientation locking use cases like Youtube, and they behave the same.

Differential Revision: https://phabricator.services.mozilla.com/D138477
2022-02-15 20:22:54 +00:00
Alexandre Lissy 999c849e35 Bug 1754658 - Extend buildID mismatch false-positive deadline extension r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D138651
2022-02-15 19:48:20 +00:00
Emilio Cobos Álvarez 60d3076116 Bug 1753847 - Annotate a test as fuzzy rather than random-ish. r=dholbert
See try run: https://treeherder.mozilla.org/jobs?repo=try&revision=5ec4c56ea49fed4d63938bf62e5ad92ebf362ddc

Differential Revision: https://phabricator.services.mozilla.com/D138828
2022-02-15 19:47:29 +00:00
Jonathan Kew 0d504da0d2 Bug 1755179 - Add a missing null-check in gfxFontGroup::GetDefaultFont(), for better crash reports in the case where the default font is unusable. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D138798
2022-02-15 19:29:51 +00:00