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

777434 Коммитов

Автор SHA1 Сообщение Дата
Peter Van der Beken 00ffaf83c0 Bug 1741132 - Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131893
2021-11-23 15:37:24 +00:00
Peter Van der Beken b55325dab8 Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-23 15:37:23 +00:00
Peter Van der Beken 700a2310d6 Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-23 15:37:23 +00:00
Brendan Dahl 9e9138029d Bug 1742470 - Prevent more oauth pages from creating snapshots. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D131823
2021-11-23 15:30:07 +00:00
Emilio Cobos Álvarez d6a2f350b2 Bug 1741776 - Make sure <option> is a containing-block for positioned descendants. r=miko
We have other code to make sure that options themselves are in-flow, so
we really want abspos boxes not to escape the select element.

Other browsers don't allow having out-of-flow option children at all
(they seem to force descendants to be in-flow). However that seems
fairly more complicated to implement, and I don't think it particularly
matters how we deal with this as long as we deal with it in a
sorta-reasonable way.

Differential Revision: https://phabricator.services.mozilla.com/D131785
2021-11-23 15:11:55 +00:00
Marian-Vasile Laza a9ed48385c Backed out changeset db6cd75d5c00 (bug 1742429) for causing build bustages on IOUtils.cpp. CLOSED TREE 2021-11-23 17:23:33 +02:00
Marian-Vasile Laza efc39e6017 Bug 1719892 - lint fix r=fix 2021-11-23 17:18:38 +02:00
Valentin Gosu cfe1332993 Bug 1742485 - Fix strange border on about:cache sections r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D131898
2021-11-23 15:01:51 +00:00
Neil Deakin a2e1f72f45 Bug 1719892, when pdfs are set to open internally, open downloads or responses marked as content-disposition: attachment directly using the pdf viewer instead of downloading them locally first, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D131004
2021-11-23 14:56:17 +00:00
Neil Deakin 02e36bd84b Bug 1719892, have some download tests use svg instead of pdf as otherwise the pdf viewer will open instead of downloading, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D131003
2021-11-23 14:56:17 +00:00
Neil Deakin 9ca75dedc1 Bug 1719892, add a default value for content disposition, so that it can be explicitly set to inline, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D131002
2021-11-23 14:56:16 +00:00
Neil Deakin 639f4e1dc0 Bug 1719892, copy mime handler action over to child process properly, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D131001
2021-11-23 14:56:16 +00:00
Yury Delendik 07a8dcb5b3 Bug 1737405 - Change MOZ_DIAGNOSTIC_ASSERTs in wasm cache code. r=valentin
Separate asserts logic to provide more details for crashes.

Differential Revision: https://phabricator.services.mozilla.com/D131865
2021-11-23 14:55:16 +00:00
Tim Giles 9031fa4329 Bug 1741719 - Make cc-name DE heuristic fix for Amazon sites more generic. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D131438
2021-11-23 14:40:50 +00:00
Henrik Skupin e1640bbf0a Bug 1742580 - [wdspec] Disable test log.entryAdded/args.py on beta and release. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131912
2021-11-23 14:34:58 +00:00
Henrik Skupin 9058c30f97 Bug 1525106 - [wdspec] Clean-up multiple statuses for WebRender test jobs. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131803
2021-11-23 14:34:57 +00:00
Barret Rennie 2b676dfec6 Bug 1742429 - On Windows, assert IOUtils/PathUtils paths do not contain forward slashes r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131812
2021-11-23 14:33:27 +00:00
Andreas Pehrson 64ce9a2a5a Bug 1742181 - Pipe through the packetsDiscarded stat for inbound-rtp. r=ng,jib
This also brings back discardedPackets for video, to avoid a regression.

Differential Revision: https://phabricator.services.mozilla.com/D131709
2021-11-23 14:11:16 +00:00
Andreas Pehrson 3fc1b2b632 Bug 1742181 - libwebrtc: Implement packetsDiscarded bookkeeping for received video. r=ng
Depends on D131707

Differential Revision: https://phabricator.services.mozilla.com/D131708
2021-11-23 14:11:16 +00:00
Andreas Pehrson 80c75cb2a5 Bug 1742181 - Cherry-pick libwebrtc patch for audio recv stat packetsDiscarded. r=ng
This cherry-picks the applicable parts of:
https://webrtc.googlesource.com/src/+/28a2c63526f471558bc93cdcae9fab42b84b10a5

Differential Revision: https://phabricator.services.mozilla.com/D131707
2021-11-23 14:11:16 +00:00
Mike Kaply 9af1a8f065 Bug 1741560 - Handle unsigned XPI case in policy. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D131855
2021-11-23 13:50:07 +00:00
Nicolas Chevobbe 72a01fca06 Bug 1741811 - [devtools] Make watchTargets take a single object param. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D131755
2021-11-23 13:23:35 +00:00
criss e694b076ce Backed out 2 changesets (bug 1725111) for causing failures on browser_session_data_broadcast.js. CLOSED TREE
Backed out changeset 5a48f5832e72 (bug 1725111)
Backed out changeset 9055935bf63f (bug 1725111)
2021-11-23 16:06:16 +02:00
Julian Descottes 883da7e971 Bug 1725111 - [remote] Add new context descriptor type TOP_BROWSING_CONTEXT r=webdriver-reviewers,whimboo
Depends on D131439

