Changeset 204918 in webkit
- Timestamp:
- Aug 24, 2016 12:27:24 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r204915 r204918 1 2016-08-24 Jonathan Bedard <jbedard@apple.com> 2 3 WebKit2 needs layoutTestController.setDeferMainResourceDataLoad 4 https://bugs.webkit.org/show_bug.cgi?id=42777 5 6 Reviewed by Darin Adler. 7 8 The setDeferMainResourceDataLoad method was not correctly tested in DumpRenderTree and would pass even when setDeterMainResourceDataLoad was not called. Removed function and test. 9 10 * fast/loader/non-deferred-substitute-load-expected.txt: Removed fast/loader/non-deferred-substitute-load.html. 11 * fast/loader/non-deferred-substitute-load.html: Ditto. 12 * platform/ios-simulator-wk2/TestExpectations: Ditto. 13 * platform/win/TestExpectations: Ditto. 14 * platform/wk2/TestExpectations: Ditto. 15 1 16 2016-08-24 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations
r204877 r204918 523 523 fast/images/imagemap-dynamic-area-updates.html [ Failure ] 524 524 fast/inline/relative-positioned-overflow.html [ Failure ] 525 fast/loader/non-deferred-substitute-load.html [ Failure ]526 525 fast/loader/policy-delegate-action-hit-test-zoomed.html [ Failure ] 527 526 fast/loader/repeat-same-document-navigation.html [ Failure ] -
trunk/LayoutTests/platform/win/TestExpectations
r204891 r204918 2531 2531 webkit.org/b/140866 fast/repaint/obscured-background-no-repaint.html [ Failure ] 2532 2532 [ Debug ] fast/repaint/animation-after-layer-scroll.html [ Failure ] 2533 2534 # Main frame document does not match cached page document:2535 webkit.org/b/140871 [ Debug ] fast/loader/non-deferred-substitute-load.html [ Skip ]2536 2533 2537 2534 [ Release ] platform/win/fast/text/uniscribe-missing-glyph.html [ Failure ] -
trunk/LayoutTests/platform/wk2/TestExpectations
r204844 r204918 150 150 # <https://bugs.webkit.org/show_bug.cgi?id=42700> 151 151 http/tests/security/setDomainRelaxationForbiddenForURLScheme.html 152 153 # WebKit2 needs testRunner.setDeferMainResourceDataLoad154 # <https://bugs.webkit.org/show_bug.cgi?id=42777>155 fast/loader/non-deferred-substitute-load.html156 152 157 153 # WebKitTestRunner needs testRunner.removeAllVisitedLinks -
trunk/Tools/ChangeLog
r204916 r204918 1 2016-08-24 Jonathan Bedard <jbedard@apple.com> 2 3 WebKit2 needs layoutTestController.setDeferMainResourceDataLoad 4 https://bugs.webkit.org/show_bug.cgi?id=42777 5 6 Reviewed by Darin Adler. 7 8 The setDeferMainResourceDataLoad method was not correctly tested in DumpRenderTree and would pass even when setDeterMainResourceDataLoad was not called. Removed function and test. 9 10 * DumpRenderTree/TestRunner.cpp: 11 (setDeferMainResourceDataLoadCallback): Removed setDeferMainResourceDataLoad. 12 * DumpRenderTree/TestRunner.h: 13 (TestRunner::deferMainResourceDataLoad): Ditto. 14 (TestRunner::setDeferMainResourceDataLoad): Ditto. 15 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Ditto. 16 1 17 2016-08-23 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Tools/DumpRenderTree/TestRunner.cpp
r204912 r204918 108 108 , m_handlesAuthenticationChallenges(false) 109 109 , m_isPrinting(false) 110 , m_deferMainResourceDataLoad(true)111 110 , m_useDeferredFrameLoading(false) 112 111 , m_shouldPaintBrokenImage(true) … … 912 911 controller->setDatabaseQuota(static_cast<unsigned long long>(quota)); 913 912 914 return JSValueMakeUndefined(context);915 }916 917 static JSValueRef setDeferMainResourceDataLoadCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)918 {919 // Has Mac and Windows implementation920 if (argumentCount < 1)921 return JSValueMakeUndefined(context);922 923 TestRunner* controller = static_cast<TestRunner*>(JSObjectGetPrivate(thisObject));924 controller->setDeferMainResourceDataLoad(JSValueToBoolean(context, arguments[0]));925 926 913 return JSValueMakeUndefined(context); 927 914 } … … 2151 2138 { "setCustomPolicyDelegate", setCustomPolicyDelegateCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2152 2139 { "setDatabaseQuota", setDatabaseQuotaCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2153 { "setDeferMainResourceDataLoad", setDeferMainResourceDataLoadCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },2154 2140 { "setDefersLoading", setDefersLoadingCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 2155 2141 { "setUseDeferredFrameLoading", setUseDeferredFrameLoadingCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, -
trunk/Tools/DumpRenderTree/TestRunner.h
r204877 r204918 296 296 void setDatabaseMaxQuota(double quota) { m_databaseMaxQuota = quota; } 297 297 298 bool deferMainResourceDataLoad() const { return m_deferMainResourceDataLoad; }299 void setDeferMainResourceDataLoad(bool flag) { m_deferMainResourceDataLoad = flag; }300 301 298 bool useDeferredFrameLoading() const { return m_useDeferredFrameLoading; } 302 299 void setUseDeferredFrameLoading(bool flag) { m_useDeferredFrameLoading = flag; } … … 432 429 bool m_handlesAuthenticationChallenges; 433 430 bool m_isPrinting; 434 bool m_deferMainResourceDataLoad;435 431 bool m_useDeferredFrameLoading; 436 432 bool m_shouldPaintBrokenImage; -
trunk/Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm
r203743 r204918 151 151 } 152 152 153 if (!done && !gTestRunner->deferMainResourceDataLoad()) {154 [dataSource _setDeferMainResourceDataLoad:false];155 }156 157 153 if (!done && gTestRunner->willSendRequestReturnsNull()) 158 154 return nil;
Note: See TracChangeset
for help on using the changeset viewer.