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

735013 Коммитов

Автор SHA1 Сообщение Дата
Mozilla Releng Treescript ff82c973f8 No bug - tagging b9dd8e54c8ae449638635758a6571285655a4d0c with FIREFOX_BETA_84_BASE a=release DONTBUILD CLOSED TREE 2020-11-16 09:42:55 +00:00
Julian Descottes 4c52379c29 Bug 1676646 - [devtools] Remove unused Connected localized string in aboutdebugging r=ladybenko,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96714
2020-11-16 09:34:00 +00:00
Razvan Maries 65ce92c4ba Backed out changeset 8531203d7207 (bug 1677092) for build bustages on TestAlgorithm.cpp. CLOSED TREE 2020-11-16 12:05:36 +02:00
Mirko Brodesser 2257cfe5bf Bug 1677092: add `constexpr` `AnyOf`. r=sg
The STL supports it only with C++20.

Differential Revision: https://phabricator.services.mozilla.com/D97123
2020-11-16 09:41:40 +00:00
Frederik Braun 046c5ef927 Bug 1677047 - Testing to block ports 1720, 1723, 554- r=necko-reviewers,valentin
Depends on D96979

Differential Revision: https://phabricator.services.mozilla.com/D96980
2020-11-16 08:56:48 +00:00
Emilio Cobos Álvarez 217dcaaf54 Bug 1677390 - Flip dom.innerSize.rounded back to true for causing web compat issues.
Differential Revision: https://phabricator.services.mozilla.com/D97101
2020-11-15 19:06:25 +00:00
Andrei Oprea 4f6e7815fa Bug 1675104 - Handle experiment activation when accessing experiment data r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D96090
2020-11-15 17:14:03 +00:00
Jeff Muizelaar e34aa778ff Bug 1677384 - Drop the unused transform_alloc and transform_free. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97098
2020-11-15 14:09:38 +00:00
Jeff Muizelaar 6e6d1d327a Bug 1677382 - Make qcms_transform_create safe. r=aosmond
Tack on a little clean up in compute_whitepoint_adaption

Differential Revision: https://phabricator.services.mozilla.com/D97097
2020-11-15 14:04:42 +00:00
Jeff Muizelaar 8ece49dbf8 Bug 1677381 - Turn AVX and Neon features into atomic bools. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97096
2020-11-15 14:01:58 +00:00
Jeff Muizelaar daf018a6cb Bug 1677352 - Use RGB_SIGNATURE. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97090
2020-11-15 12:27:44 +00:00
Mihai Alexandru Michis c37038c592 Bug 1647973 - Disable browser_bug1170531.js on Linux opt for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D97064
2020-11-14 15:25:51 +00:00
Timothy Nikkel 6d78a89726 Bug 1674935. Add mochitest.
Differential Revision: https://phabricator.services.mozilla.com/D97087
2020-11-15 02:15:05 +00:00
Jeff Muizelaar 398666fb8d Bug 1677326 - Make lut_interp_linear_float safe. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97085
2020-11-14 21:02:45 +00:00
Masayuki Nakano 1edcd70cdd Bug 1676295 - Add WPT to test deleting in/around/across list items r=smaug
There are not enough tests comparing delete operation result and result of
`getTargetRanges()` when selection is in/around/across list item elements.
This patch creates a utility method to make the test body not need to use
Selection API for making simpler tests.

The expected behavior is based on Blink and WebKit unless their behavior is
buggy because their behavior is more reasonable than Gecko's in most cases.

Note that the removing tests are covered by the new tests.

Differential Revision: https://phabricator.services.mozilla.com/D96800
2020-11-14 10:30:31 +00:00
Valentin Gosu 5f2e68c256 Bug 1675205 - Report telemetry when load an empty file via a JAR archive r=zbraniecki
This will report when a telemetry even whenever we load an empty file via a
JAR channel. It will not catch situations where onStopRequest is called with
an error code, or when the listener of the channel does not consume the stream.

