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

791241 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes b381342993 Bug 1673104 - [puppeteer] Synchronize page.spec.ts fix from puppeteer PR #8208 r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D143179
2022-04-07 20:55:05 +00:00
Alexandre Poirot ed172a3449 Bug 1747105 - [devtools] Covers the source text content for named eval and same url loaded many times. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D142918
2022-04-07 19:51:55 +00:00
Alexandre Poirot 551344eb74 Bug 1747105 - [devtools] Cover SourceTree behavior when having many sources loaded from the same URL. r=bomsy
I had to tune the versionized http helper to pass the right headers,
while still ensuring that http cache is kept disabled.

Differential Revision: https://phabricator.services.mozilla.com/D142348
2022-04-07 19:51:55 +00:00
Calixte d49143cc92 Bug 1763424 - Limit ImageData typed array to 2Gb when created using its constructor r=edgar
- it's likely an oblivion from the fix for bug 1716622;
 - so just add a check on the final length of the buffer to be under the limit of 2Gb.

Differential Revision: https://phabricator.services.mozilla.com/D143066
2022-04-07 19:46:47 +00:00
Meg Viar 0ec2499076 Bug 1763470 - Accessibility updates for FX100 upgrade dialog r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D143182
2022-04-07 19:22:30 +00:00
Mozilla Releng Treescript 5b046da905 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
el -> 86a6d243ef757ec5f5999acc52cff3af8470fe6c
es-AR -> c97e22bd4b7b273d8b749ca8590eee9b39693eb1
fy-NL -> 79401a37638d85768078562fa4b6b7209db7d44a
hye -> d71f79a3e72c54ffde1fa5b84379916b0797f8da
nl -> efb998ea332a12459f44b98a50b2661648befcaf
oc -> 8201e29144c9b156024e996e4432e5aa44ff19e9
sc -> 8dd9dcac4c457767190acd11dcfdd8fb98bc07cb
tg -> bdc042c85be25cd458c473045a35e6c7fa9f033c
2022-04-07 19:04:15 +00:00
Marco Bonardo 7fa9b1b142 Bug 1763577 - MR2-426 - Implement initial snapshots expiration. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D143144
2022-04-07 19:01:23 +00:00
Ed Lee b9f0ee570c Bug 1763486 - Improve heart animation image asset for dark mode r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D143106
2022-04-07 19:00:10 +00:00
Mike Kaply 7e8f02e669 Bug 1762972 - Don't use head.js in standalone tests. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D142960
2022-04-07 18:46:32 +00:00
Shazib Summar 20cb0cdcb7 Bug 1617283 - Shifted AudioSession to MTA and removed COM violations r=handyman
Cleans up the interface to AudioSession and brings in line with COM best practices.  Uses background threads that are implicitly MTA and asserts proper thread behavior.  This also removes AudioSession's Co[Un]Initialize static analysis violations.

Differential Revision: https://phabricator.services.mozilla.com/D140741
2022-04-07 18:39:49 +00:00
Daniel Holbert 49f86dbd38 Bug 1763495 part 2: Use 'inset' shorthand in TopLevelImageDocument.css and TopLevelVideoDocument.css. r=emilio
This doesn't change behavior; it just makes the existing CSS a bit more concise.

('inset' is a shorthand that sets top, right, bottom, and left all at once.)

Depends on D143099

Differential Revision: https://phabricator.services.mozilla.com/D143109
2022-04-07 18:39:11 +00:00
Daniel Holbert bb008118d2 Bug 1763495 part 1: Remove some unnecessary styles in TopLevelVideoDocument.css. r=hsivonen,emilio
As indicated in the new code-comment, we do need the html element to be the
full height of the viewport. But:
- we don't need to set width to 100%. The default, 'auto', has the same effect.
- we don't need to set margin/padding to 0; they default to 0 on 'html'.
- we don't need to set anything on the body, since it doesn't render or have
  any children in the box tree. (The video descendant is abspos and hence uses
  the viewport as its containing block, not the body.)

As an extra check that this is reasonable, note that the similar
TopLevelImageDocument.css stylesheet doesn't have any CSS rules that target the
html or body elements.

