Changeset 128600 in webkit
- Timestamp:
- Sep 14, 2012 6:09:06 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r128594 r128600 1 2012-09-14 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 3 WebKitTestRunner needs layoutTestController.setCustomPolicyDelegate 4 https://bugs.webkit.org/show_bug.cgi?id=42546 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Unskipped corresponding test cases. Distributed those which still not passing to appropriate groups in Skipped file. 9 10 * platform/wk2/Skipped: 11 1 12 2012-09-14 Keishi Hattori <keishi@webkit.org> 2 13 -
trunk/LayoutTests/platform/wk2/Skipped
r128585 r128600 331 331 fast/dom/Geolocation/window-close-crash.html 332 332 333 # WebKitTestRunner needs layoutTestController.setCustomPolicyDelegate334 # <https://bugs.webkit.org/show_bug.cgi?id=42546>335 fast/loader/javascript-url-hierarchical-execution.html336 fast/loader/onload-policy-ignore-for-frame.html337 fast/loader/reload-policy-delegate.html338 http/tests/misc/policy-delegate-called-twice.html339 http/tests/misc/redirect-to-external-url.html340 http/tests/security/feed-urls-from-remote.html341 http/tests/download342 343 333 # WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode 344 334 # <https://bugs.webkit.org/show_bug.cgi?id=42547> … … 355 345 fast/css/compare-content-style.html 356 346 fast/frames/frame-display-none-focus.html 347 fast/loader/reload-policy-delegate.html 357 348 358 349 # WebKitTestRunner needs layoutTestController.queueLoad … … 621 612 inspector/geolocation-watchPosition.html 622 613 614 # WebFrameLoaderClient::dispatchDecidePolicy methods should consider 615 # 'WKBundlePagePolicyActionPassThrough' policy action 616 # https://bugs.webkit.org/show_bug.cgi?id=95974 617 fast/loader/onload-policy-ignore-for-frame.html 618 623 619 ### END OF (1) Classified failures with bug reports 624 620 ######################################## … … 869 865 fast/spatial-navigation/snav-iframe-no-scrollable-content.html 870 866 fast/spatial-navigation/snav-imagemap-overlapped-areas.html 867 868 # WK2 is missing API for getting header fields from HTTP responses 869 # which have to be serialized. 870 http/tests/download 871 872 # WebFrameLoaderClient::canHandleRequest() has to be implemented. 873 http/tests/misc/redirect-to-external-url.html 871 874 872 875 ### END OF (2) Classified failures without bug reports (yet) … … 1124 1127 http/tests/loading/pdf-commit-load-callbacks.html 1125 1128 1129 # Times out unexpectedly. 1130 http/tests/security/feed-urls-from-remote.html 1131 1126 1132 ### END OF (3) Unclassified failures 1127 1133 ######################################## -
trunk/Tools/ChangeLog
r128596 r128600 1 2012-09-14 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 3 WebKitTestRunner needs layoutTestController.setCustomPolicyDelegate 4 https://bugs.webkit.org/show_bug.cgi?id=42546 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Exported TestRunner::setCustomPolicyDelegate() method. 9 Allowed Policy Delegate dumping even if we're not in 'waitUntilDone' mode. 10 11 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: 12 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: 13 (WTR::InjectedBundlePage::decidePolicyForNavigationAction): 14 1 15 2012-09-14 Zan Dobersek <zandobersek@gmail.com> 2 16 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r128491 r128600 65 65 void setPopupBlockingEnabled(in boolean value); 66 66 void setAuthorAndUserStylesEnabled(in boolean value); 67 void setCustomPolicyDelegate(in boolean enabled, in boolean permissive); 67 68 void addOriginAccessWhitelistEntry(in DOMString sourceOrigin, in DOMString destinationProtocol, in DOMString destinationHost, in boolean allowDestinationSubdomains); 68 69 void removeOriginAccessWhitelistEntry(in DOMString sourceOrigin, in DOMString destinationProtocol, in DOMString destinationHost, in boolean allowDestinationSubdomains); -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
r128585 r128600 1265 1265 return WKBundlePagePolicyActionUse; 1266 1266 1267 if (InjectedBundle::shared().testRunner()->waitToDump()) { 1268 WKRetainPtr<WKStringRef> url = adoptWK(WKURLCopyString(WKURLRequestCopyURL(request))); 1269 InjectedBundle::shared().stringBuilder()->appendLiteral("Policy delegate: attempt to load "); 1270 InjectedBundle::shared().stringBuilder()->append(toWTFString(url)); 1271 InjectedBundle::shared().stringBuilder()->appendLiteral(" with navigation type \'"); 1272 InjectedBundle::shared().stringBuilder()->append(toWTFString(NavigationTypeToString(WKBundleNavigationActionGetNavigationType(navigationAction)))); 1273 InjectedBundle::shared().stringBuilder()->appendLiteral("\'"); 1274 WKBundleHitTestResultRef hitTestResultRef = WKBundleNavigationActionCopyHitTestResult(navigationAction); 1275 if (hitTestResultRef) { 1276 InjectedBundle::shared().stringBuilder()->appendLiteral(" originating from "); 1277 InjectedBundle::shared().stringBuilder()->append(dumpPath(m_page, m_world.get(), WKBundleHitTestResultCopyNodeHandle(hitTestResultRef))); 1278 } 1279 1280 InjectedBundle::shared().stringBuilder()->append('\n'); 1281 InjectedBundle::shared().testRunner()->notifyDone(); 1282 } 1267 WKRetainPtr<WKStringRef> url = adoptWK(WKURLCopyString(WKURLRequestCopyURL(request))); 1268 InjectedBundle::shared().stringBuilder()->appendLiteral("Policy delegate: attempt to load "); 1269 InjectedBundle::shared().stringBuilder()->append(toWTFString(url)); 1270 InjectedBundle::shared().stringBuilder()->appendLiteral(" with navigation type \'"); 1271 InjectedBundle::shared().stringBuilder()->append(toWTFString(NavigationTypeToString(WKBundleNavigationActionGetNavigationType(navigationAction)))); 1272 InjectedBundle::shared().stringBuilder()->appendLiteral("\'"); 1273 WKBundleHitTestResultRef hitTestResultRef = WKBundleNavigationActionCopyHitTestResult(navigationAction); 1274 if (hitTestResultRef) { 1275 InjectedBundle::shared().stringBuilder()->appendLiteral(" originating from "); 1276 InjectedBundle::shared().stringBuilder()->append(dumpPath(m_page, m_world.get(), WKBundleHitTestResultCopyNodeHandle(hitTestResultRef))); 1277 } 1278 1279 InjectedBundle::shared().stringBuilder()->append('\n'); 1280 InjectedBundle::shared().testRunner()->notifyDone(); 1283 1281 1284 1282 if (InjectedBundle::shared().testRunner()->isPolicyDelegatePermissive())
Note: See TracChangeset
for help on using the changeset viewer.