Differential Revision: https://phabricator.services.mozilla.com/D96412
2020-11-14 22:06:35 +00:00
Valentin Gosu bd132e112d Bug 1658097 - [fission] Send resource timing data for cross-origin frames to the correct process r=nika,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D96754
2020-11-13 13:48:00 +00:00
Sunita Sen 4916cac75d Bug 1677302 - Remove KeyboardScrollAnimation r=kats
Differential Revision: https://phabricator.services.mozilla.com/D97081
2020-11-14 21:54:44 +00:00
Frederik Braun 0d98da0194 Bug 1677047 - Add the ports for the H323, PPTP, RTSP protocols (1720, 1723, 554) to the restricted ports list. - r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96979
2020-11-13 12:19:07 +00:00
Matt Woodrow 7edd8e0527 Bug 1677211 - Add Read access flags to D3D11 staging textures to avoid slow accesses when reading our intermediate results. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97106
2020-11-16 03:21:52 +00:00
Maja Frydrychowicz 6fa12333a5 Bug 1534582 - [AWSY] Use spec-compliant Marionette actions r=perftest-reviewers,marionette-reviewers,AlexandruIonescu
AWSY has been using Marionette's "legacy" actions implementation
because spec-compliant actions didn't work yet in chrome scope.

With Marionette's new JSWindowActor-based architecture, which
is now enabled on all builds, chrome scope is now supported by
spec-compliant actions, so AWSY can now use them.

Differential Revision: https://phabricator.services.mozilla.com/D97019
2020-11-16 07:53:26 +00:00
Rob Wu 70c7eb1fbf Bug 1652925 - Fix memory leak of extension Port via conduits r=zombie
Extension ports should be eligible for garbage collection when
disconnected. This did not happen because there was a strong reference
from the context to the conduit, whose subject was the Port. As a
result, the Port instances were not GCd until the context was unloaded.

This results in significant memory leaks over time, because it is not
uncommon for extensions to have a long-lived background page that
receives messages via Ports. The issue is made even worse by the fact
that ports contain metadata that can potentially be very large.

There are other callers of openConduit, but these are not affected
because their lifetimes are similar to the BaseContext.

Differential Revision: https://phabricator.services.mozilla.com/D96952
2020-11-16 01:24:14 +00:00
Daisuke Akatsuka 1fc9660ab0 Bug 1181081: Fix up typos for string that user would have intented as protocol. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D95982
2020-11-15 22:26:02 +00:00
Chris Peterson 0a345f15a6 Bug 1676797 - Replace MOZ_MUST_USE with [[nodiscard]] in docshell. r=smaug
The MOZ_MUST_USE macro is defined as clang's and gcc's nonstandard __attribute((warn_unused_result))__. Now that we compile as C++17 by default (bug 1560664), we can replace MOZ_MUST_USE with C++17's standard [[nodiscard]] attribute.

Differential Revision: https://phabricator.services.mozilla.com/D96802
2020-11-13 10:24:04 +00:00
Jeff Muizelaar 6e93fa82c2 Bug 1677309 - Make qcms_profile_precache_output_transform safe. r=aosmond
There's a couple of formatting cleanups too.

Differential Revision: https://phabricator.services.mozilla.com/D97080
2020-11-14 16:35:58 +00:00
Jonathan Kew 76aa84acec Bug 1673397 - Check face name of DirectWrite font, to ensure we find the right family member. r=lsalzman
This is a somewhat speculative fix, as I haven't been able to reproduce the issue locally,
but it seems like the right thing to do given that (AFAIK) the DirectWrite APIs don't
make any promises about consistent ordering of faces within the list.

Differential Revision: https://phabricator.services.mozilla.com/D97043
2020-11-14 18:21:06 +00:00
Kartikaya Gupta 9116b2fd7d Bug 1662019 - Encapsulate the ScrollGeneration::New calls a bit more. r=tnikkel
Instead of the scrollframe manually calling ScrollGeneration::New this has the
ScrollPositionUpdate do it automatically. Just makes things a little more
encapsulated.