Differential Revision: https://phabricator.services.mozilla.com/D143099
2022-04-07 18:39:11 +00:00
Meg Viar bd0fd127b6 Bug 1762477 - Add test coverage for resetMessageState in ASRouter.jsm r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D142890
2022-04-07 18:26:13 +00:00
Butkovits Atila f443f2b4a7 Backed out changeset 5e9e518bd470 (bug 1763047) for causing failures at test_autocomplete_highlight_username_only_form.html. CLOSED TREE 2022-04-07 21:31:11 +03:00
Butkovits Atila faaa6997b3 Backed out 4 changesets (bug 1763609) for causing SM bustages.
Backed out changeset 23f5e75f33bd (bug 1763609)
Backed out changeset 6cd80539b341 (bug 1763609)
Backed out changeset 9a03b4c954f1 (bug 1763609)
Backed out changeset c4ce7383ae07 (bug 1763609)
2022-04-07 21:27:09 +03:00
Mitchell Hentges 09af1e78c9 Bug 1659593: Make `./mach vendor python` cross-platform r=ahal
Use `poetry` instead of `pip-compile`, then leverage `pip` to assert
that there's no conflicts between environments.

This enables simplifying `requirements.in`, since `colorama` is now
automatically picked up, as vendoring is no longer linux-py3.6-specific.

`poetry==1.2.0a2` was chosen because it was the first version that would
include `pip`/`setuptools`/`wheel` in the `requirements.txt`, yet it was
also the last version that supports Python 3.6 (as still used in CI in
some spots).

Sorry about the `requirements.txt` noise, that's because poetry doesn't
sort hashes yet [1]. Fortunately, you can be confident in
`requirements.txt` changes by checking that this patch doesn't include
changes to vendored packages themselves (I'm including the results of a
`./mach vendor python`).

[1] https://github.com/python-poetry/poetry/issues/5408

Differential Revision: https://phabricator.services.mozilla.com/D142884
2022-04-07 18:00:28 +00:00
André Bargull 02bb2c9e54 Bug 1763609 - Part 4: Update test262 exclusion list. r=mgaudet
Depends on D143165

Differential Revision: https://phabricator.services.mozilla.com/D143166
2022-04-07 17:50:20 +00:00
André Bargull a70d5b9864 Bug 1763609 - Part 3: Update test262 April 2022. r=mgaudet
Depends on D143164

Differential Revision: https://phabricator.services.mozilla.com/D143165
2022-04-07 17:50:17 +00:00
André Bargull 7445c52729 Bug 1763609 - Part 2: Update Github URL. r=mgaudet
"git://" protocol is no longer supported.

Depends on D143163

Differential Revision: https://phabricator.services.mozilla.com/D143164
2022-04-07 17:50:16 +00:00
André Bargull 7436356710 Bug 1763609 - Part 1: Update list of unsupported features. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D143163
2022-04-07 17:50:16 +00:00
Jeff Muizelaar 5821999965 Bug 1763640 - Add StartBuffering marker. r=alwu
This includes a reason for starting to buffer.

Differential Revision: https://phabricator.services.mozilla.com/D143187
2022-04-07 17:42:10 +00:00
Drew Willcoxon 24f27855d6 Bug 1761058 - Implement telemetry for Suggest suggestion frequency capping. r=daisuke
This adds a new "impression_cap" telemetry event with several things recorded in
the `extra` object. Please see the updated documentation and Events.yaml for
details.

This is another big patch but like D142152 most of it is the test.

Depends on D142152

Differential Revision: https://phabricator.services.mozilla.com/D142780
2022-04-07 17:37:06 +00:00
Drew Willcoxon 165f68ad06 Bug 1761052 - Implement remotely configurable frequency capping for Suggest suggestions. r=daisuke,nanj
This implements Suggest impression frequency capping. Capping is performed
separately for sponsored and non-sponsored suggestions. Capping is not
per-suggestion; it's per type of suggestion, either sponsored or non-sponsored.
Capping can be enabled separately for each type. It's disabled by default for
both types with Nimbus variables for each.

Caps are specified in the quick suggest config in remote settings. There are two
kinds of caps: interval and lifetime. Multiple overlapping caps are supported,
for example a per-hour cap, a per-day cap, and a lifetime cap.

The user's impression stats are kept locally and stored in a pref. A "stats
object" corresponding to each cap interval is kept. Each stats object keeps
track of its corresponding cap's interval, the date at which the current
interval period started, and the impression count during the current interval
period. (For the lifetime cap, the interval in the stats object is Infinity.)

Each time a suggestion impression is recorded, the counters in all the
suggestion type's stats objects are incremented. Once a counter for any stats
object is reached, we stop showing that type of suggestion.

When the interval of a stats object has elapsed, its counter is reset. In this
revision, we check for elapsed intervals each time a suggestion is shown. In the
future when we add telemetry in bug 1761058, we will need to record telemetry
events for intervals where caps were not hit, so we may need to do this check
more often (for example near the beginning of `startQuery()`) or even do it on a
repeating timer.

