WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
45782
Provide an IWebFramePrivate API to load string as plain text into the WebFrame
https://bugs.webkit.org/show_bug.cgi?id=45782
Summary
Provide an IWebFramePrivate API to load string as plain text into the WebFrame
Ada Chan
Reported
2010-09-14 14:03:12 PDT
Provide an IWebFramePrivate API to load string as plain text into the WebFrame. Currently IWebFrame has a loadData() method that takes in an IStream, and a loadHTMLString() method that takes in a string but only load it as HTML, but there's no API that will take in a string and load it as plain text. This new API, probably called IWebFramePrivate::loadPlainTextString() will do that.
Attachments
Patch
(2.87 KB, patch)
2010-09-14 14:08 PDT
,
Ada Chan
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ada Chan
Comment 1
2010-09-14 14:08:29 PDT
Created
attachment 67603
[details]
Patch
Adam Roben (:aroben)
Comment 2
2010-09-14 14:18:11 PDT
Comment on
attachment 67603
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=67603&action=prettypatch
r=me
> WebKit/win/Interfaces/IWebFramePrivate.idl:121 > + HRESULT loadPlainTextString([in] BSTR string, [in] BSTR url);
"loadStringAsPlainText" might be clearer, but I'm not sure.
Ada Chan
Comment 3
2010-09-14 14:21:29 PDT
The reason I named it loadPlainTextString is to be consistent with IWebFrame::loadHTMLString. Thanks for reviewing!
Ada Chan
Comment 4
2010-09-14 14:23:38 PDT
Fixed in
http://trac.webkit.org/changeset/67497
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug