Changeset 241127 in webkit
- Timestamp:
- Feb 7, 2019 10:52:54 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r241123 r241127 1 2019-02-07 Alex Christensen <achristensen@webkit.org> 2 3 Deprecate WKBundlePageSetDefersLoading 4 https://bugs.webkit.org/show_bug.cgi?id=191394 5 6 Reviewed by Dean Jackson. 7 8 * platform/wk2/TestExpectations: 9 1 10 2019-02-07 Zalan Bujtas <zalan@apple.com> 2 11 -
trunk/LayoutTests/platform/wk2/TestExpectations
r240046 r241127 535 535 platform/mac/fast/AppleScript/array.html 536 536 platform/mac/fast/AppleScript/date.html 537 538 # setDefersLoading is not supported in WK2. 539 loader/load-defer.html [ WontFix ] 537 540 538 541 # WebKitTestRunner doesn't have objCController -
trunk/Source/WebKit/ChangeLog
r241125 r241127 1 2019-02-07 Alex Christensen <achristensen@webkit.org> 2 3 Deprecate WKBundlePageSetDefersLoading 4 https://bugs.webkit.org/show_bug.cgi?id=191394 5 6 Reviewed by Dean Jackson. 7 8 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: 9 (WKBundlePageSetDefersLoading): 10 * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: 11 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: 12 (-[WKWebProcessPlugInBrowserContextController _defersLoading]): 13 (-[WKWebProcessPlugInBrowserContextController _setDefersLoading:]): 14 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h: 15 1 16 2019-02-07 Alex Christensen <achristensen@webkit.org> 2 17 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
r239851 r241127 304 304 } 305 305 306 void WKBundlePageSetDefersLoading(WKBundlePageRef pageRef, bool defersLoading) 307 { 308 WebKit::toImpl(pageRef)->setDefersLoading(defersLoading); 306 void WKBundlePageSetDefersLoading(WKBundlePageRef, bool) 307 { 309 308 } 310 309 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h
r239851 r241127 28 28 29 29 #include <WebKit/WKBase.h> 30 #include <WebKit/WKDeprecated.h> 30 31 #include <WebKit/WKEvent.h> 31 32 #include <WebKit/WKGeometry.h> … … 38 39 39 40 WK_EXPORT void WKBundlePageStopLoading(WKBundlePageRef page); 40 WK_EXPORT void WKBundlePageSetDefersLoading(WKBundlePageRef page, bool defersLoading) ;41 WK_EXPORT void WKBundlePageSetDefersLoading(WKBundlePageRef page, bool defersLoading) WK_C_API_DEPRECATED; 41 42 WK_EXPORT bool WKBundlePageIsEditingCommandEnabled(WKBundlePageRef page, WKStringRef commandName); 42 43 WK_EXPORT void WKBundlePageClearMainFrameName(WKBundlePageRef page); -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm
r241026 r241127 694 694 - (BOOL)_defersLoading 695 695 { 696 return _page->defersLoading();696 return NO; 697 697 } 698 698 699 699 - (void)_setDefersLoading:(BOOL)defersLoading 700 700 { 701 _page->setDefersLoading(defersLoading);702 701 } 703 702 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
r221930 r241127 46 46 @property (weak, setter=_setEditingDelegate:) id <WKWebProcessPlugInEditingDelegate> _editingDelegate WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 47 47 48 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading ;48 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading WK_API_DEPRECATED("No longer supported"); 49 49 50 50 @property (nonatomic, readonly) BOOL _usesNonPersistentWebsiteDataStore; -
trunk/Tools/ChangeLog
r241123 r241127 1 2019-02-07 Alex Christensen <achristensen@webkit.org> 2 3 Deprecate WKBundlePageSetDefersLoading 4 https://bugs.webkit.org/show_bug.cgi?id=191394 5 6 Reviewed by Dean Jackson. 7 8 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 9 (WTR::TestRunner::setDefersLoading): 10 1 11 2019-02-07 Zalan Bujtas <zalan@apple.com> 2 12 -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r240928 r241127 742 742 } 743 743 744 void TestRunner::setDefersLoading(bool shouldDeferLoading) 745 { 746 WKBundlePageSetDefersLoading(InjectedBundle::singleton().page()->page(), shouldDeferLoading); 744 void TestRunner::setDefersLoading(bool) 745 { 747 746 } 748 747
Note: See TracChangeset
for help on using the changeset viewer.