Bug 130817

Summary: Add a _WKScriptWorld class
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

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.