Binding generator is not always computing the right interface attributes
Created attachment 407954 [details] Patch
Created attachment 407963 [details] Patch
Comment on attachment 407963 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407963&action=review > Source/WebCore/dom/TextEncoder.idl:-27 > - Exposed=(Window,Worker), I also added "dictionary" to Exposed in IDLAttributes.json which should probably be removed with this.
(In reply to Alex Christensen from comment #3) > Comment on attachment 407963 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=407963&action=review > > > Source/WebCore/dom/TextEncoder.idl:-27 > > - Exposed=(Window,Worker), > > I also added "dictionary" to Exposed in IDLAttributes.json which should > probably be removed with this. OK, will fix it in a follow-up
Committed r266615: <https://trac.webkit.org/changeset/266615> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407963 [details].
<rdar://problem/68350821>
Comment on attachment 407963 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407963&action=review >>> Source/WebCore/dom/TextEncoder.idl:-27 >>> - Exposed=(Window,Worker), >> >> I also added "dictionary" to Exposed in IDLAttributes.json which should probably be removed with this. > > OK, will fix it in a follow-up Exposed is not valid on a dictionary, see https://heycam.github.io/webidl/#Exposed for the complete list of valid contexts.