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

735879 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila d3beb62a99 Backed out changeset d38c84c21e76 (bug 1678966) for causing build bustages. CLOSED TREE 2020-11-23 16:27:01 +02:00
Jeff Muizelaar 65652df547 Bug 1678966 - Remove unused fields from qcms_transform and derive Default. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97867
2020-11-23 13:51:02 +00:00
Marco Bonardo ee03d5ad2a Bug 1677408 - Part 7 - Allow the view to opt-out of history details updates. r=Standard8
In most cases bookmarks views don't need to be notified of history changes.
The only cases where they need that, is when history columns are visible in a
tree view, or the result is sorted by visits or frecency.
Thus, the menu and toolbar views can often save some work by not listening.

Differential Revision: https://phabricator.services.mozilla.com/D97280
2020-11-23 12:59:17 +00:00
Marco Bonardo f8c363c98c Bug 1677408 - Part 6 - Remove onItemVisited and the history observer in the bookmarks service. r=Standard8
The result can directly listen for page-visited and recursively update children.
With onItemVisited gone, all the reasons for the bookmarks service to listen for
history notifications are gone, thus it can stop observing history.

Differential Revision: https://phabricator.services.mozilla.com/D97279
2020-11-23 12:57:57 +00:00
Marco Bonardo 2df36e88b1 Bug 1677408 - Part 5 - Remove no more used onBegin/EndUpdateBatch notifications forwarding. r=Standard8
RunInBatchMode has been removed some time ago, the only thing still sending
these notifications is maintenance to force a UI update, and it can send both.

Differential Revision: https://phabricator.services.mozilla.com/D97278
2020-11-23 12:57:18 +00:00
Marco Bonardo 7bd9662c5d Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 12:56:40 +00:00
Marco Bonardo ecf8a7bf83 Bug 1677408 - Part 3 - Clean up bookmarks observer tracking in nsNavHistoryResult. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97276
2020-11-23 12:55:00 +00:00
Marco Bonardo 803c3be427 Bug 1677408 - Part 2 - Update consumers of onPageChanged. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97275
2020-11-23 12:54:26 +00:00
Marco Bonardo e064fb5784 Bug 1677408 - Part 1 - Replace onPageChanged with a new favicon-changed notification. r=Standard8,emilio
Use the new notifications system to notify about favicon changes, that is the only
part left of onPageChanged.

Differential Revision: https://phabricator.services.mozilla.com/D97274
2020-11-23 12:53:04 +00:00
Frederik Braun 5456ef0719 Bug 1677940 - clang-format r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97424
2020-11-23 08:44:48 +00:00
Frederik Braun a664b17bd5 Bug 1677940 Consider blocking ports 69, 137, 161, 1719, 6566, 10080 r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97423
2020-11-18 13:10:33 +00:00
Andi-Bogdan Postelnicu ccbacf12e5 Bug 1678399 - Make clang-tidy-external part of our clang-tidy suit. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D97643
2020-11-23 08:30:49 +00:00
Gabriele Svelto 49345a8de9 Bug 1649132 - Restore memory annotations in main process crash reports r=KrisWright
This patch ensures that crash reports for main process crashes always
have memory annotations populated. It also cleans up the relevant
code, removing support for Windows 32-bit time_t values. The tests
that did only cover Windows have been modified to also run on macOS
and Linux.

Differential Revision: https://phabricator.services.mozilla.com/D97667
2020-11-23 07:25:36 +00:00
Bogdan Tara 0b6abf3a65 Backed out changeset 7cb103daaa8d (bug 1675240) for Atom related crashes CLOSED TREE 2020-11-23 00:20:37 +02:00
Tom Schuster 435304f3ad Bug 1675240 - Stop using CallNonGenericMethod for RegExp.prototype getters. r=arai
This also implements an improved error message:
> TypeError: RegExp.prototype.global getter called on non-RegExp object: Math
This is similar to Chromes' message:
> RegExp.prototype.global getter called on non-RegExp object