Add a new CONTEXT_DESCRIPTOR_TYPES for top level browsing contexts, called TOP_BROWSING_CONTEXT.
The corresponding context descriptor id should be a browserId.
The FrameTransport is updated to support both CONTEXT_DESCRIPTOR_TYPES: ALL and TOP_BROWSING_CONTEXT.
A browser mochitest is added to check that broadcasts are correctly filtered for a top level browsing context.

Differential Revision: https://phabricator.services.mozilla.com/D131440
2021-11-23 13:02:28 +00:00
Julian Descottes db1ebd69a8 Bug 1725111 - [remote] Use contextDescriptor as broadcasting argument for MessageHandler commands r=webdriver-reviewers,whimboo
Instead of using a broadcast boolean flag in the CommandDestination, use a contextDescriptor.
The only context descriptor type supported here is CONTEXT_DESCRIPTOR_TYPES.ALL, and the behavior is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D131439
2021-11-23 13:02:27 +00:00
Narcis Beleuzu 81698c54eb Backed out changeset 9dfd5e6601a1 (bug 1505304) as requested by nchevobbe 2021-11-23 14:56:24 +02:00
Paul Zuehlcke 16be926c53 Bug 1638383 - Add a shim for the dFPI Microsoft login breakage. r=anti-tracking-reviewers,twisniewski,webcompat-reviewers,timhuang,denschub,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D131643
2021-11-23 12:42:25 +00:00
Emilio Cobos Álvarez 24be48359c Bug 1742574 - Keep system fonts when prioritizing user fonts. r=jfkthame,layout-reviewers
This was a subtle behavior change in bug 1739464. The early-return here:

  https://hg.mozilla.org/mozilla-central/rev/2fb74c67b0c5#l11.40

Meant we also bailed out from user font prioritization for system fonts.

It's unclear whether that's really the best behavior but since the
intention of the regressing patch was not to change behavior, preserving
the old behavior seems better.

Differential Revision: https://phabricator.services.mozilla.com/D131899
2021-11-23 12:41:19 +00:00
Nicolas Chevobbe 5d77281fc2 Bug 1505304 - [devtools] Make watchTargets take a single object param. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D131755
2021-11-23 12:39:19 +00:00
Dan Minor 85f13a0dde Bug 1733659 - Clean up Locale naming style in make_intl_data.py; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D131512
2021-11-23 12:36:42 +00:00
Dan Minor e12f42285c Bug 1733659 - Clean up naming style in Locale; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D131511
2021-11-23 12:36:41 +00:00
Emilio Cobos Álvarez e120f9b2b2 Bug 1742393 - Correctly report animation status of pseudo-elements that are not stored in the parent element. r=hiro
We allow animating pseudo-elements like ::-moz-progress-bar (and we
treat them like regular elements).

Ideally we should store animations for these in the parent element as
well, so they survive reframes and such. But treating them as regular
elements right now means that we do animate them, but we never update
animations for them correctly because wrapper.rs assumed them to be
non-animatable.

Since it seems reasonable to keep allowing the animations to happen,
let's just correct the update code and add a test.

Differential Revision: https://phabricator.services.mozilla.com/D131794
2021-11-23 12:36:22 +00:00
Kershaw Chang 89050e7a2e Bug 1738664 - Add peerId to nsITransportSecurityInfo, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D130034
2021-11-23 11:59:47 +00:00
Gijs Kruitbosch f21d1c79e5 Bug 1739929 - allow untrusted click/auxclick events to open one link per transient user gesture, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D131868
2021-11-23 11:55:28 +00:00
Julian Descottes d86a582b80 Bug 1741797 - [devtools] Fix colorpicker click listener signature r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D131602
2021-11-23 11:50:47 +00:00
Emilio Cobos Álvarez 4fc02f6f53 Bug 1742411 - Prefer content property to img src on image elements. r=dholbert
Given the compat reports in bug 1484928, I don't think it's worth
keeping the current behavior.

Our behavior should match other browsers now. Rather than making
content: url() work everywhere even for otherwise-replaced elements,
just special-case this since that's what other browsers seem to do.

Differential Revision: https://phabricator.services.mozilla.com/D131797
2021-11-23 11:36:21 +00:00
Niklas Goegge 08952898f4 Bug 1617611: Annotate each failing xpcshell test individually. r=ckerschb,extension-reviewers,robwu
Depends on D131491

Differential Revision: https://phabricator.services.mozilla.com/D131492
2021-11-23 10:53:26 +00:00
Niklas Goegge 6b41fa8a9a Bug 1617611: Enable SameSite=Lax by default in xpcshell tests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131491
2021-11-23 10:53:25 +00:00
Chris H-C deeb43d113 Bug 1741976 - Improve Scalar and UserInteraction parser errors about types r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D131851
2021-11-23 10:15:11 +00:00
Nicolas Chevobbe f0c8a50689 Bug 1741172 - [devtools] Tune console.streamlog DAMP test. r=jdescottes,perftest-reviewers,AlexandruIonescu.
The test logs messages in a requestAnimationFrame loop to check if logging impact
the performance of requestAnimationFrame.
The issue is that the tests logs an average of rounded values, which makes the
test results oscillate between 16 and 17 (ms), and this extra ms in enough to
trigger a perf alert as it represents a few percent of variance.
This patch makes it so we don't average, nor round the values anymore, which
shouldn't trigger perf alerts.

