Bug 160424

Summary: Freeze all the DOMHTML* Objective-C bindings
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: darin
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Anders Carlsson
Reported 2016-08-01 13:55:02 PDT
Freeze all the DOMHTML* Objective-C bindings
Attachments
Patch (743.93 KB, patch)
2016-08-01 14:08 PDT, Anders Carlsson
thorton: review+
Anders Carlsson
Comment 1 2016-08-01 14:08:39 PDT
Tim Horton
Comment 2 2016-08-01 14:09:56 PDT
Comment on attachment 285040 [details] Patch rs=me
Anders Carlsson
Comment 3 2016-08-01 14:18:00 PDT
Darin Adler
Comment 4 2016-08-02 09:55:11 PDT
I just noticed that we are generating a lot of Objective-C bindings that then are not migrated by MigrateHeaders. I wonder if we can get away with just not generating any of those?
Anders Carlsson
Comment 5 2016-08-02 12:01:25 PDT
(In reply to comment #4) > I just noticed that we are generating a lot of Objective-C bindings that > then are not migrated by MigrateHeaders. I wonder if we can get away with > just not generating any of those? Yeah, I've noticed that too. There are a couple of DOMEvent headers that aren't being installed, but they're used in Class kitClass(WebCore::Event* impl) I think we can simply fall back to DOMEvent for them.
Anders Carlsson
Comment 6 2016-08-02 12:02:58 PDT
(In reply to comment #5) > (In reply to comment #4) > > I just noticed that we are generating a lot of Objective-C bindings that > > then are not migrated by MigrateHeaders. I wonder if we can get away with > > just not generating any of those? > > Yeah, I've noticed that too. There are a couple of DOMEvent headers that > aren't being installed, but they're used in > > Class kitClass(WebCore::Event* impl) > > I think we can simply fall back to DOMEvent for them. There are also CSS related classes that aren't installed but used in Class kitClass(WebCore::CSSRule* impl) and Class kitClass(WebCore::CSSValue* impl) We can probably get away with returning [DOMCSSRule class] and [DOMCSSValue class] respectively.
Darin Adler
Comment 7 2016-08-02 12:15:43 PDT
There are also lots of others, like the Apple Pay ones.
Anders Carlsson
Comment 8 2016-08-02 12:25:01 PDT
(In reply to comment #7) > There are also lots of others, like the Apple Pay ones. Yes, those aren't even built!
Note You need to log in before you can comment on or make changes to this bug.