Commit graph

787887 commits

Author SHA1 Message Date
Mathew Hodson
1d8f43eb36 Bug 1759087 - Ignore Visual Studio user config files in VCS. r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D140797
2022-03-11 15:40:52 +00:00
Tim Giles
b9661755d7 Bug 1756387 - Fix keyboard navigation issues on about:logins. r=sgalich,dimi
Differential Revision: https://phabricator.services.mozilla.com/D139848
2022-03-11 15:19:53 +00:00
Stephen A Pohl
897cc21b64 Bug 1759063: Remove unnecessary explicit retain/release of NSString pointers in nsClipboard::IsStringType. r=mac-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D140782
2022-03-11 15:09:28 +00:00
Jon Coppeard
fe47eff032 Bug 1759107 - Don't add gecko profiler stack frames when unmarking gray things on helper threads r=jandem
This is a null pointer dereference because TlsContext is null on helper
threads.

We don't support adding profiler entries like this on helper threads at the
moment, but it's possible and we should maybe do this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D140819
2022-03-11 13:44:39 +00:00
Bernard Igiri
4ef7f83b06 Bug 1753761 - Rename compacttheme.inc.css r=dao,Itiel
Renamed compactthemes.inc.css to a more accurate name.

Differential Revision: https://phabricator.services.mozilla.com/D140673
2022-03-11 13:34:48 +00:00
Bernard Igiri
6719020863 Bug 1753761 - Remove preprocessor includes from compact theme stylesheets r=dao
Replaced preprocessor includes with platform media queries.

Differential Revision: https://phabricator.services.mozilla.com/D140052
2022-03-11 13:34:48 +00:00
Edgar Chen
95e0e6704c Bug 1757923 - Make ElementInternals keeping the target element alive; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D140310
2022-03-11 13:29:02 +00:00
Gregory Mierzwinski
cab117c6f9 Bug 1756863 - Pass the external test root found in raptor to condprof. r=perftest-reviewers,AlexandruIonescu
This patch modifies condprof to accept an optional `remote_test_root` argument so that we can change where the profile gets created and pulled from. Then we pass the external test root through this parameter from raptor to condprof. This fixes an issue on the Samsung A51 device as it can't store the profiles in the default location.

Differential Revision: https://phabricator.services.mozilla.com/D139517
2022-03-11 13:14:50 +00:00
Gregory Mierzwinski
107e3603fe Bug 1758992 - Update matrix-react-bench to v1.1. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140740
2022-03-11 13:12:58 +00:00
Sarah Clements
5ea9b12293 Bug 1758944 - remove remaining ifdefs from browser.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140747
2022-03-11 13:08:51 +00:00
Nicolas Silva
fe3175568a Bug 1757396 - Prevent SVG geometry with markers from being active. r=gfx-reviewers,lsalzman
We don't currently check whether the geometry has markers, nor do we try to render them properly with WebRender display items.

This is caught by the reftest paint-order-001.svg when active SVG images and rects are enabled.

Differential Revision: https://phabricator.services.mozilla.com/D140808
2022-03-11 13:00:54 +00:00
Sebastian Hengst
c8e4dbde8c Bug 1717629 - disable browser_opaque_response_blocking_telemetry.js for all macOS versions
Differential Revision: https://phabricator.services.mozilla.com/D140831
2022-03-11 12:30:53 +00:00
Emilio Cobos Álvarez
e3104bc919 Bug 1758705 - Hack: Don't crash in worklets for now.
GetWorkerPrivateFromContext asserts in that case, rightfully.

MANUAL PUSH: Orange fixup CLOSED TREE.
2022-03-11 14:11:28 +01:00
Alexandre Lissy
a11d18e011 Bug 1758715 - Dont always instantiate a UtilityProcessManager from FOG r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D139966
2022-03-11 11:47:53 +00:00
Dimi
c822d98978 Bug 1681985 - P6. Add a testcase to verify the result of js and native fathom CC model r=tgiles,sgalich
Depends on D137274

Differential Revision: https://phabricator.services.mozilla.com/D137275
2022-03-11 11:46:01 +00:00
Dimi
7a19097167 Bug 1681985 - P5. Support calling fathom ruleset in both c++ and js r=tgiles,sgalich
Support calling cc heuristic with 3 options:
1. Old regular expression matching heuristic
2. Fathom JS implementation
3. Fathom Native implementation

Depends on D137270

Differential Revision: https://phabricator.services.mozilla.com/D137274
2022-03-11 11:46:00 +00:00
Dimi
356e81b71d Bug 1681985 - P4. Add and call Fathom ruleset. r=sgalich
- We make some changes to heuristicsRegexp.js to improve accuracy. (Nothing else uses these regexps, so they're safe to change.) The commenting out of some languages in the expiration fields are because they caused a lot of false positives, according to Daniel Hertenstein's recollection. In any case, we've never preffed CC autofill on for those languages.

Depends on D137271

Differential Revision: https://phabricator.services.mozilla.com/D137270
2022-03-11 11:46:00 +00:00
Dimi
5186434570 Bug 1681985 - P3. Implement CreditCardRuleset in C++ r=sgalich,emilio
Depends on D137269

Differential Revision: https://phabricator.services.mozilla.com/D137271
2022-03-11 11:45:59 +00:00
Dimi
202f0dc0cc Bug 1681985 - P2. Update Fathom to 3.7.3. r=tgiles,sgalich
Depends on D137268

Differential Revision: https://phabricator.services.mozilla.com/D137269
2022-03-11 11:45:58 +00:00
Dimi
0de50082d7 Bug 1681985 - P1. Extract LabelUtils to FormAutofillUtils.jsm. r=tgiles,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D137268
2022-03-11 11:45:58 +00:00
Suhaib Mujahid
bc51aee8f3 Bug 1759015: Update Contributors’ Quick Reference to incloud a new task selector. r=sylvestre DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D140790
2022-03-11 08:14:43 +00:00
Andreea Pavel
d796ffb34a Bug 1758536 - update disabling condition on a CLOSED TREE DONTBUILD 2022-03-11 13:28:42 +02:00
Emilio Cobos Álvarez
8e81f196b9 Bug 1758705 - Make origin trials in workers work. r=asuth,dom-worker-reviewers
(pun intended)

Snapshot the trials at worker creation time, which should be enough for
our purposes.

Differential Revision: https://phabricator.services.mozilla.com/D140660
2022-03-11 11:05:09 +00:00
criss
8a10a2e9b5 Bug 1758536 - disable test_played.html on Mac and Android_debug for frequent failures.r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140822
2022-03-11 11:03:13 +00:00
Olli Pettay
b1160879b5 Bug 1701097, stabilize layout in browser_webconsole_filter_scroll.js before quering scroll position, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D140823
2022-03-11 10:59:15 +00:00
Alexandre Poirot
a736d67240 Bug 1754407 - [devtools] Use a distinct reducer for source text content and make source objects immutables. r=perftest-reviewers,devtools-reviewers,bomsy,AlexandruIonescu
This helps working on debugger performance as source objects are now immutable
and so won't trigger selector updates.

This also stop updating the object/map that contains all the text contents.

Differential Revision: https://phabricator.services.mozilla.com/D138261
2022-03-11 10:23:33 +00:00
Alexandre Poirot
3976d30b56 Bug 1754407 - [devtools] Cover fetching source text content with a mochitest. r=bomsy
This replaces a jest test with some real usecases.

Differential Revision: https://phabricator.services.mozilla.com/D140067
2022-03-11 10:23:32 +00:00
Alexandre Poirot
55a47e51aa Bug 1754407 - [devtools] Only support ADD_SOURCES options. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D138260
2022-03-11 10:23:32 +00:00
Lee Salzman
2cbc657add Bug 1758555 - Share font keys across multiple namespaces within a Renderer. r=nical,gfx-reviewers
This replaces the sharing of SharedFontInstanceMap with a new structure
SharedFontResources that can be used to trade a mechanism between threads
of a single Renderer instance for de-duplicating fonts and font instances.

SharedFontResources stores maps of FontTemplates and FontInstances as well
as a new FontKeyMap and FontInstanceKeyMap which handles the mapping of
namespace-local font keys to a shared key. The shared key then maps to
the real, de-duplicated resource (template or instance) which has a lifetime
beyond that of any individual namespace that may refer to it. Reference
counting is used to track the lifetime of the shared key so that when no key
map entries refer to the shared key any longer, it will then expire and
be cleaned up. This does cause some complications with clearing a namespace
in that rather than simply crawling through a table looking for resources
with a given IdNamespace, we have to check for shared keys that have expired
when clearing a namespace caused the last references to their mappings
to be removed.

Given that ApiResources handles the up-front addition of font templates
and instances, while ResourceCache within the RenderBackend handles deletion,
most of these mappings have to be shared between threads, which is why they
live within SharedFontResources. When resource updates are processed by
either ApiResources or ResourceCache, we create a shared key as necessary to
add the font resource, and then delete the shared font resource when a resource
update caused the last reference to the resource's shared key to expire.

This only tries to de-duplicate fonts within a single Renderer (window). Since
each Renderer has its own texture cache and dependent glyph cache, sharing
across multiple windows would require extra complication with storing font
bitmaps outside of the texture cache and outside the Renderer instance itself.
For the sake of simplicity and to better understand how de-duplication impacts
performance, this patch only tries to address sharing within a single window.

Differential Revision: https://phabricator.services.mozilla.com/D140561
2022-03-11 10:15:02 +00:00
Sarah Clements
e2f78a721c Bug 1756655 - Remove ifdefs from UA style sheets r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140186
2022-03-11 10:14:34 +00:00
Butkovits Atila
87efe4b5e2 Backed out changeset d876a95afe78 (bug 1759015) for causing failures at browser_preserveTabPipIconOverlay.js. CLOSED TREE 2022-03-11 12:52:05 +02:00
Emilio Cobos Álvarez
1353b25e32 Bug 1758997 - Remove RoInitialize/RoUninitialize from OSPreferences_win. r=Jamie
As per bug 1757647 comment 4, the main thread already initializes COM
early, and we should be able to rely on it in OSPreferences.

Differential Revision: https://phabricator.services.mozilla.com/D140745
2022-03-11 10:02:32 +00:00
Lee Salzman
a1ba0b4ade Bug 1758968 - Clip drawing in DrawTargetD2D1::DrawSurfaceWithShadow. r=gfx-reviewers,nical
DrawSurfaceWithShadow is supposed to ignore transforms but still support clipping.
It appears that DrawTargetD2D1 for some reason never actually implemented clipping.

The DrawImage calls on the DC just need to happen within the bounds of PrepareForDrawing
and FinalizeDrawing. Since PrepareForDrawing handles the overriding of the blend mode
via SetPrimitiveBlend, we need to use DrawImage with D2D1_COMPOSITE_MODE_SOURCE_OVER
so that it will blend appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D140798
2022-03-11 10:02:07 +00:00
Butkovits Atila
cd456428c5 Merge mozilla-central to autoland. CLOSED TREE 2022-03-11 12:03:56 +02:00
Butkovits Atila
2e1573cc98 Backed out changeset 8be44ea054ca (bug 1758666) for causing dt failures at browser_reps_stubs.js. CLOSED TREE 2022-03-11 11:54:21 +02:00
William Durand
a7cea289a4 Bug 1758007 - Add support for persistAcrossSessions: false in scripting.RegisteredContentScript. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D140631
2022-03-11 09:43:48 +00:00
Butkovits Atila
c3894603d8 Merge autoland to mozilla-central. a=merge 2022-03-11 11:36:15 +02:00
Julian Descottes
1c52152e37 Bug 1758792 - [devtools] Remove private browsing lock from performance front end r=julienw,devtools-backward-compat-reviewers
Depends on D140753

Differential Revision: https://phabricator.services.mozilla.com/D140754
2022-03-11 09:32:23 +00:00
Julian Descottes
e5a462eb3c Bug 1758792 - [devtools] Remove media and mediaText from style-rule front r=nchevobbe
Depends on D140752

Differential Revision: https://phabricator.services.mozilla.com/D140753
2022-03-11 09:32:23 +00:00
Julian Descottes
be067626d8 Bug 1758792 - [devtools] Remove backward compatibility code from blackbox command r=bomsy
Depends on D140687

Differential Revision: https://phabricator.services.mozilla.com/D140752
2022-03-11 09:32:22 +00:00
Julian Descottes
3d2aeacb3e Bug 1758792 - [devtools] Remove unused isOOP from webextension descriptor r=nchevobbe
Depends on D140686

Not directly related to backward compat cleanup, but I spotted this unused code.
No trace of any test checking isOOP in the codebase, so I think it's safe to remove.

Differential Revision: https://phabricator.services.mozilla.com/D140687
2022-03-11 09:32:22 +00:00
Julian Descottes
f7c994af16 Bug 1758792 - [devtools] Fix backward compat comment in webextension descriptor actor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D140686
2022-03-11 09:32:22 +00:00
Masayuki Nakano
c98a4265f6 Bug 1742933 - part 12: Make all aInitializer arguments optional r=m_kato
For making the callers simpler, they should be able to be omitted if they
want to do nothing.

Differential Revision: https://phabricator.services.mozilla.com/D140701
2022-03-11 09:21:36 +00:00
Masayuki Nakano
75a4321f48 Bug 1742933 - part 11: Create a pref to get back the traditional behavior r=m_kato
For avoiding simple back-out of the patches when we get serious regression
reports, we should have a pref to disable the new pref.

Differential Revision: https://phabricator.services.mozilla.com/D140475
2022-03-11 09:21:36 +00:00
Masayuki Nakano
5de9964c0b Bug 1742933 - part 10: Make HTMLEditor::InsertAsCitedQuotationInternal() set attributes of <blockquote> before connecting it to the DOM tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D140474
2022-03-11 09:21:36 +00:00
Julien Wajsberg
2e9e2ccdd2 Bug 1752861 - [profiler] Expose GC and CC operations to the JS view r=sfink,smaug
Differential Revision: https://phabricator.services.mozilla.com/D140390
2022-03-11 09:18:31 +00:00
Julien Wajsberg
830ac30ee4 Bug 1752861 - [profiler] Rename and expose to JS some existing frame labels as well as adding a few r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D140389
2022-03-11 09:18:30 +00:00
Julien Wajsberg
94fa561963 Bug 1752861 - [profiler] Add a few new macros to add frame labels that will show up in javascript stacks r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D140388
2022-03-11 09:18:30 +00:00
Masayuki Nakano
74b9376c5e Bug 1742933 - part 9: Make HTMLEditor::InsertAsPlaintextQuotation() set attributes of <span> before connecting to the DOM tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D140473
2022-03-11 09:14:37 +00:00
Masayuki Nakano
c0fa3848af Bug 1742933 - part 8: Make HTMLEditor::PasteAsQuotationAsAction() set "type" attribute of new blockquote element before connecting it to the DOM tree r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D140472
2022-03-11 09:14:36 +00:00