<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>29876</bug_id>
          
          <creation_ts>2009-09-29 07:55:48 -0700</creation_ts>
          <short_desc>[Qt] Add QWebFrame::setHtml(QIODevice *) overload</short_desc>
          <delta_ts>2009-11-25 01:28:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>31115</dependson>
    
    <dependson>31552</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>jedrzej.nowacki</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>150910</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-29 07:55:48 -0700</bug_when>
    <thetext>This bug report originated from issue QTBUG-2911
http://bugreports.qt.nokia.com/browse/QTBUG-2911

--- Description ---

Currently QWebFrame has a setHtml(QString), but an overload for QIODevice would be cool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166116</commentid>
    <comment_count>1</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2009-11-24 09:11:55 -0800</bug_when>
    <thetext>This is change for 4.7.

What is the use case? For a small file it is definitely better to use the QString and the setContent(), for a big file the load(QUrl) method should be enough.

The only use case I found is when a page is created on the runtime and it is big. So big that it is worth to stream it. Am I right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166379</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-25 01:28:08 -0800</bug_when>
    <thetext>I agree with Jędrzej. setHtml() is a synchronous API that exists for convenience.

It is not suited for streaming (one potential use-case for QIODevice)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>