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

731075 Коммитов

Автор SHA1 Сообщение Дата
Zhao Jiazhong 26ac54e413 Bug 1671871 - [MIPS] Add tls dependency for truncate i32. r=lth
Port D89550 to mips platform.

Differential Revision: https://phabricator.services.mozilla.com/D93908
2020-10-20 01:08:00 +00:00
James Teh c3b6cf7e14 Bug 1665254: Label the closed caption button in video controls for a11y. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93905
2020-10-19 12:27:26 +00:00
Matt Woodrow b9ceca1cff Bug 1671061 - Pad IOSurface allocations for SWGL since it reads in chunks of 4 pixels. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D93612
2020-10-20 01:22:09 +00:00
Matt Woodrow 4f5c20e117 Bug 1671061 - Set BGRA format on IOSurfaces. r=mstange
Previously we weren't setting any format on these surfaces (despite the inputs being BGRA), and GetFormat was hitting the default: case to return RGBA.

CGLTexImageIOSurface2D binds these with a format of GL_BGRA, but an internal format of GL_RGBA, which is why returning RGBA from GetFormat was sometimes useful.

We return a format of RGBA as an outparam when binding to a texture, so this changes the callers that really want the GL internal format to use that rather than GetFormat.

Depends on D93610

Differential Revision: https://phabricator.services.mozilla.com/D93611
2020-10-19 22:27:23 +00:00
Matt Woodrow 9762081463 Bug 1671061 - Refactor IOSurface creation code to use shared helpers. r=mstange
This shouldn't have any behaviour changes, just removes some code duplication.

Differential Revision: https://phabricator.services.mozilla.com/D93610
2020-10-19 22:27:22 +00:00
sotaro 3ffa1ddc72 Bug 1671892 - Fix build failure with a patch of Bug 1671104 r=kats
When I applied a patch of Bug 1671104 locally, I saw a build failure.

Differential Revision: https://phabricator.services.mozilla.com/D93925
2020-10-19 12:53:13 +00:00
Emma Malysz 9117091762 Bug 1670008, Once margins are reevaluated, make sure it's possible to switch to "none" r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93136
2020-10-19 22:52:15 +00:00
Emma Malysz 7d8deb98e5 Bug 1669696: update custom margins if both values are valid r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93118
2020-10-19 22:48:16 +00:00
Masayuki Nakano 04027a5656 Bug 1607131 - Make `beforeinput` event for `MozEditableElement.setUserInput()` not cancelable by default r=smaug
Blink and WebKit do not fire `beforeinput` event when user uses build-in
password manager and autocomplete.  But the `inputType` value for this case,
`"insertReplacementText"` is defined as cancelable in the spec, and it's
actually cancelable when it's fired for correcting a word with built-in
spellchecker of them.

For making only our users' autocomplete and password manager not blocked by
web apps, we should make them not cancelable by default, but I think that we
should keep dispatching such non-cancelable `beforeinput` for conforming to
the standard unless we'd get a web-compat report for this.

Differential Revision: https://phabricator.services.mozilla.com/D93206
2020-10-20 00:13:43 +00:00
Shane Caraveo 10526405d7 Bug 1624513 add optional permission controls to about:addons r=rpl,mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D85801
2020-10-20 00:10:42 +00:00
Mike Hommey d77d26cd6d Partially backout changeset 609ac687f7e3 (bug 1644624) for tsan mochitest bustage. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D94064
2020-10-20 01:26:53 +00:00
Kirk Steuber 50ec360906 Bug 1672063 - Don't delete an update being worked on by another instance r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D94056
2020-10-19 23:14:39 +00:00
Kagami Sascha Rosylight 5a12264fb1 Bug 1669996 - Do not expose chromeonly nodes via Selection API r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D93258
2020-10-15 20:49:47 +00:00
Mike Hommey a22b90ec8c Bug 1671555 - Upgrade all toolchains using rust 1.41 to 1.47. r=firefox-build-system-reviewers,dmajor
And remove the rust 1.41 toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D93732
2020-10-16 15:57:03 +00:00
Narcis Beleuzu 1e7d4b5b37 Backed out changeset b75ab3fd88c9 (bug 1665411) for SM bustages on ProtectedData.h 2020-10-20 01:27:40 +03:00
Steven MacLeod 5c5d8d1beb Bug 1667286 - wait for requestFullscreen promise in browser_fullscreen_api_fission.js r=mconley
Before this change we were only waiting for the `fullscreenchange`
event in the frame that requested fullscreen. This event is fired
before the the promise returned by `requestFullscreen` is resolved.
We now wait on the returned promise to resolve in addition to the
event, which should delay when we check the logged events from
all the frames.