Note that this patch does contain a small functional change, which is that if
ScrollFrameHelper::ScrollToImpl is called with ScrollOrigin::apz, it will not
increment mScrollGeneration whereas it used to before. As far as I can tell
this should be a harmless change.

Depends on D97036

Differential Revision: https://phabricator.services.mozilla.com/D97037
2020-11-13 22:58:13 +00:00
Kartikaya Gupta bebe87ee86 Bug 1662019 - Replace the uint32_t scroll generation with ScrollGeneration. r=tnikkel
Depends on D97035

Differential Revision: https://phabricator.services.mozilla.com/D97036
2020-11-13 22:58:06 +00:00
Kartikaya Gupta 30cf7e7d4a Bug 1662019 - Create a dedicated struct for the scroll generation. r=tnikkel
Note in particular the struct keeps its own static (per-process) counter value,
and uses a uint64_t.

Depends on D97034

Differential Revision: https://phabricator.services.mozilla.com/D97035
2020-11-13 22:57:53 +00:00
Emilio Cobos Álvarez 0bdb54d279 Bug 1673524 - Disable the test in WebRender due to bug 1676773.
I was hoping we wouldn't need to do this, oh well.

Differential Revision: https://phabricator.services.mozilla.com/D97070
2020-11-14 13:36:20 +00:00
Emilio Cobos Álvarez 2d5eae2af5 Bug 1677290 - Set accessibility.mouse_focuses_formcontrol on a test that relies on it for OSX to stop failing.
Differential Revision: https://phabricator.services.mozilla.com/D97069
2020-11-14 13:33:32 +00:00
Nika Layzell 43b599baf6 Bug 1603340 - Disable browser_force_refresh.js under verify, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D95892
2020-11-12 18:01:08 +00:00
Nika Layzell 0213d3f28d Bug 1671983 - Part 6: Stop turning off privileged content process in marionette_driver, r=mconley,marionette-reviewers,whimboo
This caused some local breakage when using `mach run` due to the privileged
content process being disabled, but the startup cache being enabled (I think?) -
removing it allowed `mach run` to use the privilegedremote process again.

I think the issue which caused this pref to be added here has been fixed now, so
it shouldn't be necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D94643
2020-11-12 18:01:06 +00:00
Nika Layzell ecc6d3b77b Bug 1671983 - Part 5: Remove unnecessary process switch logic from BrowserTestUtils.jsm, r=annyG
Most of the helper functions in BrowserTestUtils have been updated to deal with
process switches happening during navigations now, so most of these places which
previously tried to wait for a process switch before setting up listeners etc.
are no longer necessary.

This patch removes all of the process switch prediction logic from
BrowserTestUtils.jsm as it's no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D94642
2020-11-12 18:01:00 +00:00
Nika Layzell 42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Nika Layzell 9fdad7893c Bug 1671983 - Part 3: E10SUtils.jsm isn't loaded in content anymore, r=annyG
Previously this component was loaded in content due to shouldLoadURI requiring
it, but it is no longer required for that, so can be removed from content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D94640
2020-11-12 18:00:58 +00:00
Nika Layzell 6b824cc31d Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00
Nika Layzell 9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
Dzmitry Malyshau 67a1f9eb04 Bug 1629357 - Make WebGPU dependent on WebRender feature r=aosmond
WebGPU itself doesn't care about WebRender or even the GPU process.
However, the presentation to canvas as written today only works with WebRender, so
it seems fine to have it as a dependency in general.

An alternative could be to just fail getContext() call if webrender is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D70888
2020-11-16 15:25:39 +00:00
pbz 8587608ed8 Bug 1338637 - Added test for folder upload confirmation prompt. r=Gijs
This also fixes an issue where MockFilePicker wouldn't set the mode correctly,
which caused it to always use "modeOpen". For this test we need to pass
"modeGetFolder" in order for the prompt to show.

