[Webkit-unassigned] [Bug 207352] Add a variant of -[WKWebViewPrivate _getContentsAsStringWithCompletionHandler:] that includes contents from subframes.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 11 12:25:58 PST 2020


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

--- Comment #39 from Darin Adler <darin at apple.com> ---
Comment on attachment 390320
  --> https://bugs.webkit.org/attachment.cgi?id=390320
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390320&action=review

> Source/WebKit/WebProcess/WebPage/WebPage.cpp:3464
> +                if (!builder.isEmpty()) {
> +                    builder.append('\n');
> +                    builder.append('\n');
> +                }

Someone could come back here and tweak this. It’s slightly more efficient like this:

    if (!builder.isEmpty())
        builder.appendLiteral("\n\n");

-- 
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/20200211/021c14be/attachment.htm>


More information about the webkit-unassigned mailing list