Differential Revision: https://phabricator.services.mozilla.com/D95837
2020-11-22 06:06:05 +00:00
Robert Mader ab3d4999ee Bug 1678840 - [wayland] Fix warning "invalid cast from GdkWaylandDisplay to GdkX11Display", r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D97850
2020-11-22 15:16:03 +00:00
Andrew Osmond 2f6f788bc8 Bug 1678907 - Allow gfx.webrender.all to override software WebRender allowlist. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97858
2020-11-22 14:42:57 +00:00
Razvan Maries 880fb394c6 Bug 1607321 - Disabled browser_dbg-worker-scopes.js on Mac and Windows10. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D97844
2020-11-22 09:44:55 +00:00
Narcis Beleuzu bac7ce1130 Merge mozilla-central to autoland. CLOSED TREE 2020-11-22 11:38:10 +02:00
Narcis Beleuzu 48151c3619 Merge autoland to mozilla-central. a=merge 2020-11-22 11:33:58 +02:00
Brindusan Cristian 6b9a9a229b Backed out changeset 106d5e139889 (bug 1678523) for causing PresShell crashes (bug 1678873). a=backout DONTBUILD 2020-11-22 11:26:28 +02:00
Noemi Erli e52ab350ac Backed out changeset b21f364898eb (bug 1678389) for causing Android gv-unit failures CLOSED TREE 2020-11-22 04:24:23 +02:00
Mats Palmgren 4959a2c086 Bug 1678758 - Reset the overflow areas too after changing our desired height (sic). r=emilio
We have existing table reftests that fails without this fix
when the pref layout.display-list.improve-fragmentation is
enabled.

Differential Revision: https://phabricator.services.mozilla.com/D97831
2020-11-21 23:23:01 +00:00
Emilio Cobos Álvarez 9037439373 Bug 1678881 - Run latest rustfmt in servo/. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D97855
2020-11-22 00:41:29 +00:00
Emilio Cobos Álvarez 31a5bb70b4 Bug 1678881 - Avoid some allocations in selector serialization. r=xidorn
The allocations in display_to_css_identifier show up in the profiles of
bug 1675628.

Differential Revision: https://phabricator.services.mozilla.com/D97856
2020-11-22 01:02:22 +00:00
Emilio Cobos Álvarez ec7eb5b86a Bug 1678389 - Use transient user activation for <input> file/color picker. r=edgar
This matches other browsers, see [1], and should fix this and other
similar bugs like bug 1610726.

[1]: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/html/forms/file_input_type.cc;l=163;drc=8a5de62dd01360cfe3d150640d3ff4d974bbe842

Differential Revision: https://phabricator.services.mozilla.com/D97640
2020-11-22 00:20:03 +00:00
Csoregi Natalia 4035e379d0 Backed out changeset 90a4b1d0082a (bug 1675624) for multiple failures e.g. browser_PermissionUI.js. CLOSED TREE 2020-11-21 23:03:57 +02:00
Dale Harvey 7cce5b00f5 Bug 1675624 - Persist engine metadata for inactive AppProvided engines r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97283
2020-11-21 19:49:25 +00:00
Andrew Osmond cf2999e1b9 Bug 1678837 - Ensure we report software WebRender as a compositor type. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97848
2020-11-21 15:20:34 +00:00
Drew Willcoxon d58a7b553e Bug 1678770 - Have the local search shortcut rows in the preferences UI show their restriction characters as keywords. r=mak
Depends on D97376

Differential Revision: https://phabricator.services.mozilla.com/D97830
2020-11-21 10:55:28 +00:00
Razvan Maries 00226db676 Backed out changeset b2da4b644dd9 (bug 1677917) for perma failures on break-at-end-container-edge-000.html. CLOSED TREE 2020-11-21 19:23:33 +02:00
Emilio Cobos Álvarez e69e249773 Bug 1455479 - Show paste context menu item when there are paste event listeners. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97751
2020-11-21 16:22:42 +00:00
Kagami Sascha Rosylight 5c7fde1b72 Bug 1678644 - Add a missing pref to enable text control selection events r=masayuki
D96503 accidentally omitted one.

Differential Revision: https://phabricator.services.mozilla.com/D97768
2020-11-21 16:10:58 +00:00
Emilio Cobos Álvarez d570280e88 Bug 1677917 - Change BlockReflowInput's skipsides setup to be sane. r=mats,TYLin
Precomputing the skipBEnd bit is odd / wrong. Using the PreReflow
version causes no regression, and allows us to simplify the code.

It also reverts the test annotations added to bug 1675376 which were
caused by the extra argument to GetLogicalSkipSides() somehow.

Differential Revision: https://phabricator.services.mozilla.com/D97418
2020-11-21 15:53:16 +00:00
harry 8bd5602f02 Bug 1675926 - Do not restore search mode if pageproxystate is valid. r=adw
We were restoring search mode after tab switch even if the destination tab had a valid pageproxystate. This was causing issues in the case where the user switched away from a tab that was still loading and had not yet called setURI. If the user switched back to that tab after it was done loading, we would re-enter search mode, using the page's URL as the search string.

Making this change also requires storing pageproxystate differently. If we only made the change to setURI, we would sometimes not restore search mode when we should. If the user entered search mode with an empty string, userTypedValue would never be updated and it would still be the page URL. After the user switched from, then to, that tab, we'd call setURI. setURI would restore userTypedValue, which would be the page URL. Since that page now had a valid pageproxystate, we would not restore search mode. Now we update userTypedValue when we enter search mode, so we restore search mode properly even when there is no search string.

Differential Revision: https://phabricator.services.mozilla.com/D97798
2020-11-21 06:15:10 +00:00
alwu b017db4b60 Bug 1673613 - part3 : do not notify media session attributes change from inactive document, but will notify them once document becomes active. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D97721
2020-11-21 05:12:18 +00:00
alwu ff5fa5f914 Bug 1673613 - part2 : wrap the process of updating playback state into a function. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D97719
2020-11-22 08:00:19 +00:00
alwu 8f7e3d1c6f Bug 1673613 - part1 : add a crashtest. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D97718
2020-11-22 07:54:58 +00:00
Tom Schuster 581c444946 Bug 1678675 - Replace TypeMonitorResult with ReturnFromIC. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D97791
2020-11-21 04:05:18 +00:00
Marco Bonardo 6e8a6886d9 Bug 1678669 - Remove Places migrations older than Firefox 60. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D97786
2020-11-20 23:04:37 +00:00
Razvan Maries 7885200a40 Backed out changeset 5f347d3846aa (bug 1677689) for perma failures on layout/base/tests/test_bug851485.html. CLOSED TREE 2020-11-21 12:47:56 +02:00
Bob Owen ef17d3a901 Bug 1677388: Pass a copy of our cached default DEVMODE into DeviceCapabilitiesW calls. r=jfkthame
This is to prevent threading issues that some drivers seem to have when they
access their own default DEVMODE internally.

Differential Revision: https://phabricator.services.mozilla.com/D97789
2020-11-21 09:53:23 +00:00
Razvan Maries 733afa1be5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-11-21 11:34:45 +02:00
Andreea Pavel cbcd544b1c Merge autoland to mozilla-central a=merge 2020-11-21 11:26:35 +02:00
Razvan Maries 78e75bbcee Backed out changeset 8bdcf54531e1 (bug 1677688) for crashes. a=backout DONTBUILD 2020-11-21 11:16:24 +02:00
Eitan Isaacson 1624b5c00a Bug 1675301 - Don't return web area as result when searching backwards from root group. r=morgan
It seems that VO mistakenly thinks the web area is a descendant of itself. This causes all kinds of cyclical parent child relationships that makes VO over-query us.

This patch remedies that by not returning the web area when do an immediate child search starting from the root group - in any direction.

Differential Revision: https://phabricator.services.mozilla.com/D97819
2020-11-21 04:14:44 +00:00
Eitan Isaacson cf517da0a4 Bug 1676662 - Prepend list bullet when getting range at start of list item. r=morgan
Safari has an inconsistent way to deal with list bullets in text.
If a given range has a list or list item nested inside it - but it is not
at the beginning, the bullet will not be returned as part of the text.But if the range begins at the start
of a list item, the preceding bullet is included. For example, given the following list:

* First Item
* Second Item

If the range is [irst Item], the text for that range should return as "irst Item",
but if the range is [First it], the returned text is "* First it".

This patch emulates that inconsistency by removing the list item considerations
in the text segments iterator, and instead prepending a bullet if needed.

Differential Revision: https://phabricator.services.mozilla.com/D97717
2020-11-21 04:14:08 +00:00
Eitan Isaacson 9fc76e7928 Bug 1672700 - Make mozTextAccessible attribute getters use GeckoTextMarker. r=morgan
This allows `contenteditable` textboxes to work correctly with flattened text values.

The attribute setters, aside from AXValue, don't work in Chrome or Safari with aria textboxes,
so those are not a high priority. These include:
- AXSelectedText
- AXSelectedTextRange
- AXVisibleCharacterRange

In addition, AXVisibleCharacterRange's getter doesn't function as expected in Chrome or Safari either, so I didn't touch it.

Differential Revision: https://phabricator.services.mozilla.com/D97629
2020-11-21 04:13:45 +00:00
Eitan Isaacson e3785d17c1 Bug 1672700 - Refactor mac input test. r=morgan
This also irons out some event syncing issues. We need to wait for selection changes in the future patch in order to take advantage of selection caching.

Differential Revision: https://phabricator.services.mozilla.com/D97628
2020-11-21 04:13:43 +00:00
Kate Hudson 425edf7c9d Bug 1677180 - Integrate ExperimentAPI into New Tab r=ewright,andreio
Differential Revision: https://phabricator.services.mozilla.com/D97159
2020-11-21 03:16:34 +00:00