WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 169731
169333
[WebIDL] Add support for ImplementedAs for Dictionary members
https://bugs.webkit.org/show_bug.cgi?id=169333
Summary
[WebIDL] Add support for ImplementedAs for Dictionary members
Jiewen Tan
Reported
2017-03-07 18:59:49 PST
Add support for ImplementedAs for Dictionary members. Currently, I didn't see a way to implement:
https://www.w3.org/TR/WebCryptoAPI/#dh-EcdhKeyDeriveParams
as public is a reserved word in C++.
Attachments
Add attachment
proposed patch, testcase, etc.
Jiewen Tan
Comment 1
2017-03-08 12:37:09 PST
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.
Jiewen Tan
Comment 2
2017-03-16 11:28:48 PDT
*** This bug has been marked as a duplicate of
bug 169731
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug