Bug 160820 - [Cocoa] Instances of WKObject subclasses don’t work correctly with CFGetTypeID()
Summary: [Cocoa] Instances of WKObject subclasses don’t work correctly with CFGetTypeID()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-08-12 14:12 PDT by mitz
Modified: 2016-08-12 16:36 PDT (History)
0 users

See Also:


Attachments
Implement -[WKObject _cfTypeID] (1.37 KB, patch)
2016-08-12 16:27 PDT, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2016-08-12 14:12:48 PDT
<rdar://problem/27825875>

For example, CFGetTypeID(webView.title) is not equal to CFStringGetTypeID(), but should be.
Comment 1 mitz 2016-08-12 15:43:16 PDT
I picked a bad example with webView.title, but this happens for APIs that do expose internal wrappers.
Comment 2 mitz 2016-08-12 16:27:51 PDT
Created attachment 285973 [details]
Implement -[WKObject _cfTypeID]
Comment 3 mitz 2016-08-12 16:36:17 PDT
Fixed in <https://trac.webkit.org/r204432>.