Closed Bug 1816957 Opened 2 years ago Closed 2 years ago

Expose CryptoKey on Workers and enable lots of WPT tests

Categories

(Core :: DOM: Web Crypto, task, P3)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It seems we are failing lots of WebCryptoAPI web platform tests because CryptoKey is not exposed to workers.

Assignee: nobody → ckerschb
Blocks: web-crypto
Status: NEW → ASSIGNED
Priority: -- → P3
See Also: → 1383842, 1529019

Hey @krosylight, thanks for reviewing the *webidl changed within D169945.

I pushed the changes to TRY and realized that test dom/serviceworkers/test/test_serviceworker_interfaces.html started failing.

The error is:

FAIL undefined: If this is failing: DANGER, are you sure you want to expose the new interface CryptoKey to all webpages as a property on self? Do not make a change to this file without a review from a DOM peer for that specific change!!! (or a JS peer for changes to ecmaGlobals)

Do you know what I have to do? I suppose I have to register that interface somehwere for the test, but couldn't find out where. Or is there something else I need to do?

Thank you!

Flags: needinfo?(krosylight)
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/autoland/rev/37d1ee9374e0 Expose CryptoKey on Workers and enable lots of WPT tests, r=keeler,webidl,saschanaz

Backed out changeset 37d1ee9374e0 (Bug 1816957) for wpt failures on idlharness.https.any.worker.html.
Backout link
Push with failures <--> wpt9
Failure Log

Flags: needinfo?(ckerschb)

Oops. You'll probably want to choose all WPT in ./mach try chooser as ./mach try does not always pick all of them.

(In reply to Marian-Vasile Laza from comment #5)

Backed out changeset 37d1ee9374e0 (Bug 1816957) for wpt failures on idlharness.https.any.worker.html.

Rrr. I'll take a look. Thanks!

Flags: needinfo?(ckerschb)
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/autoland/rev/4df58e165c4e Expose CryptoKey on Workers and enable lots of WPT tests, r=keeler,webidl,saschanaz
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: