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

742545 Коммитов

Автор SHA1 Сообщение Дата
Kagami Sascha Rosylight f3d0bd2669 Bug 1686194 - Fire pagetitlechanged when initialized with an empty string r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102054
2021-01-28 15:40:33 +00:00
Julian Descottes f9ad45c76b Bug 1686241 - [devtools] Stop selecting the node front when expanding the markup view container r=nchevobbe
Depends on D103051.

Other browser devtools do not select the node on expand. Selecting the node can be quite slow when if many CSS rules apply to it.
This should allow exploring the tree of complex pages with less slowdowns.
An existing test is updated to assert the selected state of the node container before/after expanding it.

Differential Revision: https://phabricator.services.mozilla.com/D103052
2021-01-28 15:33:47 +00:00
Julian Descottes e3f9fa97e1 Bug 1686241 - [devtools] Use shared test helpers to toggle markup-view containers r=nchevobbe
The existing helper expandContainerByClick is modified to support the "altKey" option and reused in all tests that try to click on markup-view container expand-icons.
A similar collapseContainerByClick is also added for symmetry. Both methods will become identical once we stop selecting the node on expand and they will be merged.

Differential Revision: https://phabricator.services.mozilla.com/D103051
2021-01-26 16:34:33 +00:00
Jared Wein 1df585c99a Bug 1688237 - Reduce the clickable area for the Mute/Unmute on the tab to the text and icon. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D102961
2021-01-28 00:18:29 +00:00
Valentin Gosu bfc7a3df9d Bug 1688838 - Don't use the Windows Registry off main thread in nsNotifyAddrListener while a MockRegistry is active r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D103158
2021-01-28 13:41:39 +00:00
stransky 5e0eedd45f Bug 1689319 [Linux] Rename CSD_SUPPORT_* to GTK_DECORATION_* r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D103299
2021-01-28 14:35:38 +00:00
Ted Campbell 8e763a3c25 Bug 1680848 - Don't allow cloning to change non-synactic flag. r=jandem
Assert that uses of `CloneAndExecuteScript` have a consistent NonSyntactic
flag. These APIs still perform cloning for the cross-realm cases. The shell
functions need small tweaks to support this invariant.

Standalone functions are not cloned and do no update their environment so if
they had Syntactic global scope they will always continue to, and otherwise
will stick in non-syntactic mode.

Differential Revision: https://phabricator.services.mozilla.com/D98825
2021-01-28 14:34:29 +00:00
Jamie Nicol ecd5b26737 Bug 1689316 - Convert all switch statements to if-elses in webrender shaders. r=jrmuizel
We keep encountering issues on various platforms due to the usage of
switch statements, especially the optimized output produced by
glslopt. Replace all instances with if-else statements instead.

Differential Revision: https://phabricator.services.mozilla.com/D103300
2021-01-28 14:27:13 +00:00
Alexis Beingessner 316b5113e0 Bug 1633239 - make the bitfields on CacheStorageService atomic. r=valentin,necko-reviewers
this is only a hypothetical fix to the underlying issue since we don't have a clean trace.

Differential Revision: https://phabricator.services.mozilla.com/D103057
2021-01-28 11:05:02 +00:00
thomasmo 87d023b4d2 BUG 1688920 - Remove vrhost from build r=jrmuizel
This change remove the files used for building and testing vrhost.dll, which was used for an early prototype of Firefox Reality PC.
This binary is no longer needed for FxR PC.

Differential Revision: https://phabricator.services.mozilla.com/D103237
2021-01-28 00:27:35 +00:00
Emilio Cobos Álvarez 9108464c06 Bug 1687870 - Fix two ua-style reftests for expected differences with the non-native theme. r=spohl
Buttons have a bit less padding in the non-native theme.

Differential Revision: https://phabricator.services.mozilla.com/D103314
2021-01-28 14:22:56 +00:00
Emilio Cobos Álvarez b1a1a57cd6 Bug 1689342 - Remove focus-visible and preload from the experimental features section. r=preferences-reviewers,Gijs
These are enabled by default and shipped in 85 and 84 respectively.

Differential Revision: https://phabricator.services.mozilla.com/D103316
2021-01-28 14:21:57 +00:00
Emilio Cobos Álvarez cdd2c2e7a3 Bug 1689286 - Make the number input spinners look nicer with padding. r=spohl
If you add padding to the input on the inline-end, like some of the
examples in bug 1674431, then the darker border looks off.

