UNCONFIRMED 85509
Add htmlSource() in PagePopupClient
https://bugs.webkit.org/show_bug.cgi?id=85509
Summary Add htmlSource() in PagePopupClient
Crystal Zhang
Reported 2012-05-03 09:54:49 PDT
For different kind of popup client, it needs to load different html source.
Attachments
patch (1.58 KB, patch)
2012-05-03 10:07 PDT, Crystal Zhang
webkit.review.bot: commit-queue-
updated patch, fix buid bug. (1.59 KB, patch)
2012-05-03 10:36 PDT, Crystal Zhang
tkent: review-
Crystal Zhang
Comment 1 2012-05-03 10:07:34 PDT
Created attachment 140040 [details] patch patch
WebKit Review Bot
Comment 2 2012-05-03 10:27:39 PDT
Comment on attachment 140040 [details] patch Attachment 140040 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12620160
Crystal Zhang
Comment 3 2012-05-03 10:36:46 PDT
Created attachment 140044 [details] updated patch, fix buid bug.
Alexey Proskuryakov
Comment 4 2012-05-03 16:02:32 PDT
> // This is called when load the content HTML Is this the best description? It's unclear how this is supposed to be used, and in particular limiting to HTML seems surprising (where will CSS go?)
Crystal Zhang
Comment 5 2012-05-03 16:13:17 PDT
The htmlsource string is the final sour(In reply to comment #4) > > // This is called when load the content HTML > > Is this the best description? It's unclear how this is supposed to be used, and in particular limiting to HTML seems surprising (where will CSS go?) The html source string is the final string that generated after include/load all the css, js files. It represents the whole HTML page.
Kent Tamura
Comment 6 2012-05-03 17:23:51 PDT
Comment on attachment 140044 [details] updated patch, fix buid bug. View in context: https://bugs.webkit.org/attachment.cgi?id=140044&action=review > Source/WebCore/page/PagePopupClient.h:63 > + // This is called when load the content HTML > + virtual String htmlSource() { return String(); } Why do we need this though we already have writeDocument(DocumentWriter&)? Which should a PagePopupClient implementation provide? Which should a PagePopup implementation call? ChangeLog should have such information.
Note You need to log in before you can comment on or make changes to this bug.