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

697103 Коммитов

Автор SHA1 Сообщение Дата
Arthur Iakab 768dcd08ae Backed out changeset 0b8ffd5fed51 (bug 1580447) for causing build bustages.
CLOSED TREE
2020-03-19 14:53:26 +02:00
Mirko Brodesser c602e0e0d7 Bug 1623333: part 4) Assert Selection's type is `eNormal` in relevant methods accessing `mFrameSelection`. r=smaug
Helps to determine which methods of `nsFrameSelection` are intended to
be called only for the `eNormal` Selection.

Driven by the idea that state of `nsFrameSelection` relevant only for
the `eNormal` Selection should later move to a `NormalSelection` class.

Differential Revision: https://phabricator.services.mozilla.com/D67445

--HG--
extra : moz-landing-system : lando
2020-03-19 11:08:58 +00:00
meenohara 812500d8dc Bug 1567827 Get rid of security.insecure_password.ui.enabled r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D67178

--HG--
extra : moz-landing-system : lando
2020-03-19 11:28:36 +00:00
David Teller 96c856d32a Bug 1580447 - Expose Content{Parent, Child} to JS;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65344

--HG--
extra : moz-landing-system : lando
2020-03-19 09:13:48 +00:00
Makoto Kato 477d3ef5bf Bug 1621241 - Don't apply safe-area-insets-* if device doesn't have cutout area. r=smaug
This is a mistake implementation of cutout support.

When OS/device doesn't support cutout (safe-area-insets-*), widget returns 0 for safe area insets values.
So if it is 0, we shouldn't set safe-area-insets.

Also, I will add test for this by bug 1622713. Actually, no Android emulator that supports notch.

Differential Revision: https://phabricator.services.mozilla.com/D67275

--HG--
extra : moz-landing-system : lando
2020-03-18 10:02:48 +00:00
Mihai Alexandru Michis 2922453b6e Backed out 10 changesets (bug 1623278, bug 1617170, bug 1620273, bug 1597954) for causing bustages.
CLOSED TREE

Backed out changeset 50c0e58dd654 (bug 1623278)
Backed out changeset b31ddbcdd2f2 (bug 1597954)
Backed out changeset 8b03993a9234 (bug 1623278)
Backed out changeset ad7b08acadd6 (bug 1623278)
Backed out changeset bb094a6084b3 (bug 1623278)
Backed out changeset 7fdf38a403bb (bug 1623278)
Backed out changeset d69cf5fcb571 (bug 1620273)
Backed out changeset 5abef9862e60 (bug 1617170)
Backed out changeset 11d9ccb4ddd8 (bug 1617170)
Backed out changeset 6df7028b41d0 (bug 1617170)
2020-03-19 13:30:26 +02:00
James Graham 01263f8b95 Bug 1622906 - Disabling tests is never unexpected, r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67030

--HG--
extra : moz-landing-system : lando
2020-03-19 11:06:42 +00:00
Mariana Picolo 1fd62fc305 Bug 1619163 - Add "Save-Data" HTTP header. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D67419

--HG--
extra : moz-landing-system : lando
2020-03-19 10:52:10 +00:00
Andrei Oprea ea13fa2229 Bug 1619702 - Use Sinon.jsm for about:welcome mochitests and xpcshell r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D66624

--HG--
extra : moz-landing-system : lando
2020-03-19 10:50:25 +00:00
Dave Townsend 8ca3ed1a1f Bug 1623394: Set a basic title for the SSB window. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D67357

--HG--
extra : moz-landing-system : lando
2020-03-19 10:48:13 +00:00
Masatoshi Kimura 3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

Differential Revision: https://phabricator.services.mozilla.com/D67386

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
Mirko Brodesser 1c4dcdbce9 Bug 1623333: part 3) Assert `EditorBase::SelectionRefPtr` has type `eNormal`. r=masayuki
Simplifies reasoning about it.

Differential Revision: https://phabricator.services.mozilla.com/D67444

--HG--
extra : moz-landing-system : lando
2020-03-19 10:40:10 +00:00
Mirko Brodesser d252ed1175 Bug 1623333: part 2) Declare `Selection::mSelectionType` `const`. r=smaug
Simplifies reasoning about it.

Differential Revision: https://phabricator.services.mozilla.com/D67328