Without it, the number input still looks nice, so I think we should do
this.

We might want to introduce the padding by default (see bug 1689286).

Differential Revision: https://phabricator.services.mozilla.com/D103270
2021-01-28 14:17:01 +00:00
M. Sirringhaus 5d4a325c23 Bug 1688882 - Always inform the main process that a minidump has been generated, even if it's incomplete r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D103041
2021-01-28 14:17:34 +00:00
Dão Gottwald fdf40620bf Bug 1687952 - Unpin search shortcut when attempting to show a sponsored top site from the same vendor. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D102593
2021-01-28 14:01:36 +00:00
prathiksha c0f608bd59 Bug 1687970 - Search bar focus ring should appear on click. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D103175
2021-01-28 13:50:53 +00:00
nchevobbe 15010b1abb Bug 1682220 - [devtools] Use nsiWorkerDebugger#windowIds instead of window reference in DevToolsWorkerChild. r=ochameau.
This also allow us to remove the ignoreExistingTargets option we had to workaround Bug 1673024.

Differential Revision: https://phabricator.services.mozilla.com/D99648
2021-01-28 13:23:45 +00:00
Jonathan Kew 4fce2d401c Bug 92176 - Add wpt reftest for ::first-letter and Dutch ij digraph. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D103224
2021-01-28 12:06:59 +00:00
Jonathan Kew ffa1341bfa Bug 92176 - Make the ::first-letter pseudo respect the Dutch 'ij' digraph and treat it as a unit. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D103223
2021-01-28 11:46:53 +00:00
Jon Coppeard c05c9e14f3 Bug 1688749 - Use system page size for the nursery size granularity when smaller than a chunk r=sfink
There's no point in the granularity being smaller than the page size as that would just waste memory.

Differential Revision: https://phabricator.services.mozilla.com/D103171
2021-01-28 10:58:09 +00:00
Emilio Cobos Álvarez d1350df09d Bug 1689098 - follow-up: Tweak one more fuzzy threshold.
There are some more pixels now that there's a bit more padding.

MANUAL PUSH: orange on a CLOSED TREE
2021-01-28 14:02:00 +01:00
Emilio Cobos Álvarez f08a1fb7b1 Bug 1689098 - follow-up: Tweak some fuzzy thresholds.
MANUAL PUSH: Fix some minor OSX+WR-only orange on a CLOSED TREE.
2021-01-28 13:57:10 +01:00
Rob Wu c1a29e99a4 Bug 1688440 - Add missing logger.warning/error to xOriginRunner r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D102863
2021-01-27 22:50:38 +00:00
Paul Zuehlcke 39228075d3 Bug 1688221 - Skip localStorage clear-site-data tests for legacy localStorage implementation. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D103037
2021-01-28 11:23:38 +00:00
Simon Giesecke 09a0eebdd9 Bug 1686749 - Let CreateFile*Stream functions propagate all errors. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D101779
2021-01-28 11:12:19 +00:00
Valentin Gosu 7d0af7171d Bug 1689108 - Report telemetry when TRRService is not confirmed because we have no connectivity r=necko-reviewers,dragana
Depends on D103234

Differential Revision: https://phabricator.services.mozilla.com/D103235
2021-01-28 10:51:57 +00:00
Valentin Gosu b89094e018 Bug 1689108 - Report TRR_IS_OFFLINE telemetry if the TRRService is NOT_CONFIRMED and the browser is offline r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103234
2021-01-28 10:50:35 +00:00
stransky 5d9aa9bb9b Bug 1631061 [Wayland] Add more logging to wayland clipboard code, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D103288
2021-01-28 10:06:15 +00:00
Lee Salzman 988104567f Bug 1689245 - replace CompositorWidget::ClearBeforePaint with GetTransparentRegion. r=mattwoodrow CLOSED TREE
ClearBeforePaint put the responsibility of clearing the current frame's DrawTarget
onto the widget. This doesn't compose well with WR RenderCompositor that may do
their own internal clearing. Instead, replace this with a GetTransparentRegion API
that can be used by RenderCompositors to limit where they clear so that they are
now fully responsible for clearing.

