Bug 92104

Summary: Web Inspector: [Regression] Filler row disappears from network log view.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, dglazkov, joepeck, keishi, loislo, ojan, pfeldman, pmuellr, rik, rniwa, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Vsevolod Vlasov
Reported 2012-07-24 05:47:36 PDT
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.
Attachments
Ryosuke Niwa
Comment 1 2012-07-24 10:20:32 PDT
Does this bug reproduce after http://trac.webkit.org/changeset/123359 ?
Dimitri Glazkov (Google)
Comment 2 2012-07-24 10:30:52 PDT
(In reply to comment #1) > Does this bug reproduce after http://trac.webkit.org/changeset/123359 ? There was widespread breakage of internal tools at Google after http://trac.webkit.org/changeset/123281, but http://trac.webkit.org/changeset/123359 seems to have fixed them all.
Vsevolod Vlasov
Comment 3 2012-07-24 11:04:14 PDT
Indeed, it doesn't reproduce on ToT.
Note You need to log in before you can comment on or make changes to this bug.