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

721782 Коммитов

Автор SHA1 Сообщение Дата
Simon Fraser 6f3132e158 Bug 1658079 Disable resource-monitor support for aarch64 workers r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D86525
2020-08-10 12:49:08 +00:00
Christoph Kerschbaumer e99c9c8e77 Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-10 08:51:44 +00:00
alexandru.ionescu 50f359a19f Bug 1655736 pinterest is timing out intermittently while rerecording on mitm5 r=Bebe,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86359
2020-08-10 08:34:13 +00:00
longsonr 0433fcdc52 Bug 1655324 - rewrite DOMSVGAnimatedString r=heycam
- Convert DOMSVGAnimatedString to a concrete class rather than having two almost identical derived classes that differ only by the class of the mVal pointer
- Introduce tear off support for SVGAnimatedClass
- Move to native refcounting rather than nsISupports

Differential Revision: https://phabricator.services.mozilla.com/D84924
2020-08-10 07:55:15 +00:00
Jorg K fe5b7cefc1 Bug 1658210 - Follow-up to bug 1657609: Revert PARAM_BUFFER_COUNT back to 18 for Thunderbird. r=mccr8 a=Aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86489
2020-08-09 18:14:50 +00:00
pctopgs ab81b8552f Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationRequest.cpp. Added scope resolution to the NS_CreatePresentationService() definition in PresentationService.cpp r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86470
2020-08-09 14:53:57 +00:00
Jonathan Kew b12c5b9ea0 Bug 1657892 - Cache variation axes in the UnscaledFontMac to accelerate font instantiations. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86475
2020-08-09 07:23:42 +00:00
Marco Bonardo 24ad033dab Bug 1654862 - Tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86386
2020-08-08 21:07:39 +00:00
Marco Bonardo 5484266b3d Bug 1654862 - Show suggestions for the empty query when in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86355
2020-08-08 21:33:12 +00:00
Doug Thayer 4e1e2e3037 Bug 1657205 - Fallibly allocate for StartupCache from Omnijar r=froydnj
This changes the StartupCache::PutBuffer call from Omnijar to use a
fallibly allocated buffer, to reduce OOM crashes. We can/should broaden the
scope of this, but this is a simple initial change to mitigate the OOM
crashed introduced with bug 1627075.

Differential Revision: https://phabricator.services.mozilla.com/D86067
2020-08-07 20:05:59 +00:00
longsonr 914ea37ede Bug 1653858 - Introduce concept of valid target for use elements and use it rather than listing out all elements r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D84104
2020-08-08 15:47:04 +00:00
Mike Hommey d3c3a026b3 Bug 1657768 - Set temp_file_paths earlier. r=ahal
The finally where it's used may be reached before it is set currently,
leading to more important error messages being hidden.

Differential Revision: https://phabricator.services.mozilla.com/D86281
2020-08-07 14:54:55 +00:00
Mike Hommey 527e667296 Bug 1537703 - Use llvm-rc instead of rc.exe. r=mhentges,froydnj
This makes us use one less tool from MSVC, and removes one more use of wine
in cross builds.

We replace the call to either rc/llvm-rc or windres with a wrapper script.
While the script is not strictly needed for the latter, we use a wrapper
in that case anyway because it's one step towards fixing bug 1498414.
For llvm-rc, however, we need a wrapper because llvm-rc doesn't preprocess
on its own, so the wrapper does that too.

The wrapper script also allows to deal with the default flags passed to
llvm-rc or windres, rather than inherit them from old-configure.

We also need to explicitly pass the codepage to llvm-rc, which was not
necessary with rc (presumably, llvm-rc has a different default).

While here, remove the unused WINDRES subst from js/src/old-configure.in.
Also, while here, we remove --use-temp-file, because as described in the
linked bug and in the windres manual page, it was used to work around bugs
on Windows 98 and earlier.

Differential Revision: https://phabricator.services.mozilla.com/D86312
2020-08-08 21:02:04 +00:00
Artem Polivanchuk eca5763da1 Bug 1657568 - Sync more preferences in Privacy & Security r=lina DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86477
2020-08-08 20:23:36 +00:00
Zibi Braniecki eee439d62f Bug 1658027 - Separate visual interactions on Credit Card Autofill for A/B testing. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D86445
2020-08-08 19:25:31 +00:00
Emilio Cobos Álvarez e07d5eb564 Bug 1657437 - Don't treat lone CRs as segment breaks. r=jfkthame
That prevents preceding whitespace from getting collapsed.