Differential Revision: https://phabricator.services.mozilla.com/D103253
2021-01-28 09:12:40 +00:00
Lee Salzman aa6576ccde Bug 1689245 - implement GL_ARB_clear_texture extension for SWGL. r=mattwoodrow
GL_ARB_clear_texture implements some useful GL entry-points for clears
that can clear arbitrary sub-rects of the screen without having to latch
or disturb GL state. This refactors the glClear implementation to be in
terms of the provided glClearTexSubImage extension which is far more
flexible.

This further allows us to reuse clearing primitives in RenderCompositorSWGL
without having to use more expensive DrawTarget versions.

Differential Revision: https://phabricator.services.mozilla.com/D103252
2021-01-28 08:35:34 +00:00
smolnar b34ab8df97 Merge mozilla-central to autoland. CLOSED TREE 2021-01-28 12:05:13 +02:00
smolnar 27de9a114b Backed out 2 changesets (bug 1689245) for causing merge conflicts.
Backed out changeset 56cb5f428fb5 (bug 1689245)
Backed out changeset b1303a0086cd (bug 1689245)
2021-01-28 12:02:57 +02:00
Lee Salzman b2bd266cde Bug 1689245 - replace CompositorWidget::ClearBeforePaint with GetTransparentRegion. r=mattwoodrow
ClearBeforePaint put the responsibility of clearing the current frame's DrawTarget
onto the widget. This doesn't compose well with WR RenderCompositor that may do
their own internal clearing. Instead, replace this with a GetTransparentRegion API
that can be used by RenderCompositors to limit where they clear so that they are
now fully responsible for clearing.

Differential Revision: https://phabricator.services.mozilla.com/D103253
2021-01-28 09:12:40 +00:00
Lee Salzman 3d319c55f8 Bug 1689245 - implement GL_ARB_clear_texture extension for SWGL. r=mattwoodrow
GL_ARB_clear_texture implements some useful GL entry-points for clears
that can clear arbitrary sub-rects of the screen without having to latch
or disturb GL state. This refactors the glClear implementation to be in
terms of the provided glClearTexSubImage extension which is far more
flexible.

This further allows us to reuse clearing primitives in RenderCompositorSWGL
without having to use more expensive DrawTarget versions.

Differential Revision: https://phabricator.services.mozilla.com/D103252
2021-01-28 08:35:34 +00:00
Timothy Nikkel 208e860b07 Bug 1689291. Work around layout/reftests/transform/partial-prerender-expansion-translate.html failing by setting a meta viewport. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D103278
2021-01-28 09:10:18 +00:00
Emilio Cobos Álvarez 33f844c209 Bug 1667089 - Remove some dead code for collapsed resizers on the root scroll frame. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D103272
2021-01-28 08:25:54 +00:00
smolnar 4f07d49f1c Backed out 2 changesets (bug 1689245) for causing failures in CompositorWidget. CLOSED TREE
Backed out changeset 60ad4f4b141d (bug 1689245)
Backed out changeset 778ecad5812e (bug 1689245)
2021-01-28 10:25:13 +02:00
smolnar 79d2008ba0 Backed out 2 changesets (bug 1689245) for causing failures in CompositorWidget. CLOSED TREE
Backed out changeset 60ad4f4b141d (bug 1689245)
Backed out changeset 778ecad5812e (bug 1689245)
2021-01-28 10:25:13 +02:00
Csoregi Natalia cb03e9e30c Backed out 9 changesets (bug 1686831) for sanitizer failures on nsTSubstring.cpp. CLOSED TREE
Backed out changeset 0e03d508c8d4 (bug 1686831)
Backed out changeset cf6dd6eab427 (bug 1686831)
Backed out changeset 308000f1e14b (bug 1686831)
Backed out changeset c4d470be0184 (bug 1686831)
Backed out changeset 9751918b1ccb (bug 1686831)
Backed out changeset dd9b7e71dcfb (bug 1686831)
Backed out changeset 486a184530a7 (bug 1686831)
Backed out changeset b64d3e89bf68 (bug 1686831)
Backed out changeset dcc6396e455a (bug 1686831)
2021-01-28 09:55:28 +02:00
stransky d3a109a0e9 Bug 1687212 [Wayland] Remove UnlockWaylandBuffer() and related code as it's not used, r=jhorak
Depends on D103185

Differential Revision: https://phabricator.services.mozilla.com/D103186
2021-01-28 06:50:50 +00:00
stransky 3c20423435 Bug 1687212 [Wayland] Provide wayland buffer logging to wayland window surface, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D103185
2021-01-28 06:50:58 +00:00
Emilio Cobos Álvarez a1bf2a82af Bug 1560824 - Move combobox select padding to the select rule rather than the combobox frame. r=dholbert
This doesn't change behavior by default but allows authors to remove the
padding if they wish to.

