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

18199 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 3b8fc2b4eb Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-30 20:27:39 +00:00
Robert Mader c80d09e4de Bug 1617002 - Rework GTK opaque region handling. r=stransky
* always update the opaque region if the toplevel window allocation
changes - this fixes opaque regions on X11 with WR and OGL renderers,
as GTK resets the opaque region in this case. The previous solution
was modeled similar to what's done on Windows - we have to follow GTK
though.
 * use `gdk_window_set_opaque_region` also for Wayland - this fixes
occasional glitches where the opaque region was not properly updated.
Let GTK handle that instead, as it has better control of the internals.
 * remove a failed attempt to work around bug 1615098 from
MozContainerWayland
 * repurpose `widget.wayland.use-opaque-region` for subsurface opaque
regions and disable it by default. We want to enable it again eventually
and not all Wayland compositors suffer from bug 1615098
 * some cleanups - some optimizations should not be needed anymore now

Unfortunately this does not cover the classic title bar yet - that will
need to be done in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D84024
2020-07-30 18:28:42 +00:00
Stephen A Pohl 09651af1bd Bug 1640195: Address UX feedback for non-native widget styling. r=geckoview-reviewers,emilio,agi
Differential Revision: https://phabricator.services.mozilla.com/D76509
2020-07-30 17:02:02 +00:00
Dragana Damjanovic d16e97fa44 Bug 1655782 - Turn on the QPACK dynamic table. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D85176
2020-07-30 06:40:37 +00:00
Tom Schuster c1bd3dfbba Bug 1569123 - Re-enable strict MIME type checking for Worker/SharedWorker everywhere. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85138
2020-07-28 15:43:37 +00:00
Chris Peterson fd3e777d61 Bug 1652914 - Part 1: Replace MOZ_STATIC_ASSERT with static_assert in C code. r=jwalden
static_assert is available in both C++11 and C11. While C++11's static_assert is a keyword, C11's static_assert is a macro defined in assert.h (that expands to the C11 keywoard _Static_assert). libar's header files are included in both C and C++ code, so we must #include assert.h to use static_assert.

https://en.cppreference.com/w/c/language/_Static_assert

Differential Revision: https://phabricator.services.mozilla.com/D83736
2020-07-17 02:48:19 +00:00
Brindusan Cristian 56bb74ea8e Backed out changeset 3ebab9ec3685 (bug 1653182) as requested by cpeterson for being a duplicate patch. CLOSED TREE 2020-07-30 09:02:15 +03:00
Chris Peterson 623b18b9f5 Bug 1653182 - Part 1: Compile libmar as C11. r=nalexander,mhowell
Compile libmar as C11 so we can replace MOZ_STATIC_ASSERT() with static_assert() (bug 1652914).

Differential Revision: https://phabricator.services.mozilla.com/D85119
2020-07-29 19:12:20 +00:00
Chris Peterson cbf9e68b2f Bug 1653182 - Part 1: Compile libmar as C11. r=nalexander,mhowell
Compile libmar as C11 so we can replace MOZ_STATIC_ASSERT() with static_assert() (bug 1652914).

Differential Revision: https://phabricator.services.mozilla.com/D85119
2020-07-29 19:12:20 +00:00
Noemi Erli 4d01914553 Backed out changeset 4fbc6775e743 (bug 1640195) for causing multiple failures CLOSED TREE 2020-07-30 02:58:03 +03:00
Stephen A Pohl 597bb7d3e0 Bug 1640195: Address UX feedback for non-native widget styling. r=geckoview-reviewers,emilio,agi
Differential Revision: https://phabricator.services.mozilla.com/D76509
2020-07-29 22:16:06 +00:00
Alexander Surkov d5426056b8 Bug 1655722 - implement HTML:inert attribute r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85190
2020-07-29 17:24:04 +00:00
Sebastian Streich 9644a40740 Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-07-29 11:50:09 +00:00
Dorel Luca 3714922d1b Backed out changeset 9e9c50bbb2f3 (bug 546052) for build bustage on Linux. CLOSED TREE 2020-07-29 02:12:55 +03:00
Zeke Medley 1f9a50dd97 Bug 546052 - Add parsing for cross-fade from CSS Image Values and Replaced Content Module Level 4 r=emilio
This is the first of what will likely be a couple patches for
cross-fade's implementation. Bug 546052 tracks it's complete
implementation.

Differential Revision: https://phabricator.services.mozilla.com/D81889
2020-07-28 22:18:31 +00:00
Ryan Hunt d03c6c2687 Bug 1651799 - Don't set reference-types pref when compile-flag is not set. r=bbouvier
The pref will have no effect if the compile-flag isn't set, but this can confuse
some users who will see the pref in about:config.

