Summary: | Update remaining DOM events to stop using legacy [ConstructorTemplate=Event] | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, commit-queue, darin, dbates, esprehn+autocc, kangil.han, kondapallykalyan, rniwa, sam | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Chris Dumez
2016-10-11 22:19:13 PDT
Created attachment 291333 [details]
Patch
Comment on attachment 291333 [details]
Patch
Unclear to me how we get test coverage for the cases where the defaults in IDL don’t match the defaults inside the header file. Also not sure why exactly we need defaults in the header file; for example we don’t have them for any of the JSValue cases.
Comment on attachment 291333 [details] Patch Clearing flags on attachment: 291333 Committed r207215: <http://trac.webkit.org/changeset/207215> All reviewed patches have been landed. Closing bug. (In reply to comment #2) > Comment on attachment 291333 [details] > Patch > > Unclear to me how we get test coverage for the cases where the defaults in > IDL don’t match the defaults inside the header file. Also not sure why > exactly we need defaults in the header file; for example we don’t have them > for any of the JSValue cases. The default values in the struct have actually no impact if the struct is used from bindings code because the generated bindings code will overwrite each member with whatever default value is defined in the IDL. The only use for those default values is in case the struct is used from implementation, which is uncommon (but is done in a few places). |