Differential Revision: https://phabricator.services.mozilla.com/D94017
2020-10-19 15:10:30 +00:00
Kartikaya Gupta 623072abc0 Bug 1654290 - When zooming, change the displayport shape to match the composition size. r=botond
Our existing displayport calculation heuristics generally favour a more vertical
displayport because that's the direction most scrolling occurs in. However, when
zooming, we actually want to try and preserve the aspect ratio of the composition
size, because zooming is an operation that scales the content equally on both
axes and favouring the y-axis in the displayport can result in more checkerboarding
on the x-axis.

Differential Revision: https://phabricator.services.mozilla.com/D93799
2020-10-19 19:41:18 +00:00
Kartikaya Gupta ff3ffcd4e8 Bug 1654290 - Force a repaint request when about to checkerboard during zooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D93798
2020-10-19 19:45:59 +00:00
Kartikaya Gupta 91c8b8de6e Bug 1654290 - Move the AboutToCheckerboard function to APZUtils. r=botond
No functional changes to the code, just some variable renaming and logging
removal.

Differential Revision: https://phabricator.services.mozilla.com/D93797
2020-10-19 21:55:47 +00:00
Gabriele Svelto b74208fdb6 Bug 1665411 - Use first-fit mutexes on macOS r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93319
2020-10-19 20:52:24 +00:00
Mike Hommey 5d0f00c246 Bug 1644624 - Upgrade builders to rustc 1.47. r=firefox-build-system-reviewers,dmajor
Also upgrade the ccov builds to clang 11, as they were stuck on clang 9
because of the older version of rust, and the new version of rust
requires to bump clang as well (due to code-coverage-related symbols
name change).

Differential Revision: https://phabricator.services.mozilla.com/D93731
2020-10-16 20:58:30 +00:00
Mike Hommey 1ee16dc4df Bug 1644624 - Optionally postprocess the compiler_builtins rlib when repacking rust. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93730
2020-10-16 15:52:15 +00:00
Mike Hommey 7e240e7af2 Bug 1644624 - Pass LLVM flags from PROFILE_GEN_CFLAGS to the rust compiler. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93729
2020-10-16 15:45:54 +00:00
Mike Hommey 5afb69830c Bug 1670156 - Use the same prefix/suffix for rust libraries on mingw builds. r=firefox-build-system-reviewers,dmajor
Rustc >= 1.44 changed the file names of the static libraries it
produces with -windows-gnu targets, to match that of mingw clang/gcc.

Considering we still build on 1.43, the best fix would be to derive the
prefix/suffix based on the version of rust, but that actually turns into
a hard-to-solve problem because of configure tests for bindgen also
depending on the prefix/suffix value to be known.

On the other hand, we're soon due to an update to 1.47, so the simpler
solution is to just push mingw builds to require 1.44 (settling for the
smallest upgrade possible for now) and to remove the split between C and
rust library prefix/suffixes.

Differential Revision: https://phabricator.services.mozilla.com/D93726
2020-10-16 16:06:19 +00:00
Mike Hommey 15db2adc30 Bug 1670156 - Switch 32-bits mingw clang to dwarf exceptions. r=tjr
That is what rust uses, and versions of rust >= 1.44 make the
discrepancy visible as a linker error on missing the _Unwind_Resume
symbol, so we need to align things.

