RESOLVED FIXED95459
Web Inspector: sort object properties when dumping them in tests
https://bugs.webkit.org/show_bug.cgi?id=95459
Summary Web Inspector: sort object properties when dumping them in tests
Pavel Feldman
Reported 2012-08-30 08:26:18 PDT
Otherwise tests might become flaky.
Attachments
Patch (105.85 KB, patch)
2012-08-30 08:53 PDT, Pavel Feldman
vsevik: review+
Pavel Feldman
Comment 1 2012-08-30 08:53:09 PDT
Pavel Feldman
Comment 2 2012-08-30 08:58:30 PDT
Jessie Berlin
Comment 3 2012-08-30 17:40:11 PDT
This caused the inspector/timeline/timeline-paint.html test to start failing on the Mac bots: http://build.webkit.org/results/Apple%20Lion%20Debug%20WK1%20(Tests)/r127149%20(2381)/inspector/timeline/timeline-paint-pretty-diff.html I think the checked in value of timeline-paint is wrong because, sorting by property name, the mac results are correct. --- /Volumes/Data/slave/lion-debug-tests-wk1/build/layout-test-results/inspector/timeline/timeline-paint-expected.txt +++ /Volumes/Data/slave/lion-debug-tests-wk1/build/layout-test-results/inspector/timeline/timeline-paint-actual.txt @@ -5,15 +5,15 @@ children : <object> counters : <object> data : { + height : <number> + width : <number> x : 0 y : 0 - width : <number> - height : <number> } endTime : <number> frameId : <string> + stackTrace : <object> startTime : <number> - stackTrace : <object> totalHeapSize : <number> type : "Paint" usedHeapSize : <number> Unless I hear otherwise, I am going to make that change to the timeline-paint expected results.
Jessie Berlin
Comment 4 2012-08-31 09:03:32 PDT
Looks like Pavel Feldman fixed half of the results in http://trac.webkit.org/changeset/127164. I fixed the other half in http://trac.webkit.org/changeset/127271.
Note You need to log in before you can comment on or make changes to this bug.