[Webkit-unassigned] [Bug 92104] New: Web Inspector: [Regression] Filler row disappears from network log view.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 24 05:47:32 PDT 2012


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

           Summary: Web Inspector: [Regression] Filler row disappears from
                    network log view.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vsevik at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    rniwa at webkit.org, bweinstein at apple.com,
                    apavlov at chromium.org, loislo at chromium.org


This happens because http://trac.webkit.org/changeset/123281 broke table's childNodes implementation.

Here is a reduction:

// Initialize table
table = document.createElement("table");
for (var i = 0; i<3;++i) {
    tr = document.createElement("tr");
    td = document.createElement("td");
    tr.appendChild(td);
    table.appendChild(tr);
}

// lastElement value is incorrect (td instead of tr).
lastElement = table.childNodes[table.childNodes.length - 1];
// This code fixes the bug.
for (var i = 0; i<table.childNodes.length;++i)
    var tmp = table.childNodes[i];
// lastElement2 value is correct.
lastElement2 = table.childNodes[table.childNodes.length - 1];
console.log(lastElement.tagName);
console.log(lastElement2.tagName);
console.assert(lastElement === lastElement2); // <-- this assertion fails.

-- 
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