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

397 Коммитов

Автор SHA1 Сообщение Дата
Norisz Fay d1d3e6a42f Backed out changeset 6807a13afdd9 (bug 1718228) for causing browser-chrome failures on browser_fido_appid_extension.js CLOSED TREE 2022-05-16 15:35:20 +03:00
R. Martinho Fernandes 65ffa22fce Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-05-16 11:23:38 +00:00
R. Martinho Fernandes 5dafcaa801 Bug 1730434 - Limit length of allowCredentials set r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D145228
2022-05-12 15:21:31 +00:00
Kagami Sascha Rosylight 11340de5d4 Bug 1768189 - Part 40: Apply modernize-concat-nested-namespaces to dom/webauthn/PublicKeyCredential.h ... r=andi
Depends on D145775

Differential Revision: https://phabricator.services.mozilla.com/D145776
2022-05-09 20:41:19 +00:00
Kagami Sascha Rosylight 85b5a9e6f4 Bug 1768189 - Part 39: Apply modernize-concat-nested-namespaces to dom/vr/XRPose.h ... r=andi
Depends on D145774

Differential Revision: https://phabricator.services.mozilla.com/D145775
2022-05-09 20:41:18 +00:00
Cristian Tuns 4c7ece1339 Backed out changeset e2908f3e5373 (bug 1718228) for causing mochitest failure in test_webauthn_loopback.html CLOSED TREE 2022-05-03 12:44:19 -04:00
R. Martinho Fernandes 7775acb534 Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-05-03 15:52:36 +00:00
Tooru Fujisawa 76f3cf7f70 Bug 1765156 - Part 3: Use SpecialPowers.ChromeUtils.import in dom/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D144084
2022-05-03 06:32:25 +00:00
Peter Van der Beken e77783380e Bug 1766130 - Properly propagate errors from Promise creation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D144515
2022-05-02 07:44:23 +00:00
Butkovits Atila 674a7a5f27 Backed out changeset d45b16f97f9f (bug 1718228) for causing failures at test_webauthn_loopback.html. CLOSED TREE 2022-04-27 20:36:20 +03:00
R. Martinho Fernandes 9bcb6c6431 Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-04-27 16:49:13 +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
R. Martinho Fernandes 65aadb2012 Bug 1759098 - Fix truncated AAGUID in attestation object r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D141954
2022-03-29 16:59:13 +00:00
Randell Jesup fcaf70841e Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 18:47:08 +00:00
Noemi Erli 2390d257e6 Backed out changeset 12a59e5a50bf (bug 1207753) for causing build bustage CLOSED TREE 2022-03-16 18:32:51 +02:00
Randell Jesup 4b033a5256 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 16:16:14 +00:00
Butkovits Atila 927ad62c6a Backed out changeset a68ee4b09f92 (bug 1207753) for causing Hazard bustages. CLOSED TREE 2022-03-16 14:38:14 +02:00
Randell Jesup 7d4b5fae04 Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D140849
2022-03-16 12:01:14 +00:00
R. Martinho Fernandes 6fde748a44 Bug 1755621 - Check webauthn extensions r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D139499
2022-03-11 20:32:34 +00:00
Sylvestre Ledru 98949ee751 Bug 1754767 - Remove duplicate includes r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D138441
2022-02-11 10:01:15 +00:00
Nika Layzell dabb46c84d Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8
The changes to ipdl actors were mechanical, and largely automated using
a script.

Differential Revision: https://phabricator.services.mozilla.com/D137237
2022-02-09 17:29:47 +00:00
Makoto Kato 9feaf5542f Bug 1753919 - Remove copy constructor from AndroidWebAuthnResult. r=geckoview-reviewers,agi
Let's remove copy situation of `AndroidWebAuthnResult`.

Differential Revision: https://phabricator.services.mozilla.com/D137975
2022-02-09 06:59:53 +00:00
Makoto Kato 926307a1d7 Bug 1753919 - AndroidWebAuthnTokenManager uses GeckoResult directly instead of callback. r=geckoview-reviewers,agi
Since WebAuthnTokenManager uses GeckoReuslt, we can remove callback of WebAuthnTokenManager.

Differential Revision: https://phabricator.services.mozilla.com/D137973
2022-02-09 06:59:52 +00:00
M. Sirringhaus bfba4ec9f5 Bug 1694336 - Web Authentication: Only send "none" attestation if it was requested (by server or user) r=dveditz
The old behavior (only send attestation, if attestation-type was "direct" and "none" otherwise) broke the spec.
Only send "none", if directly requested by RP or the user.

Differential Revision: https://phabricator.services.mozilla.com/D132700
2022-01-31 05:14:26 +00:00
Kagami Sascha Rosylight 19504fbdf1 Bug 1751453 - Part 1: Remove AbortFollower::Unlink() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D136658
2022-01-24 13:18:33 +00:00
Kagami Sascha Rosylight 9d024af1cc Bug 1660555 - Make AbortFollower::mFollowingSignal a WeakPtr r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D136446
2022-01-21 14:40:38 +00:00
R. Martinho Fernandes d938d5666b Bug 1724659 - Correctly return none attestation when none is requested on Windows r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D135911
2022-01-17 13:17:36 +00:00
R. Martinho Fernandes 1ea3f800eb Bug 1631010 - Update windows webauthn header r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D129526
2022-01-10 13:24:01 +00:00
Nika Layzell 7b2e6d4996 Bug 1741665 - Align nsCString's public size_type better with other C++ APIs, r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D131422
2021-12-13 21:47:56 +00:00
Mike Hommey 585adbd4da Bug 1732245 - Silence the unused-but-set-variable warning in dom/webauthn. r=keeler
dom/webauthn/WinWebAuthnManager.cpp(274,11): error: variable 'winAttestation' set but not used [-Werror,-Wunused-but-set-variable]
    DWORD winAttestation = WEBAUTHN_ATTESTATION_CONVEYANCE_PREFERENCE_ANY;
          ^
