Closed Bug 1822423 Opened 2 years ago Closed 2 years ago

Perma wpt-backlog mac shippable [tier 2] TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test basic User InFo API flow - promise_test: Unhandled rejection with value: object "NotSupportedError:

Categories

(Core :: DOM: Credential Management, defect, P5)

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- wontfix
firefox115 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: timhuang)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=408904183&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TOVh3T9rTAK6HLN2c9bU1Q/runs/0/artifacts/public/logs/live_backing.log


[task 2023-03-14T21:11:49.549Z] 21:11:49     INFO - TEST-START | /credential-management/fedcm-network-requests.https.html
[task 2023-03-14T21:11:49.867Z] 21:11:49     INFO - PID 1983 | JavaScript error: https://web-platform.test:8443/credential-management/support/fedcm-helper.sub.js, line 10: uncaught exception: Object
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - .....
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Reject when clientId is empty - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException InvalidStateError: property "code" is equal to 9, expected 11
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | nonce is not required in FederatedIdentityProvider. - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Reject when clientId is missing - promise_rejects_js: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." ("NotSupportedError") expected instance of function "function TypeError() {
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO -     [native code]
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - }" ("TypeError")
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test the abort signal - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Get after abort should work - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException AbortError: property "code" is equal to 9, expected 20
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test that the promise is rejected if the manifest is not in the manifest list - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException NetworkError: property "code" is equal to 9, expected 19
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test that promise is rejected if accounts endpoint redirects - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException NetworkError: property "code" is equal to 9, expected 19
[task 2023-03-14T21:11:52.125Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test that token endpoint does not follow redirects - promise_rejects_dom: function "function() { throw e }" threw object "NotSupportedError: CredentialContainer request is not supported." that is not a DOMException NetworkError: property "code" is equal to 9, expected 19
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test client_metadata request - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - TEST-FAIL | /credential-management/fedcm-network-requests.https.html | Test that service worker cannot observe fetches performed by FedCM API - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test basic User InFo API flow - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - TEST-INFO | expected NOTRUN
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - 
[task 2023-03-14T21:11:52.126Z] 21:11:52     INFO - TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test that User Info API only works when invoked from iframe that is same origin as the IDP - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.127Z] 21:11:52     INFO - TEST-INFO | expected NOTRUN
[task 2023-03-14T21:11:52.127Z] 21:11:52     INFO - 
[task 2023-03-14T21:11:52.127Z] 21:11:52     INFO - TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test that User Info API does not work in the top frame - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.127Z] 21:11:52     INFO - TEST-INFO | expected NOTRUN
[task 2023-03-14T21:11:52.128Z] 21:11:52     INFO - 
[task 2023-03-14T21:11:52.128Z] 21:11:52     INFO - TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test that the returning account from the two accounts will be auto re-authenticated. - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported."
[task 2023-03-14T21:11:52.128Z] 21:11:52     INFO - TEST-INFO | expected NOTRUN
[task 2023-03-14T21:11:52.129Z] 21:11:52     INFO - TEST-ERROR | /credential-management/fedcm-network-requests.https.html | took 2570ms
[task 2023-03-14T21:11:52.131Z] 21:11:52     INFO - PID 1983 | 1678828312122	Marionette	INFO	Stopped listening on port 50979
Keywords: regression
Regressed by: 1820704

Hi Frederik! Can you please take a look at this?
Thank you!

Flags: needinfo?(fbraun)

Set release status flags based on info from the regressing bug 1820704

This has wpt backlog implementation that only run on central shippable builds.

Summary: Perma [tier 2] TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test basic User InFo API flow - promise_test: Unhandled rejection with value: object "NotSupportedError: CredentialContainer request is not supported." → Perma wpt-backlog mac shippable [tier 2] TEST-UNEXPECTED-FAIL | /credential-management/fedcm-network-requests.https.html | Test basic User InFo API flow - promise_test: Unhandled rejection with value: object "NotSupportedError:

Wrong component.

Component: DOM: Security → DOM: Credential Management
Flags: needinfo?(fbraun)

Daniel, could you have a look until Benjamin is back? Thank you.

Flags: needinfo?(dveditz)

I'm not familiar with this feature; Tim would be better.

Flags: needinfo?(dveditz) → needinfo?(tihuang)
Assignee: nobody → tihuang
Flags: needinfo?(tihuang)
Flags: needinfo?(tihuang)

Ben, I don't think we have enabled fedcm interface even for wpt. Should we try to enable the pref for all fedcm wpt tests to see how it does?

Flags: needinfo?(tihuang) → needinfo?(bvandersloot)

I believe we are going to fail the FedCM WPT because of disagreement with Google about CORS- they shipped and landed WPT for their view that it shouldn't have CORS, and I've been fighting to get as much protection as possible. Solving this is my current task in standardization.

Flags: needinfo?(bvandersloot)

According to comment 12, I think we can mark FedCM tests as expected failures for now. After we resolve the conflicts on the standard side, we can work on enabling FedCM as well as the tests.

Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f90ef7425ea Mark subtests in fedcm-network-requests.https.html as intermittent on mac and win. r=timhuang
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

The patch landed in nightly and beta is affected.
:timhuang, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox114 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(tihuang)
Flags: needinfo?(tihuang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: