[Webkit-unassigned] [Bug 209685] REGRESSION: 4 TestWebKitAPI.DragAndDropTests.DataTransferSetData tests failing on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 4 22:37:16 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=209685

--- Comment #7 from Wenson Hsieh <wenson_hsieh at apple.com> ---
The latest logging after trac.webkit.org/r259541 makes it obvious that we’re failing on this bot because the staged item provider keeps getting overwritten. The PasteboardCustomData contains the information needed to start the drag, but for some reason, we end up writing an empty string to the pasteboard, which clears out the staged item :(

Timeout

    TestWebKitAPI.DragAndDropTests.DataTransferSetDataValidURL
        2020-04-04 19:39:09.104 TestWebKitAPI[67931:311616776] -[WebItemProviderPasteboard stageRegistrationLists:] - (
            "<WebItemProviderRegistrationInfoList: 0x7fb3935c3100(com.apple.WebKit.custom-pasteboard-data => 106 bytes), (NSURL)>"
        )
        1   0x1149353c7 -[WebItemProviderPasteboard stageRegistrationLists:]
        2   0x113680e1b WebCore::registerItemsToPasteboard(NSArray<WebItemProviderRegistrationInfoList*>*, id<AbstractPasteboard>)
        3   0x113680a8a WebCore::PlatformPasteboard::write(WTF::Vector<WebCore::PasteboardCustomData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&)
        4   0x111083672 WebKit::WebPasteboardProxy::writeCustomData(IPC::Connection&, WTF::Vector<WebCore::PasteboardCustomData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::String const&, WTF::CompletionHandler<void (long long)>&&)
        5   0x1113df80a void IPC::handleMessageSynchronousWantsConnection<Messages::WebPasteboardProxy::WriteCustomData, WebKit::WebPasteboardProxy, void (WebKit::WebPasteboardProxy::*)(IPC::Connection&, WTF::Vector<WebCore::PasteboardCustomData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::String const&, WTF::CompletionHandler<void (long long)>&&)>(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_delete<IPC::Encoder> >&, WebKit::WebPasteboardProxy*, void (WebKit::WebPasteboardProxy::*)(IPC::Connection&, WTF::Vector<WebCore::PasteboardCustomData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WTF::String const&, WTF::CompletionHandler<void (long long)>&&))
        6   0x110e3790c IPC::MessageReceiverMap::dispatchSyncMessage(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_delete<IPC::Encoder> >&)
        7   0x111112a88 WebKit::WebProcessProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_delete<IPC::Encoder> >&)
        8   0x110e20420 IPC::Connection::dispatchSyncMessage(IPC::Decoder&)
        9   0x110e20825 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
        10  0x110e1ccb6 IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch()
        11  0x110e1cde8 IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&)
        12  0x10fbacf7a WTF::RunLoop::performWork()
        13  0x10fbad132 WTF::RunLoop::performWork(void*)
        14  0x119140c71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        15  0x119140b9c __CFRunLoopDoSource0
        16  0x119140374 __CFRunLoopDoSources0
        17  0x11913af6e __CFRunLoopRun
        18  0x11913a884 CFRunLoopRunSpecific
        19  0x118a00831 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        20  0x10f11ba03 TestWebKitAPI::Util::run(bool*)
        21  0x10eed34f0 -[DragAndDropSimulator runFrom:to:additionalItemRequestLocations:]
        22  0x10eef5614 TestWebKitAPI::DragAndDropTests_DataTransferSetDataValidURL_Test::TestBody()
        23  0x10f1d2189 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        24  0x10f1d20f2 testing::Test::Run()
        25  0x10f1d2a1f testing::TestInfo::Run()
        26  0x10f1d3037 testing::TestCase::Run()
        27  0x10f1daeb0 testing::internal::UnitTestImpl::RunAllTests()
        28  0x10f1daafd bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        29  0x10f1daa88 testing::UnitTest::Run()
        30  0x10f0fa3fe TestWebKitAPI::TestsController::run(int, char**)
        31  0x10f1b0362 main
        2020-04-04 19:39:09.124 TestWebKitAPI[67931:311616776] -[WebItemProviderPasteboard stageRegistrationLists:] - (
            "<WebItemProviderRegistrationInfoList: 0x7fb393616670>"
        )
        1   0x1149353c7 -[WebItemProviderPasteboard stageRegistrationLists:]
        2   0x113680e1b WebCore::registerItemsToPasteboard(NSArray<WebItemProviderRegistrationInfoList*>*, id<AbstractPasteboard>)
        3   0x11367f648 WebCore::PlatformPasteboard::write(WTF::String const&, WTF::String const&)
        4   0x11108423d WebKit::WebPasteboardProxy::writeStringToPasteboard(IPC::Connection&, WTF::String const&, WTF::String const&, WTF::String const&)
        5   0x1113ded5f WebKit::WebPasteboardProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        6   0x110e37880 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
        7   0x1111129e4 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        8   0x110e2082c IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
        9   0x110e1fe5b IPC::Connection::dispatchIncomingMessages()
        10  0x10fbacf7a WTF::RunLoop::performWork()
        11  0x10fbad132 WTF::RunLoop::performWork(void*)
        12  0x119140c71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        13  0x119140b9c __CFRunLoopDoSource0
        14  0x119140374 __CFRunLoopDoSources0
        15  0x11913af6e __CFRunLoopRun
        16  0x11913a884 CFRunLoopRunSpecific
        17  0x118a00831 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        18  0x10f11ba03 TestWebKitAPI::Util::run(bool*)
        19  0x10eed34f0 -[DragAndDropSimulator runFrom:to:additionalItemRequestLocations:]
        20  0x10eef5614 TestWebKitAPI::DragAndDropTests_DataTransferSetDataValidURL_Test::TestBody()
        21  0x10f1d2189 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        22  0x10f1d20f2 testing::Test::Run()
        23  0x10f1d2a1f testing::TestInfo::Run()
        24  0x10f1d3037 testing::TestCase::Run()
        25  0x10f1daeb0 testing::internal::UnitTestImpl::RunAllTests()
        26  0x10f1daafd bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        27  0x10f1daa88 testing::UnitTest::Run()
        28  0x10f0fa3fe TestWebKitAPI::TestsController::run(int, char**)
        29  0x10f1b0362 main
        30  0x11a02710d start
        2020-04-04 19:39:09.193 TestWebKitAPI[67931:311616776] Encountered error: Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.} while serializing JSON string.
        2020-04-04 19:39:09.193 TestWebKitAPI[67931:311616776] Expected JSON:  to match values: {
            dragover =     {
                "text/uri-list" = "";
            };
            drop =     {
                "text/uri-list" = "https://webkit.org/b/123";
            };
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200405/5103eaf4/attachment-0001.htm>


More information about the webkit-unassigned mailing list