Re: innerHTML and removeChild ... not freeing memory
2009-04-01 05:42:26 GMT
Hi Puroshatam ,
Ensure that cache is enabled . m_disabled(false) (WebCore/loader/Cache.cpp
) and let us know your observation.
Regards,
Siddu
Purushottam Sholapur wrote:
>
> Hi all,
>
> I am using QT/Webkit-4.5 (embeded version) on linux. I am trying to use
> createElement, innerHTML, appendChild and later removeChild.
>
> UI Output is perfectly fine. But when I do removeChild, div momory is not
> freed. Is there anything wrong with the code. Since the div contains
> image,
> lot of memory is hogged and not freed.
>
> ------------Below is the code...
> Click on "Add Some Elements" to add the div to innerHTML
> Click on "Remove the div" to remove the div
> ------------
> <html>
> <head>
> <title>Test script</title>
> <script language="javascript">
> function removeElement(divNum) {
(Continue reading)
However, in my example, I have
previously tried the following,
<source src="/media/audio/m4a/9001_10000/9807.m4a" type= "audio/mp4;
codecs="mp4a.40.2""/>
Using this, Safari stops playing the audio. It works without any type
attribute, but that feels wrong. I'm wondering if my attempts so far
have been using an incorrect mime-type, or/and a wrong codec
RSS Feed