[Webkit-unassigned] [Bug 52561] New: innerHTML property setting issue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 17 01:55:40 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52561

           Summary: innerHTML property setting issue
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://www.extractwidget.com/mindex2bug.php
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P1
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: avitte at infonais.fr


We have noticed this problem with webkit since a long time, now we report it.

It happens on all platform and causes the browser to slow down more and more, and sometimes to block it on mobile devices for example.

The issue is that when you perform several test.innerHTML=xxx one after another, the more you do it, the more the time increases for the browser to do it, up to 40s, 50s , 60s etc just to set this simple property.

It cane be seen easily on : www.extractwidget.com/mindex2bug.php

Just enter "parquet castorama", then OK

The purpose of the interface is to retrieve interesting gadgets from the url matching the keywords "parquet castorama"

Each time the interface will ask for a gadget to the server, you will see an alert "retrieve"

Then you will see an alert "0" before the innerHTML, then alert "1" after

The code in api/ewbug.js is just simply :

alert("0");

var tmp2=$$('DIV');
tmp2.$s.width=w_w[1]+'px';
tmp2.$s.height=w_w[2]+'px';
tmp2.innerHTML=boi;
if (w_w[4]!='') {tmp2.$s.overflow='hidden';};
tmp2.$s.background='white';
tmp.$a(tmp2);

alert("1");

You will see that after the 4th or 5th "retrieve" the time between "0" and "1" does increase extraordinarly, and this continues to increase and increase

Looks like a memory leak or something like that

It does not happen on non webkit browsers

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list