Differential Revision: https://phabricator.services.mozilla.com/D131795
2021-11-23 09:51:02 +00:00
Marian-Vasile Laza c7792dec82 Backed out changeset baa67a17c11e (bug 1741995) for causing valgrind bustages. CLOSED TREE 2021-11-23 11:53:36 +02:00
Marian-Vasile Laza 376fd53683 Backed out changeset a899281204c7 (bug 1696504) for causing GTest failures. 2021-11-23 11:51:05 +02:00
Valentin Gosu aab7891ed0 Bug 1742408 - Add TRR skip reason telemetry that only includes relevant reasons r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D131798
2021-11-23 08:34:46 +00:00
elfarto ff07766ece Bug 1742229 - Firefox doesn't use modifiers for YUV surfaces r=stransky
Firefox is not setting the modifiers for YUV surfaces causing the import of surfaces that require them to fail.

Differential Revision: https://phabricator.services.mozilla.com/D131772
2021-11-23 08:27:48 +00:00
Zhao Jiazhong 88d64b75bb Bug 1740186 - [MIPS64] Accept ImmWord operand in ma_addPtrTestCarry. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D130728
2021-11-23 08:21:18 +00:00
Dimi f1f660bed4 Bug 1554453 - Reset nsAutocompleteController internal state when the login manager marks an focus field. r=tgiles
In nsAutocompleteController::HandleKeyNavigation, we might trigger a search operation (or open the popup)
However, when we find there is already a search result received previously, and the search string is the same
as the current one, we won't trigger a new search[1] because the result should be the same.
This might be true for most of the cases, but not true when clients that perform the search is differnt.
As far as I know, there are at least 3 different autocomplete clients: form history, CC/Address autocomplete, and login manager.
For example, the same search string might return a different result when it is searched by the login manager
and by the form history component.

Here is how the intermittent occurs:
1. The page is loaded
2. Password field is detected so the login manager fetches the login data from the parent asynchronously
3. The testcase continues to run. The username field is focused
4. Autocomplete search for the focus field is triggered. Since the login manager has not yet told FormFillController
   this is a field we care, we search the form history and get an empty result.
5. Login data is sent from parent to child, _fillForm is called. The LoginManagerChild calls `MarkAsLoginManagerField`
6. Key event occurs on the field. Autocomplete search is triggered again. However, the search is not executed because
   [1]
7. Popup is not shown. Testcase timeout.

When #5 occurs before #3, the autocomplete search in #4 will be processed by the login manager, and we will get the result
and open the popup in this case

In the current architecture, I don't see an easy way that we can distinguish whether the autocomplete client is different
in nsAutocompleteController. So instead of doing it in nsAutocompleteController, this patch fixes this issue in FormFillController.

In FormFillController, when we call `MarkAsLoginManagerField` on a focus field, we call ResetInternalState() to
tell nsAutocompleteController to clear previous search result.

[1] https://searchfox.org/mozilla-central/rev/fb8d77331582639ea6848a61dd8ee812fac31b77/toolkit/components/autocomplete/nsAutoCompleteController.cpp#516-521

Differential Revision: https://phabricator.services.mozilla.com/D131237
2021-11-23 08:04:59 +00:00
afinder a6f9aeae52 Bug 1734414 Remove media autoplay pref settings from our profiles. r=perftest-reviewers,kimberlythegeek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D130990
2021-11-23 08:03:18 +00:00
Botond Ballo edcc681993 Bug 1634763 - In non-Fission mode, downgrade the assertion about the result of the WebRender display list being consistent with the APZ scroll data to non-fatal. r=tnikkel
This assertion is known to affect some scenarios involving inactive
scroll frames (see comment 10-11 in this bug). In Fission mode, this
is resolved by making all scroll frames active. In non-Fission mode,
we don't plan to pursue a specific fix so downgrade the assertion
to avoid annoyance for users running debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D131886
2021-11-23 08:02:58 +00:00
Lars T Hansen 8432849871 Bug 1742383 - Enable memory64 in Nightly. r=yury
Push it out of the nest.

Differential Revision: https://phabricator.services.mozilla.com/D131791
2021-11-23 07:55:31 +00:00
Botond Ballo ee4775f3ed Bug 1705412 - Fix intermittent failure of helper_click_interrupt_animation.html. r=tnikkel
As in helper_visual_scrollbars_pagescroll.html, this test performs a
native click on a scrollbar track and needs to wait for the resulting
scroll animation to be kicked off. This fix ensures it waits long
enough.

Differential Revision: https://phabricator.services.mozilla.com/D131885
2021-11-23 07:53:36 +00:00