When there's a single lone CR (so `a\rb`) our behavior here diverges
from Chrome's but matches Safari's. We treat it as ZWSP.

That matches the initial resolution of [1], but then there have been
various doing and undoings of that resolution, so it's not totally clear
to me what the correct behavior per spec should be. I think "treat it as
other control character"? But I haven't dug into what that implies, so
for now I've just kept behavior there as-is.

[1]: https://github.com/w3c/csswg-drafts/issues/855

Differential Revision: https://phabricator.services.mozilla.com/D86188
2020-08-08 16:21:35 +00:00
Marco Bonardo 6fb175caeb Bug 1657572 - Store form history source from search access points. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86170
2020-08-08 12:49:24 +00:00
Nathan Froyd 58b325b964 Bug 1657609 - decrease PARAM_BUFFER_COUNT and adjust comment accordingly; r=mccr8
We now use `PARAM_BUFFER_COUNT` for slightly more stuff, so update the
comment describing its two uses.  Experimentation has also shown that we can
decrease the count slightly, which is a tiny tiny win.

Differential Revision: https://phabricator.services.mozilla.com/D86214
2020-08-07 14:42:57 +00:00
Nathan Froyd 87ff812afd Bug 1657609 - delete dynamic allocation of parameter buffers; r=mccr8
Now that we've statically ensured everything fits into the stack-allocated
array(s), we can delete the case that handled dynamic allocation.

Differential Revision: https://phabricator.services.mozilla.com/D86213
2020-08-07 14:42:47 +00:00
Nathan Froyd c4c7337cad Bug 1657609 - statically bound the maximum number of parameters for xpidl methods; r=mccr8
We used to not be able to do something like this, and therefore our xpidl
calling code had to  be fully general.  But now that we know all possible
xpidl methods at build time, we can ensure that the number of parameters
does not exceed some bound.  And we choose that bound to be the maximum
number of stack-allocated parameters our calling code supports.

Differential Revision: https://phabricator.services.mozilla.com/D86212
2020-08-07 18:23:13 +00:00
Nathan Froyd fdd22deff5 Bug 1657609 - share PARAM_BUFFER_COUNT among xptcall implementations; r=mccr8
Everybody uses the same value; we might as well put it in a single place.

Differential Revision: https://phabricator.services.mozilla.com/D86211
2020-08-07 14:06:47 +00:00
Nathan Froyd 1514163283 Bug 1657609 - commonize PARAM_BUFFER_COUNT for PPC Linux; r=mccr8
There's no reason to have a different count depending on whether we have
floating-point registers or not; xpidl functions will have the same number
of parameters regardless.  This change also synchronizes soft-float PPC with
every other architecture.

Differential Revision: https://phabricator.services.mozilla.com/D86210
2020-08-07 14:06:34 +00:00
daemon1024 44d7729376 Bug 1483269 - Rename gc::AbortReason to GCAbortReason; r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D86431
2020-08-08 13:54:52 +00:00
Gregory Mierzwinski f87d8a4859 Bug 1657898 - Fix fenix artifact paths. r=jlorenzo,tarek
Differential Revision: https://phabricator.services.mozilla.com/D86351
2020-08-08 12:16:49 +00:00
Tarek Ziadé abb4969c3e Bug 1656235 - support visual metrics r=acreskey,sparky
Differential Revision: https://phabricator.services.mozilla.com/D85561
2020-08-08 12:17:48 +00:00
Tarek Ziadé 5a38472369 Bug 1651818 - fixed logger when runner is used directly r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D86305
2020-08-08 12:17:48 +00:00
Martin Stransky 432226521b Bug 1657747 [Wayland] Remove DMABuf backend from SW compositor, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86342
2020-08-08 08:50:29 +00:00
longsonr aed118e1f6 Bug 888685 - Remove nsISupports from remaining SVG DOM classes r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D84915
2020-08-07 22:50:28 +00:00
Timothy Nikkel 2de46c6ff5 Bug 1656802. Make visual viewport only layout scrollbars affect the composition bounds/visual viewport. r=emilio,kats
AFAICT the spec says that these layout scrollbars that take up no layout space that scroll the visual viewport do affect the size of the visual viewport. (Double check this)

