RESOLVED FIXED 186042
[Extra zoom mode] "Significant area painted" rendering progress event is rarely fired
https://bugs.webkit.org/show_bug.cgi?id=186042
Summary [Extra zoom mode] "Significant area painted" rendering progress event is rare...
Wenson Hsieh
Reported 2018-05-28 19:13:27 PDT
Attachments
Patch (17.08 KB, patch)
2018-05-28 19:31 PDT, Wenson Hsieh
no flags
Fix macOS build (17.19 KB, patch)
2018-05-28 20:39 PDT, Wenson Hsieh
thorton: review+
Patch for landing (16.75 KB, patch)
2018-05-29 07:21 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2018-05-28 19:31:24 PDT
Wenson Hsieh
Comment 2 2018-05-28 20:39:03 PDT
Created attachment 341467 [details] Fix macOS build
Tim Horton
Comment 3 2018-05-28 23:03:38 PDT
Comment on attachment 341467 [details] Fix macOS build View in context: https://bugs.webkit.org/attachment.cgi?id=341467&action=review > Source/WebCore/page/Page.cpp:1863 > + relevantViewRectWidth = std::min<float>(viewRect.width().toFloat(), relevantViewRectWidth); Likely we should consider doing this everywhere at some point. > Tools/TestWebKitAPI/Tests/ios/RenderingProgressTests.mm:58 > +@implementation RenderingProgressHandler { > + BlockPtr<void(_WKRenderingProgressEvents)> _handler; > +} If you use TestNavigationDelegate, you can get rid of this class entirely.
Wenson Hsieh
Comment 4 2018-05-29 07:18:13 PDT
Comment on attachment 341467 [details] Fix macOS build View in context: https://bugs.webkit.org/attachment.cgi?id=341467&action=review >> Source/WebCore/page/Page.cpp:1863 >> + relevantViewRectWidth = std::min<float>(viewRect.width().toFloat(), relevantViewRectWidth); > > Likely we should consider doing this everywhere at some point. Indeed. Filed https://bugs.webkit.org/show_bug.cgi?id=186051 (and added a FIXME). >> Tools/TestWebKitAPI/Tests/ios/RenderingProgressTests.mm:58 >> +} > > If you use TestNavigationDelegate, you can get rid of this class entirely. Good point!
Wenson Hsieh
Comment 5 2018-05-29 07:21:24 PDT
Created attachment 341486 [details] Patch for landing
WebKit Commit Bot
Comment 6 2018-05-29 08:00:15 PDT
Comment on attachment 341486 [details] Patch for landing Clearing flags on attachment: 341486 Committed r232256: <https://trac.webkit.org/changeset/232256>
Note You need to log in before you can comment on or make changes to this bug.