I thought this was going to be problematic because of the windows
arrowbutton, but that doesn't respect select padding so we're good.

Differential Revision: https://phabricator.services.mozilla.com/D103245
2021-01-28 07:09:23 +00:00
Csoregi Natalia 8db3ebb5da Backed out 9 changesets (bug 1686831) for sanitizer failures on nsTSubstring.cpp. CLOSED TREE
Backed out changeset 0e03d508c8d4 (bug 1686831)
Backed out changeset cf6dd6eab427 (bug 1686831)
Backed out changeset 308000f1e14b (bug 1686831)
Backed out changeset c4d470be0184 (bug 1686831)
Backed out changeset 9751918b1ccb (bug 1686831)
Backed out changeset dd9b7e71dcfb (bug 1686831)
Backed out changeset 486a184530a7 (bug 1686831)
Backed out changeset b64d3e89bf68 (bug 1686831)
Backed out changeset dcc6396e455a (bug 1686831)
2021-01-28 09:55:28 +02:00
Csoregi Natalia 2ee9173f2d Backed out changeset aed2730aad6c (bug 1689253) for layout failures. CLOSED TREE 2021-01-28 09:52:38 +02:00
Mike Hommey 5d9084e8a0 Bug 1689058 - Rename clang-cl toolchains to clang. r=firefox-build-system-reviewers,dmajor
Bug 1553230 made configure automatically get toolchain artifacts in some
cases. The artifacts for clang-cl builds are clang.tar.zst, and extract to
clang/. Configure derives the task name from that knowledge, and fails
to find clang-cl tasks because of that.

For consistency, these tasks should be called clang. They are clang
builds anyways, and like any other clang builds, they also contain
clang-cl.

Differential Revision: https://phabricator.services.mozilla.com/D103150
2021-01-28 00:30:56 +00:00
Mike Hommey 210911c78c Bug 1686831 - Use double-conversion for mozilla::PrintfTarget::cvt_f. r=nika
This makes mozilla::PrintfTarget consistent across all locales (not
printing e.g. "," instead of "." for the decimal point in floats in some
locales)

This implementation passes all the glibc tests in stdio-common/tfformat.c
except two tests because of the difference in how values like e.g 0.25 are
rounded. Printf in glibc and on MacOS, as well as Rust std::fmt, round to
nearest, ties to even. Double-conversion, as well as printf on Windows
and conversion functions in ECMAScript round to nearest, ties away from
zero.

The standard for printf says rounding is implementation-defined so
either way is technically correct.

Differential Revision: https://phabricator.services.mozilla.com/D102699
2021-01-28 04:56:57 +00:00
Tooru Fujisawa 07f329300b Bug 1688886 - Encode/decode ImmutableScriptData at once. r=tcampbell
ImmutableScriptData is already packed, and doesn't contain pointers.
When encoding, it encode the entire data at once.
When decoding, it allocate ImmutableScriptData with given size, and then
read data, and then validate the size on debug build.

Depends on D103162

Differential Revision: https://phabricator.services.mozilla.com/D103163
2021-01-27 19:10:02 +00:00
Tooru Fujisawa 711d33a3bf Bug 1688885 - Use Span for BaseCompilationStencil.objLiteralData. r=tcampbell
Depends on D103161

Differential Revision: https://phabricator.services.mozilla.com/D103162
2021-01-27 18:49:00 +00:00
Tooru Fujisawa fba3d8d6df Bug 1688884 - Part 3: Use Span for BaseCompilationStencil.bigIntData. r=tcampbell
To avoid accessing BigIntStencil from constant folding, calculate isZero
and store it into BigIntLiteral.

Depends on D103160

Differential Revision: https://phabricator.services.mozilla.com/D103161
2021-01-27 18:27:27 +00:00
Tooru Fujisawa 65e44b52e5 Bug 1688884 - Part 2: Use LifoAlloc and XDR buffer for BigIntStencil source. r=tcampbell
When compiling, source is allocated in LifoAlloc.
When decoding, source points XDR buffer.

Depends on D103159

Differential Revision: https://phabricator.services.mozilla.com/D103160
2021-01-27 18:18:51 +00:00