Differential Revision: https://phabricator.services.mozilla.com/D83422
2020-07-27 21:12:25 +00:00
Tim Nguyen f4e86cd6e4 Bug 558594 - Implement layout for <input type='search'>. r=emilio,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D56302
2020-07-27 12:09:40 +00:00
Butkovits Atila cf561cece0 Backed out 5 changesets (bug 1652144, bug 1654569, bug 1652085) for assertion failure nsDocShell.cpp. CLOSED TREE
Backed out changeset 4388af0c7d95 (bug 1654569)
Backed out changeset 66d5bb2ff027 (bug 1652085)
Backed out changeset 05132c178b4f (bug 1652144)
Backed out changeset fbdc7fd9cb96 (bug 1652144)
Backed out changeset 920a06a52b8b (bug 1652144)
2020-07-26 11:12:52 +03:00
Nika Layzell b4964689b9 Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-24 20:24:43 +00:00
Timothy Nikkel ee604b3f2c Bug 1655160. Disable new desktop zooming scrollbar code for now. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D84861
2020-07-24 20:10:10 +00:00
Martin Stransky ce7f53a5ec Bug 1645776 [Linux/Gtk] Workspace restore - get window manager name only when XDG_CURRENT_DESKTOP is missing and check/ship widget.disable-workspace-management to disable it, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D84515
2020-07-24 11:59:38 +00:00
Ricky Stewart 3419d4de1d Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj,mccr8
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-23 22:00:46 +00:00
Dorel Luca b992d3ed4c Backed out changeset 9168828ce9e9 (bug 1654589) as requested by dev for breaking fuzzy on a build. CLOSED TREE 2020-07-23 22:33:52 +03:00
Ricky Stewart 72fd050de5 Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-23 17:30:18 +00:00
Andrew Osmond 4cc0447d5a Bug 1653443 - Disable the GPU process on Linux even with hardware compositing. r=nical
This effectively reverts bug 1549965 and disables the GPU
process on Linux. We would only turn it on with OpenGL and
WebRender compositing, which was for half of nightly users,
and 1-2% of release users.

See bug 1653444 for a list of bugs blocking re-enabling
the GPU process on Linux.

Differential Revision: https://phabricator.services.mozilla.com/D83871
2020-07-20 19:34:40 +00:00
prathiksha 6eb0db8b4b Bug 1593467 - Automatically restore from logins-backup.json when logins.json is missing or corrupt. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D81502
2020-07-23 06:55:09 +00:00
Timothy Nikkel 9665488d31 Bug 1651332. Create a pref to gate the new scrollbar code on. r=kats
I could have use apz.allow_zooming but using a separate pref means we can flip the pref to check if the new scrollbar code is the source of a regression. Also I haven't tested the code on Fenix at all, so we can disable it there for now.

Differential Revision: https://phabricator.services.mozilla.com/D82684
2020-07-19 10:04:04 +00:00
Narcis Beleuzu 37cb83a398 Backed out 2 changesets (bug 921504) for wpt failures on inert-retargeting-iframe.tentative.html . CLOSED TREE
Backed out changeset 8b75cd744e80 (bug 921504)
Backed out changeset a56b2d354613 (bug 921504)
2020-07-22 23:53:55 +03:00
Butkovits Atila 39f2bd0971 Backed out changeset e890ed131173 (bug 1654589) for bustage at Punion_Uncomparable.ipdl. CLOSED TREE 2020-07-22 23:01:51 +03:00
Alexander Surkov 1c382cad65 Bug 921504 - implement HTML:inert r=emilio,heycam
Differential Revision: https://phabricator.services.mozilla.com/D81701
2020-07-22 04:26:08 +00:00
Ricky Stewart 9ac27d3247 Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-22 17:05:24 +00:00
Tim Huang 748ddb821d Bug 1647825 - Part 1: Add the UI for enable reporting XFO and CSP:frame-ancestors error. r=ckerschb,nhnt11
This patch adds the UI for allowing users to enable reporting XFO error.
The reporting UI will be displayed in the error page if the error is a
XFO error.

Differential Revision: https://phabricator.services.mozilla.com/D82331
2020-07-22 15:12:38 +00:00
Mike Conley 0ecf241b5d Bug 1653663 - Add experimental Picture-in-Picture toggle variations. r=mstriemer,flod
media.videocontrols.picture-in-picture.video-toggle.mode controls the toggle variation.
Valid values are -1 (default, what we currently ship), 1 and 2.

media.videocontrols.picture-in-picture.video-toggle.position controls the toggle variation
position. Valid values are "left" and "right" (default).

Differential Revision: https://phabricator.services.mozilla.com/D84032
2020-07-22 16:02:13 +00:00
Simon Giesecke 5d84dbbe42 Bug 1653231 - Change SharedPrefMapBuilder::Add to accept a const nsCString&. r=njn
Depends on D84141

