blob: 924331a192a0c5c80e0b07da4dcb96db03435e43 [file] [log] [blame]
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: url/mojom/origin.mojom
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: url/mojom/url.mojom
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: mojo/common/time.mojom
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: url/mojom/origin.mojom
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: url/mojom/url.mojom
CONSOLE WARNING: line 10: The following mojom is loaded multiple times: mojo/common/time.mojom
This is a testharness.js-based test.
PASS navigator.credentials should be undefined in documents generated from `data:` URLs.
PASS navigator.credentials.create({publicKey}) in a javascript url should should succeed.
PASS navigator.credentials.create({publicKey}) in srcdoc should succeed.
PASS navigator.credentials.create({publicKey}) in about:blank embedded in a secure context should succeed.
FAIL navigator.credentials.create({publicKey}) in an about:blank page embedded in a secure context should pass rpID checks. assert_equals: expected "NotAllowedError" but got "NotSupportedError"
Harness: the test ran to completion.