Index: third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl.html b/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
similarity index 86% |
rename from third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl.html |
rename to third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
index 8d110b27a854b392db408d9eeb758651f8bf12e0..fa544258eabb536415c2d8a811c1574b4b2912e7 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/idl.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/credential-management/idl.https.html |
@@ -1,8 +1,8 @@ |
<!DOCTYPE html> |
<script src=/resources/testharness.js></script> |
<script src=/resources/testharnessreport.js></script> |
-<script src=/w3c/resources/WebIDLParser.js></script> |
-<script src=/w3c/resources/idlharness.js></script> |
+<script src=/resources/WebIDLParser.js></script> |
+<script src=/resources/idlharness.js></script> |
<script type="text/plain" id="untested"> |
dictionary CredentialData { |
USVString id; |
@@ -18,7 +18,10 @@ |
USVString iconURL; |
}; |
- interface SiteBoundCredential : Credential { |
+ [ |
+ NoInterfaceObject, |
+ SecureContext |
+ ] interface CredentialUserData { |
readonly attribute USVString name; |
readonly attribute USVString iconURL; |
}; |
@@ -58,18 +61,20 @@ |
[Constructor(PasswordCredentialData data), |
Constructor(HTMLFormElement form), |
Exposed=Window] |
- interface PasswordCredential : SiteBoundCredential { |
+ interface PasswordCredential : Credential { |
attribute USVString idName; |
attribute USVString passwordName; |
attribute CredentialBodyType? additionalData; |
}; |
+ PasswordCredential implements CredentialUserData; |
[Constructor(FederatedCredentialData data), Exposed=Window] |
- interface FederatedCredential : SiteBoundCredential { |
+ interface FederatedCredential : Credential { |
readonly attribute USVString provider; |
readonly attribute DOMString? protocol; |
}; |
+ FederatedCredential implements CredentialUserData; |
</script> |
<script> |
"use strict"; |