WebKit Bugzilla
Attachment 361231 Details for
Bug 191394
: Deprecate WKBundlePageSetDefersLoading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-191394-20190205154117.patch (text/plain), 4.42 KB, created by
Alex Christensen
on 2019-02-05 15:41:17 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alex Christensen
Created:
2019-02-05 15:41:17 PST
Size:
4.42 KB
patch
obsolete
>Index: Source/WebKit/ChangeLog >=================================================================== >--- Source/WebKit/ChangeLog (revision 240998) >+++ Source/WebKit/ChangeLog (working copy) >@@ -1,3 +1,18 @@ >+2019-02-05 Alex Christensen <achristensen@webkit.org> >+ >+ Deprecate WKBundlePageSetDefersLoading >+ https://bugs.webkit.org/show_bug.cgi?id=191394 >+ >+ Reviewed by Dean Jackson. >+ >+ * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: >+ (WKBundlePageSetDefersLoading): >+ * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: >+ * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: >+ (-[WKWebProcessPlugInBrowserContextController _defersLoading]): >+ (-[WKWebProcessPlugInBrowserContextController _setDefersLoading:]): >+ * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h: >+ > 2019-02-05 Tim Horton <timothy_horton@apple.com> > > Reproducible crash under WKShareSheet presentWithParameters when cancelling a share >Index: Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp >=================================================================== >--- Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp (revision 240983) >+++ Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp (working copy) >@@ -303,9 +303,8 @@ void WKBundlePageStopLoading(WKBundlePag > WebKit::toImpl(pageRef)->stopLoading(); > } > >-void WKBundlePageSetDefersLoading(WKBundlePageRef pageRef, bool defersLoading) >+void WKBundlePageSetDefersLoading(WKBundlePageRef, bool) > { >- WebKit::toImpl(pageRef)->setDefersLoading(defersLoading); > } > > WKStringRef WKBundlePageCopyRenderTreeExternalRepresentation(WKBundlePageRef pageRef) >Index: Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h >=================================================================== >--- Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h (revision 240983) >+++ Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h (working copy) >@@ -27,6 +27,7 @@ > #define WKBundlePagePrivate_h > > #include <WebKit/WKBase.h> >+#include <WebKit/WKDeprecated.h> > #include <WebKit/WKEvent.h> > #include <WebKit/WKGeometry.h> > #include <WebKit/WKUserContentInjectedFrames.h> >@@ -37,7 +38,7 @@ extern "C" { > #endif > > WK_EXPORT void WKBundlePageStopLoading(WKBundlePageRef page); >-WK_EXPORT void WKBundlePageSetDefersLoading(WKBundlePageRef page, bool defersLoading); >+WK_EXPORT void WKBundlePageSetDefersLoading(WKBundlePageRef page, bool defersLoading) WK_C_API_DEPRECATED; > WK_EXPORT bool WKBundlePageIsEditingCommandEnabled(WKBundlePageRef page, WKStringRef commandName); > WK_EXPORT void WKBundlePageClearMainFrameName(WKBundlePageRef page); > WK_EXPORT void WKBundlePageClose(WKBundlePageRef page); >Index: Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm >=================================================================== >--- Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm (revision 240983) >+++ Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm (working copy) >@@ -654,12 +654,11 @@ - (void)_setEditingDelegate:(id <WKWebPr > > - (BOOL)_defersLoading > { >- return _page->defersLoading(); >+ return NO; > } > > - (void)_setDefersLoading:(BOOL)defersLoading > { >- _page->setDefersLoading(defersLoading); > } > > - (BOOL)_usesNonPersistentWebsiteDataStore >Index: Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h >=================================================================== >--- Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h (revision 240983) >+++ Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h (working copy) >@@ -45,7 +45,7 @@ @interface WKWebProcessPlugInBrowserCont > @property (weak, setter=_setFormDelegate:) id <WKWebProcessPlugInFormDelegatePrivate> _formDelegate; > @property (weak, setter=_setEditingDelegate:) id <WKWebProcessPlugInEditingDelegate> _editingDelegate WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); > >-@property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading; >+@property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading WK_API_DEPRECATED("No longer supported"); > > @property (nonatomic, readonly) BOOL _usesNonPersistentWebsiteDataStore; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 191394
:
354133
|
361231
|
361250
|
361256
|
361416