<rdar://problem/31431450>
Created attachment 306636 [details] Patch
Comment on attachment 306636 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306636&action=review Very cool. > Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm:374 > + EXPECT_LT([NSDate timeIntervalSinceReferenceDate] - startTime, 1); Did this actually fail before? I thought the timeout was 500ms. Also I hope this isn't flaky on contended bots... we'll see.
Thanks! (In reply to Tim Horton from comment #2) > Comment on attachment 306636 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=306636&action=review > > Very cool. > > > Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm:374 > > + EXPECT_LT([NSDate timeIntervalSinceReferenceDate] - startTime, 1); > > Did this actually fail before? I thought the timeout was 500ms. Also I hope > this isn't flaky on contended bots... we'll see. Oh, interesting -- when I ran it locally before my change, I got 1s (+2ms or so), so I set it to this value as the threshold. I don't think this will be flaky, since very little work is now done when preparing for data interaction, but if many other tests are running simultaneously and this isn't getting any execution time, another better way to test this might be to add hooks in the web view configs to disable the responsiveness timer altogether before beginning to spin the WP, forcing this test to time out if it does make a sync request to the web process. I'll see how well the bots cope with this, and introduce some testing SPI with the above approach if I see any failures.
Created attachment 306648 [details] Try to fix OpenSource iOS build
Created attachment 306658 [details] Patch for landing
Comment on attachment 306658 [details] Patch for landing Clearing flags on attachment: 306658 Committed r215171: <http://trac.webkit.org/changeset/215171>
Created attachment 306740 [details] Additional tweaks to the test
Created attachment 306743 [details] Patch for landing
Comment on attachment 306743 [details] Patch for landing Clearing flags on attachment: 306743 Committed r215207: <http://trac.webkit.org/changeset/215207>