[Webkit-unassigned] [Bug 43653] WebKitTestRunner should be more aggressive about ensuring consistent state between tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 11 23:06:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43653





--- Comment #5 from Sam Weinig <sam at webkit.org>  2010-08-11 23:06:17 PST ---
(In reply to comment #4)
> > +    WKRetainPtr<WKURLRef> url(AdoptWK, createWKURL("about:blank"));
> > +    WKPageLoadURL(m_mainWebView->page(), url.get());
> 
> It seems that this can affect performance a lot. DRT doesn't do that, does it?

DRT does, 

    [mainFrame loadHTMLString:@"<html></html>" baseURL:[NSURL URLWithString:@"about:blank"]];
    [mainFrame stopLoading];

in runTest(). I am not sure how much that differs in performance, but since we don't have that mechanism yet, I thought this would do nicely.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list