Bug 85571

Summary: Convert setDefersLoading to use InternalSettings interface
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Gyuyoung Kim
Reported 2012-05-03 19:51:44 PDT
Adjust setDefersLoading tests to use InternalSettings instead of LayoutTestController interface. In my opinion, setDeferLoading() is able to be supported by InternalSettings because this feature just enables/disables defer loading feature in page settings. In addition, this feature is implemented by DumpRenderTreeSupportXXX of ports instead of public APIs. For example, in Qt port case, void LayoutTestController::setDefersLoading(bool flag) { DumpRenderTreeSupportQt::setDefersLoading(m_drt->webPage(), flag); } void DumpRenderTreeSupportQt::setDefersLoading(QWebPage* page, bool flag) { Page* corePage = QWebPagePrivate::core(page); if (corePage) corePage->setDefersLoading(flag); } Hello Alexey, I would like to know how do you think about this ?
Attachments
Gyuyoung Kim
Comment 1 2012-05-03 22:42:06 PDT
I'm sorry. This feature can't be moved to Internals. Because QT and EFL port sets this option as false via DumpRenderTreeSupportXXX's funtion when starting a test case. So, DumpRenderTreeSupportXXX needs to be kept.
Note You need to log in before you can comment on or make changes to this bug.