Differential Revision: https://phabricator.services.mozilla.com/D84142
2020-07-21 06:35:44 +00:00
Simon Giesecke 3397331765 Bug 1653231 - Store a nsDependentCString in Pref. r=njn
Depends on D83918

Differential Revision: https://phabricator.services.mozilla.com/D84141
2020-07-21 06:35:17 +00:00
Simon Giesecke b7f75cf860 Bug 1653231 - Pass const nsCString& rather than const char* where possible. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D83918
2020-07-20 11:43:33 +00:00
Simon Giesecke 4af01d0e97 Bug 1653231 - Use literals instead of run-time conversion to nsLiteralCString. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D83772
2020-07-17 10:34:21 +00:00
Simon Giesecke e8b19b4dda Bug 1653231 - Pass const char* argument by value. r=njn
Depends on D83916

Differential Revision: https://phabricator.services.mozilla.com/D83917
2020-07-20 07:58:58 +00:00
Simon Giesecke 3ed45c6191 Bug 1653231 - Simplify PrefName. r=njn
It doesn't need to use a Variant anymore, it always stores a nsCString.

Differential Revision: https://phabricator.services.mozilla.com/D83916
2020-07-20 07:57:49 +00:00
Severin aa01f8a3ec Bug 1654405 - pref doorhanger v2 off outside Nightly;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84449
2020-07-21 22:57:11 +00:00
Jeff Gilbert 35f892e782 Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj
* Use clearer pref names.
* Default (and only support) IPDL dispatching.
* Make DispatchCommands async-only.
* Sync ipdl command per sync webgl entrypoint.
  * Eat the boilerplate cost, since there's not too many.
* Run SerializedSize off same path as Serialize.
* All shmem uploads go through normal DispatchCommands.
* Defer pruning of dead code for now so we can iterate quickly.
* Use Read/Write(begin,end) instead of (begin,size).
  * This would have prevented a bug where we read/wrote N*sizeof(T)*sizeof(T).

Differential Revision: https://phabricator.services.mozilla.com/D81495
2020-07-21 22:56:52 +00:00
Michael Kaply f6b4b8e27c Bug 436200 - Add a pref to turn off warning submitting secure to insecure. r=dveditz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D83863
2020-07-21 22:12:40 +00:00
James Willcox ecaad75230 Bug 1639577 - Only suspend GeckoView tabs that are alone in their BrowsingContextGroup r=nika,geckoview-reviewers,agi
This avoids problems where a foreground tab tries to communicate with a background
tab via `window.opener`, but is unable to because the background tab
is suspended.

Differential Revision: https://phabricator.services.mozilla.com/D83693
2020-07-21 21:04:53 +00:00
Gijs Kruitbosch 5d84e2b8f0 Bug 1654325 - disable the parent process slow script dialog, r=esmyth
Differential Revision: https://phabricator.services.mozilla.com/D84396
2020-07-21 19:23:19 +00:00
Eugen Sawin f36309192d Bug 1654369 - [1.0] Enable new-password generation heuristics for GeckoView. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84416
2020-07-21 20:23:30 +00:00
Denis Palmeiro fb0dfdd2f7 Bug 1654357 - Disable speculative omt JS parsing r=smaug
Disable speculative js parsing temporarily until a race condition in bug 1652126  is resolved.

Differential Revision: https://phabricator.services.mozilla.com/D84412
2020-07-21 20:09:57 +00:00
Matthew Gaudet b56bdc1e4b Bug 1652744 - Add browser pref for private fields support r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83511
2020-07-20 13:49:14 +00:00
Narcis Beleuzu 0ac1595a1a Backed out 2 changesets (bug 921504) for mochitest failures on test_animation-type-longhand.html . CLOSED TREE
Backed out changeset e87edffd46b9 (bug 921504)
Backed out changeset eb53880e5f0e (bug 921504)
2020-07-20 17:37:32 +03:00
Butkovits Atila 77046ebd2b Backed out 6 changesets (bug 1644160, bug 1652744) for failure at proxy-ccw.js CLOSED TREE
Backed out changeset ce53b1934083 (bug 1644160)
Backed out changeset 36ea51123a56 (bug 1652744)
Backed out changeset bc43898badcd (bug 1644160)
Backed out changeset 09df89442319 (bug 1644160)
Backed out changeset 3c88625982cf (bug 1644160)
Backed out changeset 598d65b8afb5 (bug 1644160)
2020-07-20 16:46:17 +03:00
Alexander Surkov cf6cccf0ef Bug 921504 - implement HTML:inert r=emilio,heycam
Differential Revision: https://phabricator.services.mozilla.com/D81701
2020-07-20 04:22:36 +00:00