There's some slightly complicated logic for handling changes in the cap config
since it's likely to change over time as we experiment with it (see
`_validateImpressionStats()`).

This revision also makes a few minor improvements unrelated to the bug.

Differential Revision: https://phabricator.services.mozilla.com/D142152
2022-04-07 17:37:05 +00:00
Tim Giles 70995218a3 Bug 1763618 - Add overflow to login intro illustration so that layout will shrink accordingly when zoomed in. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D143194
2022-04-07 17:24:09 +00:00
Sergey Galich 9771f934ee Bug 1763047 - Reduce code duplication in LoginAutoComplete and introduce async filling by LoginManagerParent r=tgiles,dimi
- stop mixing telemetry data with other information in `loginsFooter.comment`, store telemetry information on dedicated field inside `loginsFooter.comment.telemetryEventData`
- provide `comment` from the selected autocomplete item as data to `autocomplete-will-enter-text` notification. This enables single place of processing for both mouse click and ENTER key press.
- various autocomplete items can specify `comment.fillMessageName` and `comment.fillMessageData` to be passed to LoginManagerParent for processing and fill value generation. This enables lazy decryption, generating email aliases by Relay, integrating with external password managers, etc. by using async call.
- `gAutoCompleteListener` does not need to listen for ENTER key and `FormAutoComplete:PopupOpened`/`FormAutoComplete:PopupClosed` events anymore
- `MozAutocompleteRichlistitemLoginsFooter`, `MozAutocompleteImportableLearnMoreRichlistitem` and `MozAutocompleteImportableLoginsRichlistitem` in toolkit/content/widgets/autocomplete-richlistitem.js do not need to listen to click events and replicate code from LoginManagerParent

Differential Revision: https://phabricator.services.mozilla.com/D142912
2022-04-07 17:16:21 +00:00
Jens Stutte 79f0e6cf55 Bug 1757186: Unnest QM shutdown timers and extend crash timer scope. r=dom-storage-reviewers,janv
Depends on D139616

Differential Revision: https://phabricator.services.mozilla.com/D139795
2022-04-07 17:01:56 +00:00
Jens Stutte e9d7d40db7 Bug 1682326: Refactor QuotaManager::Shutdown for readability. r=dom-storage-reviewers,janv
Factor out client-type loops and crash timer function to helper functions.

Differential Revision: https://phabricator.services.mozilla.com/D139616
2022-04-07 17:01:55 +00:00
Andrew Osmond ac4171c757 Bug 1763643 - Turn on SVG image blob recordings. r=gfx-reviewers,lsalzman
This should reduce our memory footprint by no longer requiring us to
fully rasterize SVG images when used as an image map. It should also
move the cost of rasterization off the main thread during display list
building to worker threads during scene building.

Differential Revision: https://phabricator.services.mozilla.com/D143190
2022-04-07 16:19:00 +00:00
Andrew Osmond b93a311529 Bug 1763642 - Fix assertion where we try to free stale blob keys. r=gfx-reviewers,lsalzman
We get consistent crashtest failures in CI when image.svg.blob-image
is set to true. This is because on some teardown paths, we don't verify
to see if the layer manager still owns the namespace used for the blob
keys.

Differential Revision: https://phabricator.services.mozilla.com/D143189
2022-04-07 16:07:36 +00:00
Nicolò Ribaudo a4f19fddbc Bug 1744967 - Run Records&Tuples tests on ci r=mgaudet,glandium
Differential Revision: https://phabricator.services.mozilla.com/D132467
2022-04-07 15:41:02 +00:00
Roy Christo aaf8a82db8 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_hidden_files.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142765
2022-04-07 15:27:48 +00:00
Roy Christo 9e26010ae4 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_localfile.js and upgrade tests to use add_task. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142764
2022-04-07 15:27:48 +00:00
Barret Rennie 4220064b47 Bug 1761652 - Fail to write session file more gracefully if we started in permanent private browsing r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D143103
2022-04-07 15:25:29 +00:00
Scott 7da999ad0f Bug 1753304 - Save to Pocket panels Set initial heights and widths for both sets of panels r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D143071
2022-04-07 15:15:25 +00:00
sotaro c24f60bb9d Bug 1763280 - Enable avoid copying hardware decoded video on intel GPU on Window on nightly r=jrmuizel,gfx-reviewers
Blocked intel drivers are from chromium's "disable_dxgi_zero_copy_video" in gpu_driver_bug_list.json

