Let's bite the bullet and make Exposed mandatory for IDL interfaces (matching WebIDL), and stop the silliness of inferring Window.
Created attachment 410157 [details] Patch
Comment on attachment 410157 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410157&action=review > Source/WebCore/Modules/applepay/ApplePaySetup.idl:31 > SecureContext, > + Exposed=Window Looks like the existing ones above are sorted alphabetically, but this new one is not.
Comment on attachment 410157 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410157&action=review >> Source/WebCore/Modules/applepay/ApplePaySetup.idl:31 >> + Exposed=Window > > Looks like the existing ones above are sorted alphabetically, but this new one is not. Many other cases like this.
(In reply to Darin Adler from comment #3) > Comment on attachment 410157 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=410157&action=review > > >> Source/WebCore/Modules/applepay/ApplePaySetup.idl:31 > >> + Exposed=Window > > > > Looks like the existing ones above are sorted alphabetically, but this new one is not. > > Many other cases like this. I'm going to write a script to check this (like I just did with the preferences) or just make the parser enforce it.
Committed r267813: <https://trac.webkit.org/changeset/267813> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410157 [details].
<rdar://problem/69815504>