--HG--
extra : moz-landing-system : lando
2020-03-19 09:25:02 +00:00
Mirko Brodesser 8a11f12378 Bug 1623333: part 1) Throw error in Selection's webidl methods, when there's no `nsFrameSelection` instance. r=smaug
Alleviates the possibility to add calls which are unintentionally no-ops.

In practice, these errors should never be propagated to the web, and
signal to other callers (for copy&paste) that the calls are wrong.
Ideally, the other callers wouldn't see these methods, but that requires
a larger refactoring.

Differential Revision: https://phabricator.services.mozilla.com/D67327

--HG--
extra : moz-landing-system : lando
2020-03-19 09:24:57 +00:00
Simon Giesecke 61cf3f6ec7 Bug 1623278 - Use SafeRefPtr for TransactionBase and its subclasses. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65711

--HG--
extra : moz-landing-system : lando
2020-03-19 09:35:08 +00:00
Simon Giesecke 59bc885b82 Bug 1597954 - Switch indexedDB to use InitializedOnce from mfbt. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D65710

--HG--
extra : moz-landing-system : lando
2020-03-19 09:34:40 +00:00
Simon Giesecke a0175d812b Bug 1623278 - Use SafeRefPtr for Database. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65568

--HG--
extra : moz-landing-system : lando
2020-03-19 10:08:31 +00:00
Simon Giesecke 56fd2cec04 Bug 1623278 - Use SafeRefPtr for FileInfo. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65550

--HG--
extra : moz-landing-system : lando
2020-03-19 09:33:31 +00:00
Simon Giesecke 7ce059cbe4 Bug 1623278 - Use SafeRefPtr for FileManager. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65549

--HG--
extra : moz-landing-system : lando
2020-03-19 09:32:53 +00:00
Simon Giesecke 973f0761e0 Bug 1623278 - Use SafeRefPtr for FullDatabaseMetadata. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65548

--HG--
extra : moz-landing-system : lando
2020-03-19 09:32:02 +00:00
Simon Giesecke 778b17ceeb Bug 1620273 - Add SafeRefPtr. r=asuth,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65547

--HG--
extra : moz-landing-system : lando
2020-03-19 09:31:46 +00:00
Simon Giesecke f4b6d69804 Bug 1617170 - Split StructuredCloneFile into parent- and child-specific classes. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65167

--HG--
extra : moz-landing-system : lando
2020-03-19 09:57:27 +00:00
Simon Giesecke 3d4375e6e3 Bug 1617170 - Deserialize Blob only when it is used in AllocPBackgroundIDBDatabaseFileParent. r=janv
Differential Revision: https://phabricator.services.mozilla.com/D65948

--HG--
extra : moz-landing-system : lando
2020-03-19 09:31:29 +00:00
Simon Giesecke 57cac52930 Bug 1617170 - Reduce statefulness of FileHelper. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65305

--HG--
extra : moz-landing-system : lando
2020-03-19 09:53:21 +00:00
Masatoshi Kimura 09ce329898 Bug 1622688 - Un-#ifdef to enable std::is_trivially_constructible everywhere. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66913

--HG--
extra : moz-landing-system : lando
2020-03-19 01:10:47 +00:00
Subhamoy Sengupta fa85504114 Bug 1522243 - Use of debug-only flag 'parentFound' and related assertion removed from methods in ServiceWorkerManagerService.cpp r=dom-workers-and-storage-reviewers,perry
The actor indicated by 'parentFound' is no longer in use since parent intercept was enabled.

Differential Revision: https://phabricator.services.mozilla.com/D66546

--HG--
extra : moz-landing-system : lando
2020-03-19 09:33:46 +00:00
André Bargull 67fbb75457 Bug 1610512 - Part 5: Updating ICU requires a clobber. r=jwalden
Depends on D66558

Differential Revision: https://phabricator.services.mozilla.com/D66559

--HG--
extra : moz-landing-system : lando
2020-03-19 09:35:16 +00:00
André Bargull 55764bc9be Bug 1610512 - Part 4: Update Gecko to Unicode 13. r=jfkthame
Add generated files to "Generated.txt" to exclude them from being linted to
avoid a "trailing whitespace" error in a comment copied over from the original
Unicode files.

Depends on D66557

Differential Revision: https://phabricator.services.mozilla.com/D66558

