12018-09-03 Frederic Wang <fwang@igalia.com>
2
3 Bug 189190 - REGRESSION(r235398) ASSERTION failure !m_client.didFinishDocumentLoadForFrame
4 https://bugs.webkit.org/show_bug.cgi?id=189190
5
6 Reviewed by NOBODY (OOPS!).
7
8 Assertions to prevent use of the deprecated WKPageSetPageLoaderClient class are hit when
9 running system Safari with the current macOS/iOS releases, making impossible to launch it.
10 This patch conditionally skips these assertions so that they are only verified for
11 macOS >= 10.14 and iOS >= 12.
12
13 * UIProcess/API/C/WKPage.cpp:
14 (WKPageSetPageLoaderClient): Only assert on future OS releases.
15