Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (288360 => 288361)
--- trunk/Source/_javascript_Core/ChangeLog 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-01-21 13:11:33 UTC (rev 288361)
@@ -1,3 +1,12 @@
+2022-01-21 Lauro Moura <[email protected]>
+
+ [CMake] Cannot link libTestRunnerInjectedBundle.so in non unified build
+ https://bugs.webkit.org/show_bug.cgi?id=226088
+
+ Reviewed by Adrian Perez de Castro.
+
+ * wasm/js/JSWebAssemblyModule.h: Add missing header
+
2022-01-20 Pablo Saavedra <[email protected]>
Non-unified build fails due to forward declaration in _javascript_Core/jit/JITStubRoutine.h
Modified: trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h (288360 => 288361)
--- trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -27,6 +27,7 @@
#if ENABLE(WEBASSEMBLY)
+#include "CallLinkInfo.h"
#include "JSDestructibleObject.h"
#include "JSObject.h"
#include "WasmMemoryMode.h"
Modified: trunk/Source/WebCore/ChangeLog (288360 => 288361)
--- trunk/Source/WebCore/ChangeLog 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/ChangeLog 2022-01-21 13:11:33 UTC (rev 288361)
@@ -1,3 +1,26 @@
+2022-01-21 Lauro Moura <[email protected]>
+
+ [CMake] Cannot link libTestRunnerInjectedBundle.so in non unified build
+ https://bugs.webkit.org/show_bug.cgi?id=226088
+
+ Reviewed by Adrian Perez de Castro.
+
+ Covered by existing tests.
+
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::isUnderTest const): Defining it.
+ * inspector/InspectorController.h: Export isUnderTest().
+ * loader/SubresourceIntegrity.h: Add missing header.
+ * platform/gtk/ValidationBubbleGtk.cpp: Ditto.
+ * svg/graphics/filters/SVGFEImage.h: Ditto.
+ * testing/Internals.cpp:
+ (WebCore::Internals::mediaSessionState): Cast new enum to the WebCore
+ one.
+ * testing/Internals.h: Redefine MediaSessionState as a new enum
+ instead of aliasing to avoid redefinitions of
+ convertEnumerationToString in non-unified builds.
+ * workers/WorkerConsoleClient.h:
+
2022-01-21 Martin Robinson <[email protected]>
element.scrollIntoView() sometimes doesn't scroll
Modified: trunk/Source/WebCore/inspector/InspectorController.cpp (288360 => 288361)
--- trunk/Source/WebCore/inspector/InspectorController.cpp 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/inspector/InspectorController.cpp 2022-01-21 13:11:33 UTC (rev 288361)
@@ -359,6 +359,11 @@
m_overlay->getHighlight(highlight, coordinateSystem);
}
+bool InspectorController::isUnderTest() const
+{
+ return m_isUnderTest;
+}
+
unsigned InspectorController::gridOverlayCount() const
{
return m_overlay->gridOverlayCount();
Modified: trunk/Source/WebCore/inspector/InspectorController.h (288360 => 288361)
--- trunk/Source/WebCore/inspector/InspectorController.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/inspector/InspectorController.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -102,7 +102,7 @@
WEBCORE_EXPORT void didComposite(Frame&);
// Testing support.
- bool isUnderTest() const { return m_isUnderTest; }
+ WEBCORE_EXPORT bool isUnderTest() const;
void setIsUnderTest(bool isUnderTest) { m_isUnderTest = isUnderTest; }
WEBCORE_EXPORT void evaluateForTestInFrontend(const String& script);
WEBCORE_EXPORT unsigned gridOverlayCount() const;
Modified: trunk/Source/WebCore/loader/SubresourceIntegrity.h (288360 => 288361)
--- trunk/Source/WebCore/loader/SubresourceIntegrity.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/loader/SubresourceIntegrity.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -25,6 +25,8 @@
#pragma once
+#include "ResourceCryptographicDigest.h"
+
#include <optional>
#include <wtf/Forward.h>
@@ -31,7 +33,6 @@
namespace WebCore {
class CachedResource;
-struct EncodedResourceCryptographicDigest;
bool matchIntegrityMetadata(const CachedResource&, const String& integrityMetadata);
String integrityMismatchDescription(const CachedResource&, const String& integrityMetadata);
Modified: trunk/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp (288360 => 288361)
--- trunk/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp 2022-01-21 13:11:33 UTC (rev 288361)
@@ -30,6 +30,7 @@
#include "GtkVersioning.h"
#include <glib.h>
+#include <gtk/gtk.h>
#include <wtf/glib/GUniquePtr.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebCore/svg/graphics/filters/SVGFEImage.h (288360 => 288361)
--- trunk/Source/WebCore/svg/graphics/filters/SVGFEImage.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/svg/graphics/filters/SVGFEImage.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -25,6 +25,7 @@
#include "FilterEffect.h"
#include "Image.h"
+#include "ImageBuffer.h"
#include "SVGPreserveAspectRatioValue.h"
namespace WebCore {
Modified: trunk/Source/WebCore/testing/Internals.cpp (288360 => 288361)
--- trunk/Source/WebCore/testing/Internals.cpp 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/testing/Internals.cpp 2022-01-21 13:11:33 UTC (rev 288361)
@@ -4540,7 +4540,7 @@
Internals::MediaSessionState Internals::mediaSessionState(HTMLMediaElement& element)
{
- return element.mediaSession().state();
+ return static_cast<Internals::MediaSessionState>(element.mediaSession().state());
}
#endif
Modified: trunk/Source/WebCore/testing/Internals.h (288360 => 288361)
--- trunk/Source/WebCore/testing/Internals.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/testing/Internals.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -1010,7 +1010,15 @@
using PlaybackControlsPurpose = MediaElementSession::PlaybackControlsPurpose;
RefPtr<HTMLMediaElement> bestMediaElementForRemoteControls(PlaybackControlsPurpose);
- using MediaSessionState = PlatformMediaSession::State;
+ // Same values as PlatformMediaSession::State, but re-declared to avoid redefinitions when linking
+ // directly with libWebCore (e.g. with non-unified builds)
+ enum MediaSessionState {
+ Idle,
+ Autoplaying,
+ Playing,
+ Paused,
+ Interrupted,
+ };
MediaSessionState mediaSessionState(HTMLMediaElement&);
size_t mediaElementCount() const;
Modified: trunk/Source/WebCore/workers/WorkerConsoleClient.h (288360 => 288361)
--- trunk/Source/WebCore/workers/WorkerConsoleClient.h 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Source/WebCore/workers/WorkerConsoleClient.h 2022-01-21 13:11:33 UTC (rev 288361)
@@ -33,6 +33,8 @@
class CallFrame;
}
+using JSC::MessageType;
+
namespace WebCore {
class WorkerConsoleClient final : public JSC::ConsoleClient {
Modified: trunk/Tools/ChangeLog (288360 => 288361)
--- trunk/Tools/ChangeLog 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Tools/ChangeLog 2022-01-21 13:11:33 UTC (rev 288361)
@@ -1,3 +1,13 @@
+2022-01-21 Lauro Moura <[email protected]>
+
+ [CMake] Cannot link libTestRunnerInjectedBundle.so in non unified build
+ https://bugs.webkit.org/show_bug.cgi?id=226088
+
+ Reviewed by Adrian Perez de Castro.
+
+ * WebKitTestRunner/CMakeLists.txt: Pull WebCore as dependency for
+ WTR/WTRInjectedBundle
+
2022-01-20 Lauro Moura <[email protected]>
[GTK] API test /webkit/WebKitWebsiteData/cache is flaky
Modified: trunk/Tools/WebKitTestRunner/CMakeLists.txt (288360 => 288361)
--- trunk/Tools/WebKitTestRunner/CMakeLists.txt 2022-01-21 11:05:10 UTC (rev 288360)
+++ trunk/Tools/WebKitTestRunner/CMakeLists.txt 2022-01-21 13:11:33 UTC (rev 288361)
@@ -24,6 +24,7 @@
)
set(WebKitTestRunner_FRAMEWORKS
_javascript_Core
+ WebCore
WebCoreTestSupport
)
@@ -103,6 +104,7 @@
set(WebKitTestRunnerInjectedBundle_LIBRARIES
TestRunnerShared
+ WebKit::WebCore
WebKit::WebCoreTestSupport
WebKit::WebKit
)