[webkit-reviews] review granted: [Bug 168578] [Cocoa] Objective-C class whose name begins with an underscore can’t be exported to JavaScript : [Attachment 307253] Avoid skipping over underscore-prefixed classes that JSExport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 17 15:04:36 PDT 2017


Geoffrey Garen <ggaren at apple.com> has granted mitz at webkit.org's request for
review:
Bug 168578: [Cocoa] Objective-C class whose name begins with an underscore
can’t be exported to JavaScript
https://bugs.webkit.org/show_bug.cgi?id=168578

Attachment 307253: Avoid skipping over underscore-prefixed classes that
JSExport

https://bugs.webkit.org/attachment.cgi?id=307253&action=review




--- Comment #3 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 307253
  --> https://bugs.webkit.org/attachment.cgi?id=307253
Avoid skipping over underscore-prefixed classes that JSExport

I wonder what we accomplished previously be excluding classes with _ prefixes,
and what we continue to accomplish now by doing the same for classes with _
prefixes that do not have JSExports. Such classes don't export anything, so how
are they even visible to JavaScript? I guess they are visible when an empty
_Class shows up somewhere in the prototype chain?


More information about the webkit-reviews mailing list