--HG--
extra : moz-landing-system : lando
2020-03-17 14:09:20 +00:00
André Bargull 71a918f024 Bug 1610512 - Part 3: Update SpiderMonkey to Unicode 13. r=jwalden
Depends on D66556

Differential Revision: https://phabricator.services.mozilla.com/D66557

--HG--
extra : moz-landing-system : lando
2020-03-19 01:10:11 +00:00
André Bargull aeb9b38bbd Bug 1610512 - Part 2: Update language tag mappings for CLDR 36.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66556

--HG--
extra : moz-landing-system : lando
2020-03-19 01:10:04 +00:00
André Bargull 5020091e8c Bug 1610512 - Part 1: Update in-tree ICU to release 66.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66555

--HG--
extra : moz-landing-system : lando
2020-03-19 01:09:56 +00:00
Jan de Mooij 724d0b9887 Bug 1623042 - Move some definitions in JSFunction.h to the js namespace. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D67128

--HG--
extra : moz-landing-system : lando
2020-03-19 07:54:13 +00:00
Jan de Mooij 5a5b43cc8c Bug 1586599 part 2 - Add comment and test. r=jonco,tcampbell
Depends on D49419

Differential Revision: https://phabricator.services.mozilla.com/D49420

--HG--
extra : moz-landing-system : lando
2020-03-19 09:08:37 +00:00
Jan de Mooij 0aaa49210b Bug 1568397 part 2 - Add testcase. r=iain,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D40445

--HG--
extra : moz-landing-system : lando
2020-03-19 09:16:21 +00:00
Tooru Fujisawa 51880be4b3 Bug 1507375 - Restrict the controllability of UI parts visibility with features parameter of window.open. r=smaug
Make the features parameter of window.open just a condition for whether to open
a popup or a new tab.
Also remove dom.disable_window_open_feature.* prefs.

Differential Revision: https://phabricator.services.mozilla.com/D65926

--HG--
extra : moz-landing-system : lando
2020-03-19 09:13:12 +00:00
Mirko Brodesser f7f372d8a6 Bug 1621620: part 2) Declare `nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree` `const`. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66394

--HG--
extra : moz-landing-system : lando
2020-03-18 16:33:13 +00:00
Mirko Brodesser a09cb7184c Bug 1621620: part 1) Remove dead code in `nsFrameSelection`. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66393

--HG--
extra : moz-landing-system : lando
2020-03-18 16:32:48 +00:00
Masayuki Nakano 1f9bbb50d0 Bug 1620504 - part 22-5: Clean up warnings in HTMLEditorDataTransfer.cpp r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D66984

--HG--
extra : moz-landing-system : lando
2020-03-19 07:38:19 +00:00
Emilio Cobos Álvarez 7d6d772dee Bug 1622894 - Don't force-focus the input when we're force-showing the virtual keyboard. r=m_kato
When you type in a textarea, and zoom to position the caret, then click, we'll
scroll all the way to the top of the textarea, via:

  IMEStateManager::OnClickInEditor -> SetIMEState -> SetInputContext -> mEditable->NotifyIME(EditableListener::NOTIFY_IME_OPEN_VKB);

Even if the keyboard was already displayed. In this case, we're not moving
focus, and panning to the start causes more issues than it fixes. Prevent
zooming to the start of the input in this case, but still do it if we get the
resize event (and thus toggle the keyboard).

Differential Revision: https://phabricator.services.mozilla.com/D67222

--HG--
extra : moz-landing-system : lando
2020-03-19 09:18:37 +00:00
Emilio Cobos Álvarez bd5fd90b36 Bug 1622894 - Really prevent to zoom out when ZoomToRect is called with DISABLE_ZOOM_OUT. r=botond
When you're zoomed inside a large text-area in GeckoView, we are zooming out
right now which is very disruptive and clearly not what the code intended.

Differential Revision: https://phabricator.services.mozilla.com/D67221

--HG--
extra : moz-landing-system : lando
2020-03-18 19:54:32 +00:00
Emilio Cobos Álvarez 913b0be574 Bug 1622894 - Refactor a bit nsDOMWindowUtils::ZoomToFocusedInput. r=botond
This refactoring:

 * Removes the "avoid focusing a fixed subtree" condition, because it doesn't
   make sense after bug 656036.

 * Avoids keeping nsIFrame pointers across calls to ScrollContentIntoView(),
   which can flush layout and thus is unsafe.

