Bug 169294 - Make contentsAsString available in Web Process in Objective C
Summary: Make contentsAsString available in Web Process in Objective C
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-07 11:05 PST by Jason Rinn
Modified: 2017-03-16 15:59 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.42 KB, patch)
2017-03-07 11:34 PST, Jason Rinn
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rinn 2017-03-07 11:05:21 PST
Make contentsAsString available in Web Process in Objective C
Comment 1 Jason Rinn 2017-03-07 11:34:31 PST
Created attachment 303688 [details]
Patch
Comment 2 Tim Horton 2017-03-07 11:49:27 PST
Comment on attachment 303688 [details]
Patch

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

> Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h:52
> +@property (nonatomic, readonly) NSString *_contentsAsString;

Need some availability macros. Also, I have no idea if this is the right place to add things (maybe?), cc'd Dan/Anders.
Comment 3 mitz 2017-03-08 00:12:14 PST
I see that this is needed for Apple’s <rdar://problem/29448153&30124824>, but I would like to understand the motivation for this better, as there may be better ways to address the needs.
Comment 4 Radar WebKit Bug Importer 2017-03-11 13:35:03 PST
<rdar://problem/30994790>