dom/webauthn/WinWebAuthnManager.cpp(529,9): error: variable 'winAttachment' set but not used [-Werror,-Wunused-but-set-variable]
  DWORD winAttachment = WEBAUTHN_AUTHENTICATOR_ATTACHMENT_ANY;
        ^

Differential Revision: https://phabricator.services.mozilla.com/D126449
2021-09-27 23:43:16 +00:00
Andi-Bogdan Postelnicu 2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Michelle Goossens c7d34da2f9 Bug 1723574 - Enable mochitest-browser-chrome tests that no longer fail r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123247
2021-08-23 12:45:31 +00:00
Michelle Goossens d192833f8d Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Michelle Goossens 29ea6ee7cc Bug 1718296 - Part 1: Disable failing mochitest-plain tests on Windows 10 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D120807
2021-07-29 18:30:37 +00:00
Agi Sferro 6753022d3d Bug 1689612 - Support WebAuthn authenticator type on Android. r=tjr,dveditz,aklotz
The fact that we were checking for `extensions` seems like a typo to me? We
never set anything other than `fidoAppId` in the `extensions` bundle, which
makes sense to me (authenticatorAttachment is not an extension from what I can
tell).

Differential Revision: https://phabricator.services.mozilla.com/D119675
2021-07-13 16:56:26 +00:00
Makoto Kato e03ba44abf Bug 1711541 - Implement IsUserVerifyingPlatformAuthenticatorAvailable for GeckoView. r=tjr,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D117494
2021-06-16 00:00:05 +00:00
R. Martinho Fernandes fd93437d00 Bug 1716198 - Remove mistaken fail-if condition r=dveditz DONTBUILD
I think I botched some rebase and this bit sneaked in and neither of us noticed. It caused some previously passing tests to ended up as unexpected passes.

Differential Revision: https://phabricator.services.mozilla.com/D117642
2021-06-15 11:52:03 +00:00
R. Martinho Fernandes 077501b34c Bug 1694639 - Add DOM:Web Authentication tests for sameOriginWithAncestors false r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D105315
2021-06-12 23:42:37 +00:00
Andrew Halberstadt f84d5f3016 Bug 1694824 - [ci] Annotate browser-chrome manifests for new fission failures, r=jmaher,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D116276
2021-06-02 19:22:25 +00:00
Andi-Bogdan Postelnicu eab549fd19 Bug 1519636 - Initial reformat of C/C++ code with clang-format version 12.0.0. r=sylvestre
clang-format version 12.0.0 (taskcluster-KEgO7qdgQ8uaewA6NkRnRA)

Differential Revision: https://phabricator.services.mozilla.com/D114211
2021-05-10 07:15:07 +00:00
Paul Bone 6191ca4916 Bug 1709526 - Fix all the lint errors for .ini files in dom/ r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D114321
2021-05-06 01:29:31 +00:00
Simon Giesecke 760cc7e936 Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert
- Add missing include directives and forward declarations.
- Remove some extra include directives.
- Add missing namespace qualifications.
- Move include directives out of namespace in toolkit/xre/GlobalSemaphore.h

Differential Revision: https://phabricator.services.mozilla.com/D98894
2021-03-25 10:19:44 +00:00
Niklas Goegge bade012c3b Bug 1696159 - Cut over PWebAuthnTransaction::RequestCancel to use IPC Tainting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D107059
2021-03-12 16:58:28 +00:00
Bogdan Tara cc59027def Backed out changeset 952a103a71fd (bug 1696159) for WebAuth related bustage CLOSED TREE 2021-03-10 18:21:23 +02:00
Niklas Goegge 1970d72afb Bug 1696159 - Cut over PWebAuthnTransaction::RequestCancel to use IPC Tainting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D107059
2021-03-10 15:01:20 +00:00
Jens Stutte 1e19379853 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
Butkovits Atila bb3fe218a4 Backed out changeset be43a81b35f9 (bug 1689953) for causing failure at test_terminator_record.js. CLOSED TREE 2021-02-27 05:03:11 +02:00
Jens Stutte f6d52040b9 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
Kris Maglione fcac65c643 Bug 1579278: Fix usage of GetCrossDocParentNode in IsSameOriginWithAncestors. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D104431
2021-02-08 20:29:09 +00:00
Emilio Cobos Álvarez 3987c781d0 Bug 1635914 - Move active flag handling explicitly to BrowsingContext. r=nika
And have it mirror in the parent process more automatically.

The docShellIsActive setter in the browser-custom-element side needs to
be there rather than in the usual DidSet() calls because the
AsyncTabSwitcher code relies on getting an exact amount of notifications
as response to that specific setter. Not pretty, but...

BrowserChild no longer sets IsActive() on the docshell itself for OOP
iframes. This fixes bug 1679521. PresShell activeness is used to
throttle rAF as well, which handles OOP iframes nicely as well.

Differential Revision: https://phabricator.services.mozilla.com/D96072
2020-12-11 15:43:19 +00:00