Changeset 87043 in webkit
- Timestamp:
- May 22, 2011 12:33:39 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87029 r87043 1 2011-05-22 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix policyDelegate in Qt DRT 6 https://bugs.webkit.org/show_bug.cgi?id=61247 7 8 * platform/qt/Skipped: Unskip fast/encoding/mailto-always-utf-8.html 9 * platform/qt/fast/forms/mailto/formenctype-attribute-button-html-expected.txt: Removed. 10 * platform/qt/fast/forms/mailto/formenctype-attribute-input-html-expected.txt: Removed. 11 1 12 2011-05-22 Dominic Cooney <dominicc@chromium.org> 2 13 -
trunk/LayoutTests/platform/qt/Skipped
r87020 r87043 616 616 # Missing layoutTestController.findString() http://webkit.org/b/50236 617 617 editing/text-iterator/findString.html 618 619 # layoutTestController.waitForPolicyDelegate() does not report the origin node620 fast/encoding/mailto-always-utf-8.html621 618 622 619 # Missing layoutTestController.setAlwaysAcceptCookies() -
trunk/Source/WebKit/qt/ChangeLog
r87032 r87043 1 2011-05-22 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix policyDelegate in Qt DRT 6 7 https://bugs.webkit.org/show_bug.cgi?id=61247 8 9 Use the 'policy delegate' implemented in FrameLoaderClient 10 for layout tests. The partial implementation in DumpRenderTreeQt 11 is redundant. 12 13 * WebCoreSupport/FrameLoaderClientQt.cpp: 14 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): 15 1 16 2011-05-22 Andrew Wason <rectalogic@rectalogic.com> 2 17 -
trunk/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r86013 r87043 1264 1264 result = PolicyIgnore; 1265 1265 1266 page->d->acceptNavigationRequest(m_webFrame, r, QWebPage::NavigationType(action.type())); 1266 1267 callPolicyFunction(function, result); 1267 1268 return; -
trunk/Tools/ChangeLog
r87040 r87043 1 2011-05-22 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix policyDelegate in Qt DRT 6 https://bugs.webkit.org/show_bug.cgi?id=61247 7 8 Use the 'policy delegate' implemented in FrameLoaderClient 9 for layout tests. The partial implementation in DumpRenderTreeQt 10 is redundant, so remove it. 11 12 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 13 (WebCore::WebPage::acceptNavigationRequest): 14 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15 (LayoutTestController::waitForPolicyDelegate): 16 1 17 2011-05-22 Patrick Gansterer <paroga@webkit.org> 2 18 -
trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
r86841 r87043 325 325 bool WebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, NavigationType type) 326 326 { 327 if (m_drt->layoutTestController()->waitForPolicy()) { 328 QString url = QString::fromUtf8(request.url().toEncoded()); 329 QString typeDescription; 330 331 switch (type) { 332 case NavigationTypeLinkClicked: 333 typeDescription = "link clicked"; 334 break; 335 case NavigationTypeFormSubmitted: 336 typeDescription = "form submitted"; 337 break; 338 case NavigationTypeBackOrForward: 339 typeDescription = "back/forward"; 340 break; 341 case NavigationTypeReload: 342 typeDescription = "reload"; 343 break; 344 case NavigationTypeFormResubmitted: 345 typeDescription = "form resubmitted"; 346 break; 347 case NavigationTypeOther: 348 typeDescription = "other"; 349 break; 350 default: 351 typeDescription = "illegal value"; 352 } 353 354 if (isTextOutputEnabled()) 355 fprintf(stdout, "Policy delegate: attempt to load %s with navigation type '%s'\n", 356 url.toUtf8().constData(), typeDescription.toUtf8().constData()); 357 327 if (m_drt->layoutTestController()->waitForPolicy()) 358 328 m_drt->layoutTestController()->notifyDone(); 359 } 329 360 330 return QWebPage::acceptNavigationRequest(frame, request, type); 361 331 } -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r86742 r87043 629 629 void LayoutTestController::waitForPolicyDelegate() 630 630 { 631 setCustomPolicyDelegate(true); 631 632 m_waitForPolicy = true; 632 633 waitUntilDone();
Note: See TracChangeset
for help on using the changeset viewer.