[iOS DRT] Make iOS DRT use the same window size as WebKitTestRunner for flexible viewport tests
Created attachment 286821 [details] Patch
Comment on attachment 286821 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286821&action=review > Tools/DumpRenderTree/mac/DumpRenderTree.mm:181 > -WebFrame *mainFrame = 0; > +WebFrame *mainFrame; Is this correct? Notice that this variable has external linkage. From what I recall, only variables with static storage duration are guaranteed to be zero initialized. > Tools/DumpRenderTree/mac/DumpRenderTree.mm:186 > -WebFrame *topLoadingFrame = nil; // !nil iff a load is in progress > +WebFrame *topLoadingFrame; // !nil iff a load is in progress Ditto. > Tools/DumpRenderTree/mac/DumpRenderTree.mm:189 > +CFMutableSetRef disallowedURLs; Ditto. > Tools/DumpRenderTree/mac/DumpRenderTree.mm:224 > +UIWebBrowserView *gWebBrowserView; > +UIWebScrollView *gWebScrollView; > +DumpRenderTreeWindow *gDrtWindow; Ditto.
https://trac.webkit.org/r204929