Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(webkit): use HashMap traits that allow 0 as key (#255)
Yury Semikhatskyffd45a378368
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex b633d3d9f0..4fba33e90d 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1 +1 @@-1036+1037diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diffindex 9fda87eb76..d6e8cd2d3c 100644--- a/browser_patches/webkit/patches/bootstrap.diff+++ b/browser_patches/webkit/patches/bootstrap.diff@@ -4657,7 +4657,7 @@ index 9693809e34e..b45a4e7aa61 100644if (isInAcceleratedCompositingMode()) {ASSERT(!m_backingStore);diff --git a/Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h b/Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h-index d7695088e7c..4fe533572b6 100644+index d7695088e7c..fd0e1db93b4 100644--- a/Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h+++ b/Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h@@ -30,6 +30,7 @@@@ -4676,11 +4676,12 @@ index d7695088e7c..4fe533572b6 100644private:// DrawingAreaProxy-@@ -126,6 +128,8 @@ private:+@@ -126,6 +128,9 @@ private:// For a new Drawing Area don't draw anything until the WebProcess has sent over the first content.bool m_hasReceivedFirstUpdate { false };-+ HashMap<uint64_t, Function<void ()>> m_callbacks;++ using ResizeCallbackMap = HashMap<uint64_t, Function<void ()>, WTF::IntHash<uint64_t>, WTF::UnsignedWithZeroKeyHashTraits<uint64_t>>;++ ResizeCallbackMap m_callbacks;+#if !PLATFORM(WPE)bool m_isBackingStoreDiscardable { true };