Most other users don't care about the size of these special scrollbars.

I left nsIDOMWindowUtils::getScrollbarSize unchanged (NB different from nsIDOMWindowUtils::getScrollbarSizes which is modified by this patch) because I'm less sure. I will file a followup about it.

Differential Revision: https://phabricator.services.mozilla.com/D85708
2020-08-07 11:40:52 +00:00
Timothy Nikkel 345de90fa2 Bug 1656802. If both scrollbars are layout and present and only for the visual viewport they need to be adjusted to not overlap. r=emilio
The existing calculation will make them overlap. The AdjustOverlappingScrollbars code was written with overlay scrollbars in mind but it looks like it will work just fine for this case.

Differential Revision: https://phabricator.services.mozilla.com/D85707
2020-08-07 11:40:55 +00:00
Timothy Nikkel a5c2284d8d Bug 1656802. Position the scrollcorner if we have both layout scrollbars and they are both for the visual viewport only. r=emilio
Otherwise the calculation above would lead to an empty rect for the scroll corner.

The scrollbar rects as computed now still overlap each other and the scroll corner, the next patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D85706
2020-08-07 11:40:57 +00:00
Timothy Nikkel 415340d3d5 Bug 1656802. In LayoutScrollbars move the calculation of the scrollbar rects to the first thing in the function. r=emilio
There is no dependency in this code as far as I can tell.

The next patch needs the scrollbar rects for the scroll corner calculation.

Differential Revision: https://phabricator.services.mozilla.com/D85705
2020-08-08 07:07:46 +00:00
Timothy Nikkel 36e43673c3 Bug 1656802. Shift back in layout scrollbars that are only for the visual viewport so they are visible. r=emilio
Layout scrollbars that were only created for the visual viewport had no space reserved for them, so we need to shift them back in like overlay scrollbars. Otherwise they sit just outside of the scroll port and are not visible.

Differential Revision: https://phabricator.services.mozilla.com/D85704
2020-08-08 07:07:57 +00:00
Timothy Nikkel a7100c9def Bug 1656802. Add a comment explaining how overlay scrollbars work with their negative margin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85703
2020-08-08 07:07:57 +00:00
Timothy Nikkel 0a37053b5b Bug 1656802. Add state variables to the scroll frame to track when scrollbars are only created to scroll the visual viewport within the layout viewport. r=emilio,kats
We need to distinguish these special scrollbars for several different reasons in upcoming patches.

Differential Revision: https://phabricator.services.mozilla.com/D85702
2020-08-07 11:40:47 +00:00
Timothy Nikkel bdf314cb67 Bug 1656802. Calculate if we need scrollbars to scroll the visual viewport. r=emilio,kats
This fixes the regression we created with the first patch.

Differential Revision: https://phabricator.services.mozilla.com/D85701
2020-08-07 11:40:46 +00:00
Timothy Nikkel 54832c7143 Bug 1656802. Add flags that let us differentiate not showing scrollbars because something is overflow hidden from not showing scrollbars for other reasons. r=emilio
For the former we are still allowed to show scrollbars if we need to scroll the visual viewport inside the layout viewport (as long as they take up no layout space). For the latter we still do not want to show scrollbars.

The ShowScrollbar enum is now only from layouts perspective and doesn't take into account anything about the visual viewport.

Differential Revision: https://phabricator.services.mozilla.com/D85700
2020-08-07 11:40:47 +00:00
Timothy Nikkel c389e0f6e6 Bug 1656802. When deciding if we want a scrollbar we need to consider only if the scrolled rect overflows the scrollport (not the visual viewport). r=emilio,kats
This will actually regress behaviour when overflow is auto and pinch zooming creates scrollable overflow (scrolling the visual viewport inside the layout viewport). We will fix that in later patches.

