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

440 Коммитов

Автор SHA1 Сообщение Дата
John Schanck 7ec1da7ce5 Bug 1814722 - Handle FIDO AppID extension in CTAPHIDTokenManager. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D169020
2023-02-10 00:15:43 +00:00
John Schanck fd7eacfc1c Bug 1813168 - Add missing cycle collection traverse method to PublicKeyCredential. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D168917
2023-02-08 22:06:41 +00:00
John Schanck 6e9a156d2e Bug 1803832 - advertise CTAP2 support on more platforms. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D163744
2023-01-31 20:45:36 +00:00
John Schanck f0b46af4de Bug 1812524 - Return key handle from CTAP2 register requests. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D168012
2023-01-31 19:22:44 +00:00
John Schanck 3fec72ab36 Bug 1811156 - Update WebAuthn probes expiring in Firefox 112. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D167462
2023-01-27 22:07:47 +00:00
John Schanck 5515350624 Bug 1773760 - part 8: move string constants to WebAuthnEnumStrings.h. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D167864
2023-01-26 15:36:37 +00:00
John Schanck 3168313f08 Bug 1773760 - part 7: update legacy tests. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D167832
2023-01-26 15:36:36 +00:00
John Schanck 66b5e05047 Bug 1773760 - part 5: remove the AuthenticatorTransport enum. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167750
2023-01-26 15:36:35 +00:00
John Schanck 352668d2e3 Bug 1773760 - part 4: make PublicKeyCredentialType a DOMString. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167749
2023-01-26 15:36:35 +00:00
John Schanck b242f117ea Bug 1773760 - part 3: make UserVerificationRequirement a DOMString. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167748
2023-01-26 15:36:35 +00:00
John Schanck d0f43c9394 Bug 1773760 - part 2: make AttestationConveyancePreference a DOMString. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167747
2023-01-26 15:36:34 +00:00
John Schanck 0b473d58a4 Bug 1773760 - part 1: make AuthenticatorAttachment a DOMString. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167746
2023-01-26 15:36:34 +00:00
Cristian Tuns 450e37a837 Backed out 8 changesets (bug 1773760) for causing mochitest failures and build bustages on Android CLOSED TREE
Backed out changeset d21043c53a8e (bug 1773760)
Backed out changeset d874fa9f72da (bug 1773760)
Backed out changeset 3d270430ac9a (bug 1773760)
Backed out changeset d644ed6a5b97 (bug 1773760)
Backed out changeset 0276c01b26db (bug 1773760)
Backed out changeset 5b5584197d5f (bug 1773760)
Backed out changeset 7c89625a2b88 (bug 1773760)
Backed out changeset 8507daa63430 (bug 1773760)
2023-01-25 18:09:18 -05:00
John Schanck 1f2baf2945 Bug 1773760 - part 8: move string constants to WebAuthnEnumStrings.h. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D167864
2023-01-25 22:12:09 +00:00
John Schanck fd7cda747d Bug 1773760 - part 7: update legacy tests. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D167832
2023-01-25 22:12:08 +00:00
John Schanck b9ca850792 Bug 1773760 - part 5: remove the AuthenticatorTransport enum. r=keeler,webidl,smaug
Depends on D167749

Differential Revision: https://phabricator.services.mozilla.com/D167750
2023-01-25 22:12:08 +00:00
John Schanck 8c5e4429df Bug 1773760 - part 4: make PublicKeyCredentialType a DOMString. r=keeler,webidl,smaug
Depends on D167748

Differential Revision: https://phabricator.services.mozilla.com/D167749
2023-01-25 22:12:07 +00:00
John Schanck 7e87c63940 Bug 1773760 - part 3: make UserVerificationRequirement a DOMString. r=keeler,webidl,smaug
Depends on D167747

Differential Revision: https://phabricator.services.mozilla.com/D167748
2023-01-25 22:12:06 +00:00
John Schanck 0ac78da65a Bug 1773760 - part 2: make AttestationConveyancePreference a DOMString. r=keeler,webidl,smaug
Depends on D167746

