Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 54930403f69c19dbf0c7644430b72056fa091439
      
https://github.com/WebKit/WebKit/commit/54930403f69c19dbf0c7644430b72056fa091439
  Author: Cole Carley <[email protected]>
  Date:   2025-12-17 (Wed, 17 Dec 2025)

  Changed paths:
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/page/Frame.cpp
    M Source/WebCore/page/Frame.h
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/Page.h
    M Source/WebKit/Shared/WebFoundTextRange.h
    M Source/WebKit/Shared/WebFoundTextRange.serialization.in
    M Source/WebKit/UIProcess/WebFrameProxy.cpp
    M Source/WebKit/UIProcess/WebFrameProxy.h
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  REGRESSION(303851@main): [ macOS iOS Debug ] ipc/serialized-type-info.html is 
a constant failure
https://bugs.webkit.org/show_bug.cgi?id=303876
rdar://166170583

Reviewed by Alex Christensen.

The problem is that size_t cannot be serialized. This originated
in this patch: https://commits.webkit.org/303851@main, where I
added a Vector<size_t> as a member of a struct.

I have changed this to be a Vector<uint64_t>. The type size_t cannot
be serialized for IPC because sizeof(size_t) is dependant on architecture
and watchOS sometimes communicates via IPC from a 32 bit machine to a
64 bit machine.

* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/page/Frame.cpp:
(WebCore::Frame::indexInFrameTreeSiblings const):
(WebCore::Frame::pathToFrame const):
* Source/WebCore/page/Frame.h:
* Source/WebCore/page/Page.cpp:
(WebCore::Page::findFrameByPath const):
* Source/WebCore/page/Page.h:
* Source/WebKit/Shared/WebFoundTextRange.h:
(WTF::HashTraits<WebKit::WebFoundTextRange>::constructDeletedValue):
* Source/WebKit/Shared/WebFoundTextRange.serialization.in:
* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::childFrame const):
* Source/WebKit/UIProcess/WebFrameProxy.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(+[WKFoundTextRange foundTextRangeWithWebFoundTextRange:]):
(-[WKFoundDOMTextRange webFoundTextRange]):
(-[WKFoundPDFTextRange webFoundTextRange]):

Canonical link: https://commits.webkit.org/304617@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to