RESOLVED FIXED 130817
Add a _WKScriptWorld class
https://bugs.webkit.org/show_bug.cgi?id=130817
Summary Add a _WKScriptWorld class
Anders Carlsson
Reported 2014-03-26 20:48:46 PDT
Add a _WKScriptWorld class
Attachments
Patch (10.27 KB, patch)
2014-03-26 20:50 PDT, Anders Carlsson
mitz: review+
Anders Carlsson
Comment 1 2014-03-26 20:50:16 PDT
mitz
Comment 2 2014-03-26 20:54:53 PDT
Comment on attachment 227915 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227915&action=review > Source/WebKit2/UIProcess/API/Cocoa/_WKScriptWorld.mm:79 > +- (BOOL)isEqual:(id)object > +{ > + if (![object isKindOfClass:[_WKScriptWorld class]]) > + return NO; > + > + return _worldID == ((_WKScriptWorld *)object)->_worldID; > +} > + > +- (NSUInteger)hash > +{ > + return _worldID; > +} This seems premature.
Anders Carlsson
Comment 3 2014-03-26 20:56:16 PDT
Note You need to log in before you can comment on or make changes to this bug.