Closed Bug 1705264 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28499 - implement crypto.randomUUID()

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 28499 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28499
Details from upstream follow.

b'Benjamin Coe <bencoe@google.com>' wrote:

implement crypto.randomUUID()

Implementation of crypto.randomUUID() using base/guid which indicates
"A cryptographically secure random source will be used".

Refs: https://wicg.github.io/uuid/
Change-Id: I0f5402b4d83a5d89f02425d8050a7737264672dc

Reviewed-on: https://chromium-review.googlesource.com/2804758
WPT-Export-Revision: 6b573e346dc5442318ebf0c66ce8877c286337b6

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 3 subtests

Status Summary

Firefox

OK : 2
FAIL: 6

Chrome

OK : 2
FAIL: 6

Safari

OK : 2
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/WebCryptoAPI/randomUUID.any.worker.html
namespace format: FAIL (Chrome: FAIL, Safari: FAIL)
version set: FAIL (Chrome: FAIL, Safari: FAIL)
variant set: FAIL (Chrome: FAIL, Safari: FAIL)
/WebCryptoAPI/randomUUID.any.html
namespace format: FAIL (Chrome: FAIL, Safari: FAIL)
version set: FAIL (Chrome: FAIL, Safari: FAIL)
variant set: FAIL (Chrome: FAIL, Safari: FAIL)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b69b49691a48
[wpt PR 28499] - implement crypto.randomUUID(), a=testonly
https://hg.mozilla.org/integration/autoland/rev/da4db35e7325
[wpt PR 28499] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.