Changeset 83550 in webkit
- Timestamp:
- Apr 11, 2011 7:10:14 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83548 r83550 1 2011-04-11 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Anders Carlsson. 4 5 REGRESSION(r77974): http/tests/security/aboutBlank/security-context-window-open.html is failing 6 <rdar://problem/8981346> 7 https://bugs.webkit.org/show_bug.cgi?id=54159 8 9 * platform/mac-wk2/Skipped: 10 Remove http/tests/security/aboutBlank/security-context-window-open.html from the skipped list. 11 1 12 2011-04-11 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/LayoutTests/platform/mac-wk2/Skipped
r83481 r83550 1493 1493 compositing/tiling/huge-layer-resize.html 1494 1494 1495 # REGRESSION(r77974): http/tests/security/aboutBlank/security-context-window-open.html is failing1496 # <https://bugs.webkit.org/show_bug.cgi?id=54159>1497 http/tests/security/aboutBlank/security-context-window-open.html1498 1499 1495 # transitions/default-timing-function.html failing on WebKit2 since it was added 1500 1496 # <https://bugs.webkit.org/show_bug.cgi?id=56531> -
trunk/Tools/ChangeLog
r83546 r83550 1 2011-04-11 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Anders Carlsson. 4 5 REGRESSION(r77974): http/tests/security/aboutBlank/security-context-window-open.html is failing 6 <rdar://problem/8981346> 7 https://bugs.webkit.org/show_bug.cgi?id=54159 8 9 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: 10 (WTR::InjectedBundlePage::InjectedBundlePage): 11 (WTR::InjectedBundlePage::decidePolicyForNavigationAction): 12 (WTR::InjectedBundlePage::decidePolicyForNewWindowAction): 13 (WTR::InjectedBundlePage::decidePolicyForResponse): 14 (WTR::InjectedBundlePage::unableToImplementPolicy): 15 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: 16 Add short-circuited policy client which matches WebKit1. 17 18 * WebKitTestRunner/TestController.cpp: 19 (WTR::TestController::resetStateToConsistentValues): 20 Clear the cache between tests to ensure consistent results. 21 1 22 2011-04-11 George Guo <George.Guo@nokia.com> 2 23 -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
r82780 r83550 203 203 WKBundlePageSetResourceLoadClient(m_page, &resourceLoadClient); 204 204 205 WKBundlePagePolicyClient policyClient = { 206 0, 207 this, 208 decidePolicyForNavigationAction, 209 decidePolicyForNewWindowAction, 210 decidePolicyForResponse, 211 unableToImplementPolicy 212 }; 213 WKBundlePageSetPolicyClient(m_page, &policyClient); 214 205 215 WKBundlePageUIClient uiClient = { 206 216 0, … … 670 680 } 671 681 682 683 // Policy Client Callbacks 684 685 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForNavigationAction(WKBundlePageRef page, WKBundleFrameRef frame, WKBundleNavigationActionRef navigationAction, WKURLRequestRef request, WKTypeRef* userData, const void* clientInfo) 686 { 687 return static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->decidePolicyForNavigationAction(page, frame, navigationAction, request, userData); 688 } 689 690 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForNewWindowAction(WKBundlePageRef page, WKBundleFrameRef frame, WKBundleNavigationActionRef navigationAction, WKURLRequestRef request, WKStringRef frameName, WKTypeRef* userData, const void* clientInfo) 691 { 692 return static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->decidePolicyForNewWindowAction(page, frame, navigationAction, request, frameName, userData); 693 } 694 695 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForResponse(WKBundlePageRef page, WKBundleFrameRef frame, WKURLResponseRef response, WKURLRequestRef request, WKTypeRef* userData, const void* clientInfo) 696 { 697 return static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->decidePolicyForResponse(page, frame, response, request, userData); 698 } 699 700 void InjectedBundlePage::unableToImplementPolicy(WKBundlePageRef page, WKBundleFrameRef frame, WKErrorRef error, WKTypeRef* userData, const void* clientInfo) 701 { 702 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->unableToImplementPolicy(page, frame, error, userData); 703 } 704 705 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForNavigationAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef request, WKTypeRef*) 706 { 707 return WKBundlePagePolicyActionUse; 708 } 709 710 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForNewWindowAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef, WKStringRef, WKTypeRef*) 711 { 712 return WKBundlePagePolicyActionUse; 713 } 714 715 WKBundlePagePolicyAction InjectedBundlePage::decidePolicyForResponse(WKBundlePageRef, WKBundleFrameRef, WKURLResponseRef, WKURLRequestRef, WKTypeRef*) 716 { 717 return WKBundlePagePolicyActionUse; 718 } 719 720 void InjectedBundlePage::unableToImplementPolicy(WKBundlePageRef, WKBundleFrameRef, WKErrorRef, WKTypeRef*) 721 { 722 } 723 672 724 // UI Client Callbacks 673 725 -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h
r77908 r83550 95 95 void didFailLoadForResource(WKBundlePageRef, WKBundleFrameRef, uint64_t identifier, WKErrorRef); 96 96 97 // WKBundlePagePolicyClient 98 static WKBundlePagePolicyAction decidePolicyForNavigationAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef, WKTypeRef*, const void*); 99 static WKBundlePagePolicyAction decidePolicyForNewWindowAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef, WKStringRef frameName, WKTypeRef*, const void*); 100 static WKBundlePagePolicyAction decidePolicyForResponse(WKBundlePageRef, WKBundleFrameRef, WKURLResponseRef, WKURLRequestRef, WKTypeRef*, const void*); 101 static void unableToImplementPolicy(WKBundlePageRef, WKBundleFrameRef, WKErrorRef, WKTypeRef*, const void*); 102 WKBundlePagePolicyAction decidePolicyForNavigationAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef, WKTypeRef*); 103 WKBundlePagePolicyAction decidePolicyForNewWindowAction(WKBundlePageRef, WKBundleFrameRef, WKBundleNavigationActionRef, WKURLRequestRef, WKStringRef frameName, WKTypeRef*); 104 WKBundlePagePolicyAction decidePolicyForResponse(WKBundlePageRef, WKBundleFrameRef, WKURLResponseRef, WKURLRequestRef, WKTypeRef*); 105 void unableToImplementPolicy(WKBundlePageRef, WKBundleFrameRef, WKErrorRef, WKTypeRef*); 106 97 107 // UI Client 98 108 static void willAddMessageToConsole(WKBundlePageRef, WKStringRef message, uint32_t lineNumber, const void* clientInfo); -
trunk/Tools/WebKitTestRunner/TestController.cpp
r83531 r83550 34 34 #include <WebKit2/WKPageGroup.h> 35 35 #include <WebKit2/WKPreferencesPrivate.h> 36 #include <WebKit2/WKResourceCacheManager.h> 36 37 #include <WebKit2/WKRetainPtr.h> 37 38 #include <wtf/PassOwnPtr.h> … … 378 379 WKPreferencesSetSerifFontFamily(preferences, serifFontFamily); 379 380 381 WKResourceCacheManagerRef cacheManager = WKContextGetResourceCacheManager(m_context.get()); 382 WKResourceCacheManagerClearCacheForAllOrigins(cacheManager, WKResourceCachesToClearAll); 383 380 384 m_mainWebView->focus(); 381 385
Note: See TracChangeset
for help on using the changeset viewer.