<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WebIDL] Add support for ImplementedAs for Dictionary members"
href="https://bugs.webkit.org/show_bug.cgi?id=169333#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [WebIDL] Add support for ImplementedAs for Dictionary members"
href="https://bugs.webkit.org/show_bug.cgi?id=169333">bug 169333</a>
from <span class="vcard"><a class="email" href="mailto:jiewen_tan@apple.com" title="Jiewen Tan <jiewen_tan@apple.com>"> <span class="fn">Jiewen Tan</span></a>
</span></b>
<pre>Currently, I have to reconstruct a new JSObject on the fly with a better name publicKey for the public member and then convert the newly constructed JSObject into native one. However, when there is a TypeError, we generate this awkward messages:
crypto.subtle.deriveBits({ name:"ECDH", publicKey:wrongKey }, wrongKey, 128) rejected promise with TypeError: Member EcdhKeyDeriveParams.publicKey is required and must be an instance of CryptoKey.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>