Commit 1fe26f17 authored by Christoph Kerschbaumer's avatar Christoph Kerschbaumer
Browse files

Bug 1816957: Expose CryptoKey on Workers and enable lots of WPT tests, r=keeler,webidl,saschanaz

parent 8f518a5d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ let interfaceNamesInGlobalScope = [
  // IMPORTANT: Do not change this list without review from a DOM peer!
  "Crypto",
  // IMPORTANT: Do not change this list without review from a DOM peer!
  "CryptoKey",
  // IMPORTANT: Do not change this list without review from a DOM peer!
  "CustomEvent",
  // IMPORTANT: Do not change this list without review from a DOM peer!
  "Directory",
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ dictionary JsonWebKey {

[Serializable,
 SecureContext,
 Exposed=Window]
 Exposed=(Window,Worker)]
interface CryptoKey {
  readonly attribute KeyType type;
  readonly attribute boolean extractable;
+2 −0
Original line number Diff line number Diff line
@@ -152,6 +152,8 @@ let interfaceNamesInGlobalScope = [
  // IMPORTANT: Do not change this list without review from a DOM peer!
  { name: "Crypto", insecureContext: true },
  // IMPORTANT: Do not change this list without review from a DOM peer!
  { name: "CryptoKey" },
  // IMPORTANT: Do not change this list without review from a DOM peer!
  { name: "CustomEvent", insecureContext: true },
  // IMPORTANT: Do not change this list without review from a DOM peer!
  { name: "DedicatedWorkerGlobalScope", insecureContext: true },
+0 −2
Original line number Diff line number Diff line
[failures_AES-CBC.https.any.worker.html]
  expected: ERROR
+1 −2
Original line number Diff line number Diff line
[failures_AES-CTR.https.any.worker.html]
  expected:
    if (os == "android") and fission: [ERROR, TIMEOUT]
    ERROR
    if (os == "android") and fission: [OK, TIMEOUT]

[failures_AES-CTR.https.any.html]
  expected:
Loading