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

737277 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara f121ad11ea Backed out 2 changesets (bug 1670982) for tsan xpc shell failures CLOSED TREE
Backed out changeset 3ce1e8c65cbc (bug 1670982)
Backed out changeset e7211a44d968 (bug 1670982)
2020-12-08 01:59:32 +02:00
Drew Willcoxon 14225c1014 Bug 1678765 - Fix broken "Search with" action text for heuristic results that are restyled to look like search results. r=harry
This was a little harder than it seemed like it should be because we show/hide
the title separator in two places, in `UrlbarView.updateRow` and in the CSS.
This patch gets rid of the show/hide in `updateRow`, so now we show/hide only in
the CSS. The decision to show/hide in `updateRow` was based on whether the
result has action text (`actionSetter`) or is a URL (`setURL`). We already had a
`has-url` attribute that corresponds directly to `setURL`, so adding a similar
`has-action` attribute that corresponds to `actionSetter` lets us show/hide only
in the CSS.

The second part of this patch is to actually fix the bug. For that, the existing
`show-action-text` attribute does part of what we want in the CSS: It forces the
action to be shown when a one-off is selected and there's no selected row. In
addition to that, we need to show the action when both a restyled search and a
one-off are selected, so this adds a new `restyled-search` attribute. We need
both attributes because we do not want to show the action for a restyled search
when some other row plus a one-off are selected (to match the current behavior).

Depends on D97843

Differential Revision: https://phabricator.services.mozilla.com/D98429
2020-12-07 22:43:02 +00:00
Ting-Yu Lin 61dd350d4f Bug 1663232 - Don't delete a child's next-in-flow if it's going to be reflow again due to clearance. r=emilio
After this patch, the testcase still triggers soft assertions like

  ASSERTION: Placeholder relationship should have been torn down already;
  this might mean we have a stray placeholder in the tree.

We have multiple bugs filed for this assertions such as bug 856269.

Differential Revision: https://phabricator.services.mozilla.com/D90760
2020-12-07 12:45:38 +00:00
Mitchell Hentges 1480e86815 Bug 1680675: Re-adds manual zstandard installation for CI r=firefox-build-system-reviewers,dmajor
The CI environment doesn't bootstrap/`create-mach-environment`, so
native modules (such as zstandard) aren't installed.
`./mach artifact install` is run in CI and needs `zstandard`, so we
must install it ad-hoc.

Differential Revision: https://phabricator.services.mozilla.com/D98794
2020-12-07 22:19:29 +00:00
Morgan Reschenberg ba5c7a67de Bug 1664894: Track VoiceOver under A11Y_INSTANTIATORS telemetry r=eeejay,yzen
Differential Revision: https://phabricator.services.mozilla.com/D98697
2020-12-07 22:14:30 +00:00
yohaan 48b8ab8d72 Bug 1531479 Using BytecodeIterator in GetThisValueForDebuggerEnvironmentIterMaybeOptimizedOut r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D98908
2020-12-07 17:35:01 +00:00
Eitan Isaacson d1d2546744 Bug 1625178 - Support aria-roledescription in mac. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D98669
2020-12-03 20:39:39 +00:00
Emma Malysz 90d1ea0e46 Bug 499640: add frontend support for non-contiguous page ranges r=mstriemer,fluent-reviewers
A comma will separate the list of ranges, and a dash indicates a page range.
If the print preview returns an empty page, we send an update event
to display all pages and invalidate the form.

This patch also changes how we create deferred tasks and instead has the
PrintEventHandler create them. Depending on the type of setting changed,
the PrintEventHandler either immediately handles the event or arms the
delayed settings change task. If the input is invalid, we cancel the settings
change and disarm the task. We finalize any pending tasks when the user prints
and recreate them in case the print was "unsuccessful," meaning the form
is now invalid or the user cnacelled saving as a pdf.

Differential Revision: https://phabricator.services.mozilla.com/D95222
2020-12-07 21:19:16 +00:00
Emma Malysz d9e09b568e Bug 1677801, adds UTM parameters to about dialog r=bigiri
Differential Revision: https://phabricator.services.mozilla.com/D97488
2020-12-07 21:16:33 +00:00
Dan Minor e96efeb12e Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-07 19:27:54 +00:00
Dan Minor 9c8c96ad54 Bug 1635561 - Add ListFormat to MozIntl; r=zbraniecki
Keeping MozIntl in sync with Intl will allow people to use MozIntl consistently
until we're ready to remove it completely. This is based on work done by André
Bargull for Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98392
2020-12-07 19:27:46 +00:00
Dan Minor 9cef0be9aa Bug 1635561 - Remove unnecessary wrappers around Intl in MozIntl; r=zbraniecki
Not that we use RegionalPrefLocales rather than AppLocale in
xpc_LocalizeRuntime, the wrappers in MozIntl to set this up are no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D98391
2020-12-07 19:27:43 +00:00
Dan Minor 0b1722fcb7 Bug 1635561 - Use RegionalPrefLocales rather than AppLocale in xpc_LocalizeRuntime; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D98390
2020-12-07 19:27:36 +00:00
Mats Palmgren 961ecbeca0 Bug 1676841 - Improve layout of about:telemetry in print media. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D98381
2020-12-06 00:59:29 +00:00
Sebastian Hengst 4b5514fa29 Bug 1680528 - set several webrtc/mediacapturing test as passing on beta and release. r=drno DONTBUILD
More details about the underlying issue in bug 1526207.

Differential Revision: https://phabricator.services.mozilla.com/D98963
2020-12-07 20:43:01 +00:00
Andrew Osmond 45b5262f91 Bug 1632698 - Better handle device resets when we don't have a GPU process. r=sotaro,kvark,nical
Aside from on Windows, we do not appear to handle device resets properly
without the GPU process. This patch adds in the necessary plumbing to
handle the device reset properly. It also ensures that whenever we check
for a device reset reason, we handle all of the reasons (e.g. not just
the NV video memory purge reset reason) to ensure they are not lost, and
handles them all consistently in the same manner.

It also tracks the number of device resets for thresholding purposes
with an in process compositor. While it will only disable WebRender on
Linux at this time, it will put a note in the critical log if the
threshold was exceeded on all platforms. This may prove useful in
evaluating whether or not we should do the same everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D98705
2020-12-07 20:36:11 +00:00
Kevin Jacobs 254f0c7699 Bug 1677548 - land NSS f84fb229842a UPGRADE_NSS_RELEASE, r=bbeurdouche
2020-12-04  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc,
	lib/pk11wrap/pk11obj.c:
	Bug 1680400 - Fix memory leak in PK11_UnwrapPrivKey. r=bbeurdouche

	[f84fb229842a] [tip]

2020-12-03  yogesh  <yoyogesh01@gmail.com>

	* cmd/tstclnt/tstclnt.c:
	Bug 1570539 - Removed -X alt-server-hello option from tstclnt
	r=kjacobs

	[ef9198eb2895]

2020-12-03  J.C. Jones  <jjones@mozilla.com>

	* lib/util/pkcs11t.h:
	Bug 1675523 - CKR_PUBLIC_KEY_INVALID has an incorrect value
	r=bbeurdouche

	PKCS#11 v2.40:
	https://www.cryptsoft.com/pkcs11doc/STANDARD/include/v240/pkcs11t.h
	line 1150

	jdk8u: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/eb7f437285a1
	/src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h#l1155

	[f9bcf45ca3bf]

Differential Revision: https://phabricator.services.mozilla.com/D98946
2020-12-07 19:40:13 +00:00
Andrew McCreight dff7d3707f Bug 1679908 - Release stabilization refcount in the DoNotifyListener case of HttpChannelChild::Release(). r=smaug
If there is still a listener remaining when the reference count drops to 0,
HttpChannelChild::Release() dispatches a runnable to call DoNotifyListener.
This runnable will get an additional reference to the channel.
However, stabilization has already occurred, even though we decided to
not destroy the object. We need to take care to release that reference
in order to prevent a leak.

Along similar lines, we should not call NS_LOG_RELEASE with 0 as the
refcount in this case, because the refcount is not yet 0. In order to
deal with this, I pushed the single NS_LOG_RELEASE into the various
cases and then changed the way it worked for the DoNotifyListener case.

Differential Revision: https://phabricator.services.mozilla.com/D98532
2020-12-07 19:44:50 +00:00
Cosmin Sabou 48ced6860f Backed out 2 changesets (bug 1680596) for xpcshell and mochitest plain failures. CLOSED TREE
Backed out changeset a5fce6a4b5b9 (bug 1680596)
Backed out changeset 8ea7d760b4a8 (bug 1680596)
2020-12-07 22:02:46 +02:00
Glenn Watson 398319830d Bug 1676559 - Pt 10 - Remove PrevPassAlpha and PrevPassColor r=nical
Remove usage of the implicit prev pass alpha and color texture
samplers from batching / renderer / shader code. They are replaced
by explicit references to the texture ID for the source task.

Differential Revision: https://phabricator.services.mozilla.com/D98872
2020-12-07 19:31:27 +00:00
Cosmin Sabou 27e4755fb2 Bug 1680596 - Move the pref at the begining of the manifest. a=trivial-fix CLOSED TREE 2020-12-07 21:25:33 +02:00
Andrew Erickson 92a6feb1ee Bug 1678163: update mac hostutils r=bc
Differential Revision: https://phabricator.services.mozilla.com/D98813
2020-12-07 18:51:02 +00:00
Ryan VanderMeulen 0783109e4f Bug 1680519 - Update OTS to 8.1.1. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D98611
2020-12-07 19:03:30 +00:00
Jeff Gilbert b25e9ba943 Bug 1681147 - Don't IPC_FAIL for context creation failure. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98835
2020-12-07 19:00:12 +00:00
Mike Conley c757641a61 Bug 1679967 - Make sure about:home shutdown timer is used for tests that expect it. r=emalysz
For debug builds, it seems we'd unexpectedly hit the AboutHomeStartupCache shutdown
timer when simulating shutdowns, which would put the cache entry into a half-written
state that risked confusing later tests.

This patch now makes sure that only tests that exercise/expect the timeout will hit it.
We also make sure to clear the cache of any half-written state after the
browser_shutdown_timeout.js test runs.

Differential Revision: https://phabricator.services.mozilla.com/D98828
2020-12-07 16:50:33 +00:00
Bogdan Tara ade4d82c59 Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
Alexis Beingessner d9f9c2427e Bug 1670982 - Make the bitflags in CacheStorageService actually atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races on these flags that are ostensibly benign but this way there's no UB.

This code is a bit weird. These bitfields are seemingly pointless as
they're squeezed between a uint64_t and an Atomic<bool>. There's plenty
of space for 2 more bools there.

Also the Atomic<bool> could theoretically be merged into the flags. For
now, here's the version of this patch that preserves the semantics of
this code as closely as possible, for review by the code owners.

Differential Revision: https://phabricator.services.mozilla.com/D93416
2020-12-07 18:32:51 +00:00
Alexis Beingessner 68b4c43ed6 Bug 1670982 - Make the bitfields in nsHostResolver atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races between mResolveAgain and mGetTtl. This makes them non-UB.

The code is a bit weird. Although the values are typed as uint16_t's, they're
used as bools (even assigned true/false). In addition, the atomic bool mTRRUsed
could be folded into these fields, as there is a spare bit. I decided not to
change these things, as network code can have weird representation requirements
that I'd prefer the owners of the code chime in on first.

Differential Revision: https://phabricator.services.mozilla.com/D93417
2020-12-07 18:32:33 +00:00
Dave Townsend be1d29e22b Bug 1681124: Remove unintentional logging code landed in bug 1675329. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98947
2020-12-07 18:32:16 +00:00
David Major c0208a72b1 Bug 1681123 - Bump mingw-w64 revision to fix _aligned_malloc in clang 12 r=tjr
clang 12 (specifically https://reviews.llvm.org/D91379) made some refactorings to libc++ that exposed a problem in the MinGW headers. That has now been fixed upstream.

In the meantime the headers also gained definitions for ProcessPayloadRestrictionPolicy, so we can remove our workaround for that.

Differential Revision: https://phabricator.services.mozilla.com/D98945
2020-12-07 17:55:27 +00:00
Jeff Gilbert 77070731a2 Bug 1680595 - Point users towards "webgl.disable-fail-if-major-performance-caveat" if failIfMajorPerformanceCaveat: true causes failure. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98824
2020-12-07 05:35:57 +00:00
Christoph Kerschbaumer 01b80dad31 Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98776
2020-12-07 17:44:34 +00:00
Nicolas Silva cf943de157 Bug 1680769 - Fix the texture cache allocating rectangles multiple times (again). r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D98941
2020-12-07 17:32:43 +00:00
Kevin Jacobs ba7e0e45e6 Bug 1681071 - Update PreloadedHPKPins.json after root certificate removal. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D98934
2020-12-07 17:12:44 +00:00
R. Martinho Fernandes c99fe51d2d Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2020-12-07 17:10:52 +00:00
Martin Stransky 66e8265510 Bug 1666839 [Linux] When we draw to container (CSD mode), shift mShell opaque mask to container position, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D98915
2020-12-07 15:40:26 +00:00
Dana Keeler 65d4fe692b Bug 1677516 - move base64-decoding operations of cert_storage off the main thread r=rmf,bbeurdouche
Telemetry indicated that setting various security state (in particular, CRLite
state) was causing main thread hangs due to base64 decoding. This patch
rearranges cert_storage slightly to do these decodings off the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D98691
2020-12-07 17:14:30 +00:00
Julian Descottes df6261692f Bug 1678379 - [devtools] Replace DAMP framescript by js window actors r=perftest-reviewers,ochameau
This doesn't fix anything, but it would be cleaner to remove some framescript/mm usage from DAMP

Differential Revision: https://phabricator.services.mozilla.com/D97626
2020-12-07 17:08:26 +00:00
Emilio Cobos Álvarez 679bd6efdb Bug 1681022 - Fix the check introduced in the previous patch to actually not override main-size with auto.
MANUAL PUSH: Orange in a CLOSED TREE.
2020-12-07 18:30:53 +01:00
Kagami Sascha Rosylight 5b5178d70c Bug 1680596 - Hide <menuitem> behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98684
2020-12-07 17:03:27 +00:00
Julian Seward 5638b306c1 Bug 1678785 - AddressSanitizer: SEGV [@ vixl::Memory::Read]. r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D98932
2020-12-07 16:26:17 +00:00
Markus Stange 14e860be47 Bug 1680557 - Suggest more concrete paths to .mozbuild on Windows. r=mhentges DONTBUILD
This matches the other paths further down in the same document.
I'm also adding some quotes because I was getting an "unknown target" error without them, but I'm not sure if the missing quotes were the reason or whether it just happened to succeed on the next try.

Depends on D98673

Differential Revision: https://phabricator.services.mozilla.com/D98674
2020-12-07 16:56:30 +00:00
Markus Stange 13075b5579 Bug 1680557 - Suggest `SCCACHE_START_SERVER=1` instead of `--start-server` because `--start-server` spawns and detaches a separate server process. r=mhentges DONTBUILD
See https://github.com/mozilla/sccache/issues/772#issuecomment-639058251 .

Differential Revision: https://phabricator.services.mozilla.com/D98673
2020-12-07 16:56:26 +00:00
Markus Stange f60ad7ffdd Bug 1679838 - Rename "Gecko_IOThread" to "IPC I/O Parent" and "Chrome_ChildThread" to "IPC I/O Child". r=jld
Depends on D97082

Differential Revision: https://phabricator.services.mozilla.com/D98210
2020-12-03 00:06:02 +00:00
Markus Stange ecf3a22d4d Bug 1677321 - Annotate the idle stack in MessagePumpLibevent::Run with the profiler IDLE category. r=jld
Also annotate non-idle work that's called inside MessagePumpLibevent::Run with
the OTHER category.

Differential Revision: https://phabricator.services.mozilla.com/D97082
2020-12-03 00:06:15 +00:00
Emilio Cobos Álvarez 0fd0a72af6 Bug 1681022 - Ignore flex-basis: content on a table wrapper. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D98897
2020-12-07 16:29:23 +00:00
Michael Kaply 6197f4c30c Bug 1680095 - Block Save Link As if site is blocked by policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98527
2020-12-07 16:37:12 +00:00
Geoff Brown bebfc32efd Bug 1643448 - Add ACCESS_WIFI_STATE permission and disable failing tests in dom/presentation; r=geckoview-reviewers,bc,agi
Add the permission to the geckoview manifest, as previously attempted. Also disable failing tests
to enable a green test run. Add permission to adb.py grants list for good measure.

Differential Revision: https://phabricator.services.mozilla.com/D98809
2020-12-07 16:09:06 +00:00
Henrik Skupin 8bbcc2773b Bug 1680962 - [remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D98854
2020-12-07 14:01:17 +00:00
Jeff Muizelaar 8b9b9258af Bug 1681078 - Add proper limits for input tables. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D98926
2020-12-07 15:58:34 +00:00