Changeset 234658 in webkit
- Timestamp:
- Aug 7, 2018 10:36:47 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r234654 r234658 1 2018-08-07 Alex Christensen <achristensen@webkit.org> 2 3 Fix things after r234640 4 https://bugs.webkit.org/show_bug.cgi?id=188133 5 6 * platform/mac-sierra-wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added. 7 Added test expectation for Sierra, which has no safe browsing framework. 8 1 9 2018-08-07 Yusuke Suzuki <yusukesuzuki@slowstart.org> 2 10 -
trunk/Source/WebKit/ChangeLog
r234652 r234658 1 2018-08-07 Alex Christensen <achristensen@webkit.org> 2 3 Fix things after r234640 4 https://bugs.webkit.org/show_bug.cgi?id=188133 5 6 * UIProcess/WebFramePolicyListenerProxy.cpp: 7 (WebKit::WebFramePolicyListenerProxy::use): 8 (WebKit::WebFramePolicyListenerProxy::download): 9 (WebKit::WebFramePolicyListenerProxy::ignore): 10 Fix assertions as I had in r234552. Also fix a possible race condition with fragment navigations by only keeping the first "use" response. 11 * config.h: 12 Fix IOSMAC build. 13 1 14 2018-08-07 Per Arne Vollan <pvollan@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/WebFramePolicyListenerProxy.cpp
r234640 r234658 58 58 void WebFramePolicyListenerProxy::use(API::WebsitePolicies* policies, ShouldProcessSwapIfPossible swap) 59 59 { 60 ASSERT(!m_policyResult);61 60 if (m_safeBrowsingResults) { 62 61 if (m_reply) 63 62 m_reply(WebCore::PolicyAction::Use, policies, swap, WTFMove(*m_safeBrowsingResults)); 64 } else 63 } else if (!m_policyResult) 65 64 m_policyResult = {{ policies, swap }}; 66 65 } … … 68 67 void WebFramePolicyListenerProxy::download() 69 68 { 70 ASSERT(!m_policyResult);71 69 if (m_reply) 72 70 m_reply(WebCore::PolicyAction::Download, nullptr, ShouldProcessSwapIfPossible::No, { }); … … 75 73 void WebFramePolicyListenerProxy::ignore() 76 74 { 77 ASSERT(!m_policyResult);78 75 if (m_reply) 79 76 m_reply(WebCore::PolicyAction::Ignore, nullptr, ShouldProcessSwapIfPossible::No, { }); -
trunk/Source/WebKit/config.h
r234640 r234658 128 128 #endif 129 129 130 #if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)) && !defined(__i386__) 130 #if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)) && !defined(__i386__) && !PLATFORM(IOSMAC) 131 131 #define HAVE_SAFE_BROWSING 1 132 132 #else
Note: See TracChangeset
for help on using the changeset viewer.