The reason that this is necessary is that the code as-is is incorrect if we have layout scrollbars (scrollbars that take up space). If we have layout scrollbars and we pinch zoom and we go from not needing a scrollbar to needing a scrollbar then that scrollbar cannot take up layout space (even though it is a layout scrollbar). The scrollbar cannot change the size of the layout viewport (it does, however, change the size of the visual viewport).

In later patches we fix this situation as well as the situation with an overflow hidden document (which also needs to create scrollbars when pinch zoomed).

Differential Revision: https://phabricator.services.mozilla.com/D85699
2020-08-07 11:40:50 +00:00
Timothy Nikkel 076621eeeb Bug 1656802. Add comment pointing to bug about enabling new desktop zooming scrollbars by default.
Differential Revision: https://phabricator.services.mozilla.com/D86328
2020-08-07 11:40:49 +00:00
Dimi Lee 491612fa0b Bug 1658010 - Add null pointer check before notifying content block event r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D86421
2020-08-08 06:00:00 +00:00
Julian Descottes 06dea32c55 Bug 1657899 - Do not assume any resource order in browser_resources_stylesheets.js - part 2 r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86360
2020-08-08 00:42:21 +00:00
Masayuki Nakano 5b78d2b3c1 Bug 1657052 - Make `HTMLEditor::HandleDeleteAroundCollapsedSelection()` take ranges to delete instead of retrieving them via `Selection` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85965
2020-08-07 06:13:00 +00:00
Butkovits Atila 796c05057e Backed out changeset 9825feb6a05e (bug 1658027) for failure at browser_creditCard_telemetry.js 2020-08-08 07:35:07 +03:00
Andreea Pavel aed7669de9 Bug 1654648 - fix whitespace linting failure r=test-only 2020-08-08 07:14:40 +03:00
Evan Welsh 2e8ba0e06f Bug 1654696 - Implement code coverage JSAPI. r=nbp,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D85808
2020-08-08 03:23:31 +00:00
Zibi Braniecki 59fb3f227d Bug 1658027 - Separate visual interactions on Credit Card Autofill for A/B testing. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D86445
2020-08-08 03:36:42 +00:00
Zibi Braniecki b144e9c01e Bug 1654648 - Fine tune field type duplication heuristics for section splitting. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D86277
2020-08-08 03:33:53 +00:00
Simon Fraser 3befe6d707 Bug 1657409 Remove obsolete S3 bucket r=nthomas,Callek
Differential Revision: https://phabricator.services.mozilla.com/D86168
2020-08-06 21:41:46 +00:00
Gijs Kruitbosch 7be797a434 Bug 1654098 - fix a few racist epithets missing 'exclude from suggestions' annotation, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D86559
2020-08-10 15:21:20 +00:00
Harry Twyford 72560dd5f9 Bug 1647890 - Replace token alias with indicator when the token alias is confirmed or fully typed. r=adw
This patch changes the paramters to setSearchMode. The original patch to introduce search mode passed engineName to setSearchMode instead of the entire engine object. It was suggested in review that the nsISearchEngine be passed so we could run instanceof to distinguish it from a RESULT_TYPE. This patch reverses this and passes engineName instead through a destructured parameter.

In pickResult, we need to enter search mode synchronously based on the information in a result payload. Result payloads can't/shouldn't pass around complex objects like an nsISearchEngine, so we just pass engineName and the alias as strings. Since pickResult is synchronous, we can't use UrlbarSearchUtils to look up the engine based on the engineName. Besides, setSearchMode only uses engineName, so looking up the engine only to just use its name seems like a waste of resources.

This patch also disables autofill in search mode queries. Autofill was interfering with alias replacement. We were already half doing this (https://searchfox.org/mozilla-central/rev/26b13464c2beb26e0d864d561c30e817a85c348a/browser/components/urlbar/UrlbarController.jsm#391) but adding the searchMode check to UrlbarInput._maybeAutofillOnInput should resolve bug 1655473.

There's still one more bug I'm working through where the placeholder disappears after alias replacement. I though I'd get this out to start review regardless since we want to get the three patches discussed in Thursday's meeting out ASAP.

Differential Revision: https://phabricator.services.mozilla.com/D86389
2020-08-10 15:16:40 +00:00