Differential Revision: https://phabricator.services.mozilla.com/D96526
2020-11-16 09:33:25 +00:00
pbz 574bf71758 Bug 1338637 - Ask user for confirmation before folder upload. r=Gijs,geckoview-reviewers,agi,baku
Differential Revision: https://phabricator.services.mozilla.com/D95324
2020-11-16 09:33:43 +00:00
Dzmitry Malyshau 997b81e57e Bug 1677233 - Fix windows7-32-qr jobs r=gw
Differential Revision: https://phabricator.services.mozilla.com/D97060
2020-11-16 14:58:51 +00:00
Karl Tomlinson 3ecfd961ba Bug 1213512 reject MediaDevices method promises with existing standard errors r=jib
OverconstrainedError is not yet supported.

Differential Revision: https://phabricator.services.mozilla.com/D95971
2020-11-12 00:07:15 +00:00
Nicolas Chevobbe 68d3b8b92b Bug 1672980 - [devtools] Fix browser_browser_resources_console_messages failures on beta simulation. r=ochameau.
This is flipping the devtools.browsertoolbox.fission pref, which
is only enabled on Nightly at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D96411
2020-11-11 09:05:01 +00:00
Timothy Nikkel 3e452098c6 Bug 1676989. Update mCompositedFrameInvalid more often now that we only check for the current frame being decoded and not all frames. r=aosmond
In https://hg.mozilla.org/integration/autoland/rev/471ad96ddc3e we changed this from calling |Surface().IsFullyDecoded()| to calling Seek because IsFullyDecoded always returns false for large enough animations because we don't keep around all of their frames.

In the old model, where mIsCurrentlyDecoded tracks if the image is fully decoded, we don't want to set mCompositedFrameInvalid to true if simply if the image isn't fully decoded because the current frame could be available.

In the new model, where mIsCurrentlyDecoded tracks if the current frame is available, we definitely do want to mark mCompositedFrameInvalid if the current frame is not available.

Depends on D96944

Differential Revision: https://phabricator.services.mozilla.com/D96945
2020-11-13 03:25:33 +00:00
Mihai Alexandru Michis ba567fa55c Backed out changeset 0529f89855bd (bug 1673397) for causing awsy failures. 2020-11-14 07:01:24 +02:00
Doug Thayer 78cca3abfe Bug 1674389 - Implement rounded borders on Skeleton UI rects r=mstange,jrmuizel
I'm hoping that the comments in the code are sufficient documentation of this,
but here is a quick overview. The mockup we got from design has rounded rects
in it, and bordered rounded rects in it, so we need to support drawing those.
Initially we tried using the RoundRect function in GDI. However, 1) GDI doesn't
support anti-aliasing, which is unfortunately noticeable, 2) we were
observing strange issues with only some of the corners being rounded with
RoundRect at higher radii / stroke widths. 3) drawing on top of things drawn
with RoundRect would be complicated and inefficient unless we switched
everything over to GDI calls.

As it stands this drawing code is platform agnostic, assuming we have a way of
blitting a raw bitmap to the screen on a given platform, which is a nice trait
to have and makes me think twice about switching all of the drawing over to
direct GDI calls.

Differential Revision: https://phabricator.services.mozilla.com/D95317
2020-11-13 20:39:10 +00:00
Jared Wein 746d24163a Bug 1674091 - Show and hide the empty bookmarks message if there are visible children in the toolbar. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96763
2020-11-14 01:07:35 +00:00
Jared Wein 4ac0b0d645 Bug 1674091 - Don't update the state of the Other Bookmarks shortcut folder if the personal-bookmarks item has been placed in the palette. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D96764
2020-11-14 01:07:28 +00:00
Jared Wein c7a9c24f20 Bug 1674091 - Add a getter for the Bookmarks Toolbar in BookmarkingUI. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D96762
2020-11-14 01:07:28 +00:00