-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop navigator.identity namespace #164
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Filed https://bugs.webkit.org/show_bug.cgi?id=279159 for WebKit... I'll update the tests etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the changes to CredMan disallowing digital
being mixed with other credential types, this is okay.
Added chromium implementation bug too. |
Updates to the test suite: I need to check these are correct against an engine still, but it's a start. We need to check for redundant tests. |
FWIW, this is already implemented in Chrome Canaries as of last week: https://g-issues.chromium.org/issues/364957810?pli=1&authuser=0 |
Great, will try to get WebKit updated soon! |
…als instead https://bugs.webkit.org/show_bug.cgi?id=279159 rdar://135835222 Reviewed by NOBODY (OOPS!). Drop the navigator.identity namespace, and do everything through navigator.credentials instead. Spec change: WICG/digital-credentials#164 Web platform Tests Upstream commit: web-platform-tests/wpt@fd7b0de * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html: * LayoutTests/http/wpt/identity/idl.https-expected.txt: * LayoutTests/http/wpt/identity/idl.https.html: * LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/dc-types.ts: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-get.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.js: Added. (test): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/helper.js: (export.makeGetOptions): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/iframe.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/permissions-policy/resources/digital-credentials-get.html: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp: (WebCore::CredentialsContainer::get): * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h: * Source/WebCore/Modules/identity/Navigator+Identity.idl: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.cpp: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.h: Removed. * Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
…als instead https://bugs.webkit.org/show_bug.cgi?id=279159 rdar://135835222 Reviewed by NOBODY (OOPS!). Drop the navigator.identity namespace, and do everything through navigator.credentials instead. Spec change: WICG/digital-credentials#164 Web platform Tests Upstream commit: web-platform-tests/wpt@fd7b0de * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html: * LayoutTests/http/wpt/identity/idl.https-expected.txt: * LayoutTests/http/wpt/identity/idl.https.html: * LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/dc-types.ts: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-get.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.js: Added. (test): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/helper.js: (export.makeGetOptions): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/iframe.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/permissions-policy/resources/digital-credentials-get.html: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp: (WebCore::CredentialsContainer::get): * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h: * Source/WebCore/Modules/identity/Navigator+Identity.idl: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.cpp: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.h: Removed. * Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
…als instead https://bugs.webkit.org/show_bug.cgi?id=279159 rdar://135835222 Reviewed by NOBODY (OOPS!). Drop the navigator.identity namespace, and do everything through navigator.credentials instead. Spec change: WICG/digital-credentials#164 Web platform Tests Upstream commit: web-platform-tests/wpt@fd7b0de * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html: * LayoutTests/http/wpt/identity/idl.https-expected.txt: * LayoutTests/http/wpt/identity/idl.https.html: * LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/dc-types.ts: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-get.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.js: Added. (test): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/helper.js: (export.makeGetOptions): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/iframe.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/permissions-policy/resources/digital-credentials-get.html: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp: (WebCore::CredentialsContainer::get): * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h: * Source/WebCore/Modules/identity/Navigator+Identity.idl: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.cpp: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.h: Removed. * Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
…als instead https://bugs.webkit.org/show_bug.cgi?id=279159 rdar://135835222 Reviewed by NOBODY (OOPS!). Drop the navigator.identity namespace, and do everything through navigator.credentials instead. Spec change: WICG/digital-credentials#164 Web platform Tests Upstream commit: web-platform-tests/wpt@fd7b0de * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-get-hidden.https.html: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt: * LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html: Removed. * LayoutTests/http/wpt/identity/idl.https-expected.txt: * LayoutTests/http/wpt/identity/idl.https.html: * LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html: * LayoutTests/imported/w3c/web-platform-tests/credential-management/credentialscontainer-create-basics.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/allow-attribute.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/create.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/dc-types.ts: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/default-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/disabled-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get-user-activation.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/get.tentative.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-get.tentative.https.html. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.js: Added. (test): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/historical.any.worker.html: Added. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/identity-create.tentative.https-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/non-fully-active.https.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/helper.js: (export.makeGetOptions): * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/support/iframe.html: * LayoutTests/imported/w3c/web-platform-tests/digital-credentials/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/permissions-policy/resources/digital-credentials-get.html: * LayoutTests/platform/mac-site-isolation/TestExpectations: * LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * Source/WebCore/DerivedSources-input.xcfilelist: * Source/WebCore/DerivedSources.make: * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp: (WebCore::CredentialsContainer::get): (WebCore::CredentialsContainer::isCreate): * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.h: * Source/WebCore/Modules/identity/CredentialRequestCoordinator.cpp: (WebCore::CredentialRequestCoordinator::discoverFromExternalSource): * Source/WebCore/Modules/identity/Navigator+Identity.idl: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.cpp: Removed. * Source/WebCore/Modules/identity/NavigatorIdentity.h: Removed. * Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
Closes #???
The following tasks have been completed:
Implementation commitment:
Documentation and checks
Preview | Diff