Differential Revision: https://phabricator.services.mozilla.com/D143017
2022-04-07 14:38:17 +00:00
R. Martinho Fernandes e2f85d3c3b Bug 1759624 - Support empty pubKeyCredParams when creating WebAuthn credentials r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D142807
2022-04-07 14:09:54 +00:00
Julian Descottes a6967b8a65 Bug 1763615 - [marionette] Fix test_add_test_manifest for pytest 7 r=webdriver-reviewers,whimboo
This feature was removed in pytest 5: https://docs.pytest.org/en/6.2.x/deprecations.html#raises-warns-with-a-string-as-the-second-argument

Differential Revision: https://phabricator.services.mozilla.com/D143170
2022-04-07 13:40:04 +00:00
Julian Descottes 3264767190 Bug 1730642 - [wdspec] Added web-platform tests for browsingContext.navigate command r=webdriver-reviewers,whimboo
Depends on D141584

Differential Revision: https://phabricator.services.mozilla.com/D141585
2022-04-07 13:27:26 +00:00
Julian Descottes 5d0a935c26 Bug 1730642 - [wdspec] Add browsing context navigate command to browsing context module r=webdriver-reviewers,whimboo
Depends on D141583

Differential Revision: https://phabricator.services.mozilla.com/D141584
2022-04-07 13:27:26 +00:00
Julian Descottes 07b6609d7d Bug 1730642 - [webdriver-bidi] Implement a basic browsingContext.navigate command r=webdriver-reviewers,whimboo
Depends on D142514

Differential Revision: https://phabricator.services.mozilla.com/D141583
2022-04-07 13:27:25 +00:00
Julian Descottes e3c22ecafc Bug 1730642 - [remote] Extract internal event logic to a dedicated class r=webdriver-reviewers,whimboo
Depends on D142513

Differential Revision: https://phabricator.services.mozilla.com/D142514
2022-04-07 13:27:25 +00:00
Julian Descottes 3982c53c50 Bug 1730642 - [remote] Emit internal MessageHandler events with their original name r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D142513
2022-04-07 13:27:24 +00:00
ffxbld ed0b2fca21 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D143149
2022-04-07 13:20:44 +00:00
stransky 0024e9426e Bug 1761870 [Wayland] Mark MozContainer as mapped to make sure moz_container_wayland_unmap() is called on hide/withdraw r=emilio
Depends on D143168

Differential Revision: https://phabricator.services.mozilla.com/D143169
2022-04-07 13:20:07 +00:00
stransky 2e6ccbec80 Bug 1761870 [Wayland] Clear button press count on D&D workaround if D&D is finished r=emilio
Depends on D143167

Differential Revision: https://phabricator.services.mozilla.com/D143168
2022-04-07 13:20:06 +00:00
stransky 9ca8cec9f5 Bug 1761870 [Wayland] Don't assert if there's active draw callback after unmap event r=emilio
It's possible that moz_container_wayland_frame_callback_handler() is called after unmap event if we draw to parent surface so don't assert there.

Differential Revision: https://phabricator.services.mozilla.com/D143167
2022-04-07 13:20:06 +00:00
Jan de Mooij 0a5cb6f449 Bug 1760944 - Update array length in ArrayShiftMoveElements. r=iain,jonco
Differential Revision: https://phabricator.services.mozilla.com/D141964
2022-04-07 11:51:35 +00:00
Jens Stutte 2b7a6d9e7b Bug 1761182: Improve ContentParent shutdown blocker singletons lifecycles. r=mccr8,smaug
This patch cleans up the `ContentParent`'s shutdown blocker client usage. It is expected to not change any behavior
in release if not excluding to ever crash on missing singletons. However, it adds lifecycle check asserts in order to
see if we are systematically violating our lifecycle assumptions.

Differential Revision: https://phabricator.services.mozilla.com/D142082
2022-04-07 11:39:04 +00:00
André Bargull 9d4012cbd3 Bug 1763103 - Part 5: Don't require extended functions when |super| isn't used. r=arai
Methods only need to be created as extended functions when they need to store
their home-object. So any method which doesn't use `super` can actually be
created as a normal, non-extended function.

Depends on D142932

Differential Revision: https://phabricator.services.mozilla.com/D142933
2022-04-07 11:12:54 +00:00
André Bargull 4d5a126c0f Bug 1763103 - Part 4: Only initialise home object for private instance accessors when neeeded. r=arai
Private instance accessors were always initialising the home object, even when
`needsHomeObject()` was `false`.

Depends on D142931

Differential Revision: https://phabricator.services.mozilla.com/D142932
2022-04-07 11:12:54 +00:00