Differential Revision: https://phabricator.services.mozilla.com/D93725
2020-10-16 12:51:22 +00:00
Narcis Beleuzu c50f12086b Merge mozilla-central to autoland 2020-10-20 00:40:51 +03:00
Narcis Beleuzu d493d96032 Merge autoland to mozilla-central. a=merge 2020-10-20 00:37:32 +03:00
Mike Hommey bd3416a215 Bug 1671542 - Get rust toolchain xz archives rather than gz from upstream. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D93722
2020-10-19 21:34:26 +00:00
Agi Sferro d6277732dc Bug 1672046 - Use correct URI from Event in GeckoViewProgress. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D94051
2020-10-19 21:03:13 +00:00
Narcis Beleuzu 9252175982 Backed out changeset e34634758f51 (bug 1671424) for bustages on configure.py . CLOSED TREE 2020-10-20 00:16:22 +03:00
Narcis Beleuzu 127dbfe779 Backed out changeset 19f174844357 (bug 1667787) for bc failure on browser_bug676619.js . CLOSED TREE 2020-10-20 00:11:01 +03:00
Narcis Beleuzu d54df1cd36 Backed out 12 changesets (bug 1626278) for mochitest leakchecks . CLOSED TREE
Backed out changeset eeed6ebfc444 (bug 1626278)
Backed out changeset cc2023032191 (bug 1626278)
Backed out changeset 15f89d2c5981 (bug 1626278)
Backed out changeset 1227d9db743d (bug 1626278)
Backed out changeset d91d9eb46983 (bug 1626278)
Backed out changeset 5861d6340ee8 (bug 1626278)
Backed out changeset 1cf19408d522 (bug 1626278)
Backed out changeset 90cf750aba51 (bug 1626278)
Backed out changeset 991bc13ae061 (bug 1626278)
Backed out changeset 8432bc08676e (bug 1626278)
Backed out changeset 5c0c76832287 (bug 1626278)
Backed out changeset 2f57fa13df7e (bug 1626278)
2020-10-19 22:58:59 +03:00
Narcis Beleuzu 1e5c5c405a Backed out 7 changesets (bug 1661304) for xpcshell failures on test_UserInteraction_annotations.js. CLOSED TREE
Backed out changeset 10459893968e (bug 1661304)
Backed out changeset 234f7dd34c95 (bug 1661304)
Backed out changeset e1954838e36f (bug 1661304)
Backed out changeset 6f0f76bb873d (bug 1661304)
Backed out changeset 5186bba48ce7 (bug 1661304)
Backed out changeset 442ce3a64bab (bug 1661304)
Backed out changeset 88b46f9a789e (bug 1661304)
2020-10-19 21:39:07 +03:00
Narcis Beleuzu 8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Aaron Klotz 1876a00d8b Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-19 18:17:16 +00:00
Mike Conley 5bdc893fa8 Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-19 17:43:09 +00:00
Mike Conley aaf06239d9 Bug 1661304 - Allow UserInteractions to clobber one another. r=chutten,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D93590
2020-10-19 17:42:51 +00:00
Mike Conley f4b73ffaff Bug 1661304 - Adding running() method to UserInteraction. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D93589
2020-10-19 17:42:28 +00:00
Mike Conley 39c88bb8d6 Bug 1661304 - Add tests for UserInteractions infrastructure. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D92810
2020-10-19 17:42:10 +00:00
Mike Conley d47ad5f8f1 Bug 1661304 - Introduce UserInteractions as things that can be defined statically at build-time. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88684
2020-10-19 17:41:49 +00:00
Mike Conley 69c8c5891d Bug 1661304 - Add an interface for front-end code to annotate background hang reports. r=dthayer,chutten,smaug
Differential Revision: https://phabricator.services.mozilla.com/D88309
2020-10-19 17:41:15 +00:00
Mike Conley 5f8f62eb7d Bug 1661304 - Make BHR annotations an array of key value pairs when submitted to Telemetry. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D92809
2020-10-19 17:45:30 +00:00
Aaron Klotz ae7021338d Bug 1650118: Part 5 - Update GeckoView changelog; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90934
2020-10-19 17:20:21 +00:00
Dzmitry Malyshau 5668f013a9 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 17:19:12 +00:00
Aaron Klotz 76f89ca028 Bug 1650118: Part 4 - Update api.txt; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90933
2020-10-19 16:54:10 +00:00
Aaron Klotz d9f179782b Bug 1650118: Part 3 - Update tests; r=geckoview-reviewers,agi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D90932
2020-10-19 16:54:08 +00:00
Aaron Klotz 9291057e69 Bug 1650118: Part 2 - Update GVE; r=agi
Differential Revision: https://phabricator.services.mozilla.com/D90930
2020-10-19 16:53:57 +00:00
Aaron Klotz 1709d6e45f Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-19 17:08:28 +00:00
Kartikaya Gupta 57da32766a Bug 1671284 - Don't drop APZ requests that have changed the zoom but not the scroll. r=botond
The APZCCallbackHelper code would only enter the codepath to set the presShell
resolution if the repaint request had a scroll position update. This seems silly
because really we care about whether or not the async zoom changed. The included
test exposes this silliness by demonstrating how the presShell resolution can
get stuck at an incorrect value because the necessary repaint requests get
ignored.

The patch now allows the SetResolutionAndScaleTo codepath to be entered if
there is an async zoom on the repaint request, so that we make sure to update
the presShell resolution even if the scroll position hasn't changed.

Differential Revision: https://phabricator.services.mozilla.com/D93687
2020-10-19 20:43:56 +00:00
Kartikaya Gupta 5e52615ca3 Bug 1671284 - Refactor zoom-out helpers to allow custom touch sequences. r=botond
Instead of a having a yield-style pinchZoomOutTouchSequenceAtCenter function
and a async pinchZoomOutWithTouchAtCenter wrapper around it, we now have an
general async wrapper synthesizeNativeTouchAndWaitForTransformEnd around the
main touch synthesization function, with pinchZoomOutWithTouchAtCenter being
a helper that uses it with a specific touch sequence.

In particular this allows reusing this code with other custom touch sequences,
which will happen in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D93686
2020-10-19 18:32:54 +00:00