Differential Revision: https://phabricator.services.mozilla.com/D67220

--HG--
extra : moz-landing-system : lando
2020-03-18 20:29:19 +00:00
Miko Mynttinen dc69a43528 Bug 1616412 - Enable WebRender display item caching r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D63269

--HG--
extra : moz-landing-system : lando
2020-02-19 16:23:45 +00:00
Nicolas Silva 55ff8bf2cc Bug 1616901 - Cap the maximum texture array layer count to 32 on all platforms. r=gw
It was previously set on mac only due to driver mischiefs, however the cost of growing texture arrays becomes high with large layer counts, which capping the layer count to 32 everywhere helps mitigate at the expense of batch breaks.

Depends on D67368

Differential Revision: https://phabricator.services.mozilla.com/D67369

--HG--
extra : moz-landing-system : lando
2020-03-18 18:59:45 +00:00
Nicolas Silva 80b2069f20 Bug 1616901 - Move picture cache texture array logic into its own struct. r=gw
Doesn't make for a stellar API but texture_cache.rs has a lot of code and I had a hard time wrapping my head around the scattered parts of picture-cache specific code.

In addition (and more importantly) texture arrays for each tile sizes can be allocated on demand and do not need to be created when initializing the texture cache. This avoids allocating and deallocating the mispredicted picture texture size when the initial window size is garbage.

Depends on D67367

Differential Revision: https://phabricator.services.mozilla.com/D67368

--HG--
extra : moz-landing-system : lando
2020-03-18 18:59:32 +00:00
Nicolas Silva 2ad3156800 Bug 1616901 - Put a bit more texture cache eviction pressure. r=gw
Also make sure that the pressure factor never gets to zero.

These new constants aren't deinitive in any way though I think that they are a bit more reasonable.

Depends on D67366

Differential Revision: https://phabricator.services.mozilla.com/D67367

--HG--
extra : moz-landing-system : lando
2020-03-18 18:59:09 +00:00
Nicolas Silva ab7f86a8bd Bug 1616901 - Allocate rgb8 linear shared texture cache regions four at a time. r=gw
As an initial step to reduce the reallocation churn a bit. This texture array grows up to 12 layers for any trivial page and goes up to 40+ on many sites (like the youtube front page) so it's far from enough but it's a start. Simple popups like Help > About Nightly don't need more than 4 layers, though.

Differential Revision: https://phabricator.services.mozilla.com/D67366

--HG--
extra : moz-landing-system : lando
2020-03-18 18:58:49 +00:00
yulia c986d477e1 Bug 1623349 - remove specifics about error message for opt chain r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D67360

--HG--
extra : moz-landing-system : lando
2020-03-19 06:38:46 +00:00
Mike Hommey f8e37d2100 Bug 1621845 - Normalize fetch path in fetch-content. r=rstewart
The win64-aarch64 have a kind of a nasty trick that makes fetch-content
download artifacts of a dependent task directly as artifacts of the task
itself. For some reason, while this pattern works on native Windows
jobs, it doesn't on Linux. What happens is essentially that:

  `pathlib.Path(path).joinpath('../foo').mkdir(parents=True, exist=ok=True)`

fails when path doesn't exist first. I guess the fetches directory
already exists on Windows worker or something.

Unfortunately, os.path.normpath doesn't take `pathlib.Path`s in
still-supported python 3.5, so we have to convert to str first.

Differential Revision: https://phabricator.services.mozilla.com/D66518

--HG--
extra : moz-landing-system : lando
2020-03-19 08:18:37 +00:00
Mike Hommey f1aee9ce8c Bug 1623006 - Return an error code when autobinscope prints an error. r=dmajor
Otherwise, the error is never visible to the build system, taskcluster,
treeherder, and, ultimately, this defeats the purpose of the check.

Differential Revision: https://phabricator.services.mozilla.com/D67414

--HG--
extra : moz-landing-system : lando
2020-03-19 02:05:58 +00:00
Martin Stransky 66791c6155 Bug 1623106 [Linux/Gtk] Don't use window resize workaround for Gtk >= 3.24, r=jhorak
We have a workaround for https://gitlab.gnome.org/GNOME/gtk/issues/1044 which is already fixed
in Gtk 3.24 and causes resize regression there so let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D67387

--HG--
extra : moz-landing-system : lando
2020-03-19 07:45:04 +00:00