Differential Revision: https://phabricator.services.mozilla.com/D167747
2023-01-25 22:12:06 +00:00
John Schanck 8b21058cbc Bug 1773760 - part 1: make AuthenticatorAttachment a DOMString. r=keeler,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D167746
2023-01-25 22:12:05 +00:00
Gregory Pappas 5d44f7a543 Bug 1811347 - Remove useless parameter from TextEncoder constructor r=emk,webdriver-reviewers,extension-reviewers,credential-management-reviewers,dimi,jdescottes,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D167488
2023-01-23 15:41:49 +00:00
Nika Layzell 9d6bb19c23 Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.

We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.

I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.

Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
Sandor Molnar 41b78439d0 Backed out 6 changesets (bug 1809752, bug 1809753) for causing perma failures in browser/components/firefoxview/tests/browser/browser_feature_callout_position.js
Backed out changeset ea05784d74c4 (bug 1809753)
Backed out changeset 7c9b20eebcc8 (bug 1809753)
Backed out changeset d0267ac2256d (bug 1809753)
Backed out changeset aa9f2971bd6f (bug 1809753)
Backed out changeset f0d9fcfaa6f8 (bug 1809752)
Backed out changeset 6d58c799cffe (bug 1809752)
2023-01-17 03:19:24 +02:00
Nika Layzell f7772bb6ae Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.

We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.

I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.

Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
Mark Banner 8730eec697 Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
M. Sirringhaus db3704f6f6 Bug 1621377 - Return NotAllowedError instead of AbortError when user cancels WebAuthn operation from UI. r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D164645
2022-12-14 22:11:50 +00:00
M. Sirringhaus b83d2bb5c7 Bug 1804434 - Split register/sign dialog into pre- and post token selection dialog. r=jschanck,flod
Differential Revision: https://phabricator.services.mozilla.com/D164071
2022-12-13 20:28:59 +00:00
Sylvestre Ledru 04363d3827 Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D163157
2022-12-13 09:14:44 +00:00
M. Sirringhaus a9c8742d84 Bug 1530373 - Support CTAP2 via USB HID r=supply-chain-reviewers,fluent-reviewers,flod,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D129814
2022-12-06 18:09:54 +00:00
Cristian Tuns 885e76c15e Backed out changeset 06c98719ac0a (bug 1530373) for causing build bustages on cbindgen-metadata.json.stub CLOSED TREE 2022-12-01 17:38:12 -05:00
M. Sirringhaus 10b6997d5d Bug 1530373 - Support CTAP2 via USB HID r=supply-chain-reviewers,fluent-reviewers,flod,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D129814
2022-12-01 21:39:52 +00:00
Barret Rennie fa6f96215a Bug 1541508 - Use Services.env in dom/ r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D160138
2022-11-25 19:09:06 +00:00
Cristian Tuns 4d37cf70f1 Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie 29c21ba04b Bug 1541508 - Use Services.env in dom/ r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D160138
2022-11-02 02:08:54 +00:00
Joel Maher 47eb2687ea Bug 1797171 - disable additional tests on windows 11 which are not supported. r=bxbrenden
Differential Revision: https://phabricator.services.mozilla.com/D160360
2022-10-26 17:29:28 +00:00
Joel Maher 3f8e539d58 Bug 1797171 - skip not supported tests on win11. r=bxbrenden
Differential Revision: https://phabricator.services.mozilla.com/D160114
2022-10-24 20:44:41 +00:00
Makoto Kato b447e4757d Bug 1790748 - Add Send trait implementation in libudev-sys. r=dveditz
When adding a crate in mozilla-central that uses lazy_static with spin_no_std,
we cannot compile libudev-sys in dom/webauthn/libudev-sys.

lazy_static might require Send trait for some struct, so we should add it.

Differential Revision: https://phabricator.services.mozilla.com/D157297
2022-10-13 22:42:29 +00:00
Mark Banner 783a2f2187 Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Mark Banner 7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Joel Maher 537a5a0dc8 Bug 1777549 - remove remaining e10s conditions in manifest files. r=gbrown,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150820
2022-07-01 13:49:42 +00:00
R. Martinho Fernandes b688465bb0 Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-06-30 12:28:45 +00:00
Joel Maher 5bf232d7af Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
Kagami Sascha Rosylight 50ec2e051f Bug 1757635 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_WITH_JS_MEMBERS where applicable r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147235
2022-05-25 23:41:26 +00:00
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