Bug 101544 - Web Inspector: Timeline: "Send Request" events are shown out of order.
Summary: Web Inspector: Timeline: "Send Request" events are shown out of order.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: eustas.bug
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 22:06 PST by eustas.bug
Modified: 2012-11-12 03:47 PST (History)
13 users (show)

See Also:


Attachments
Out-of-order records (55.32 KB, image/png)
2012-11-07 22:06 PST, eustas.bug
no flags Details
Patch (3.51 KB, patch)
2012-11-07 22:13 PST, eustas.bug
no flags Details | Formatted Diff | Diff
Patch (5.49 KB, patch)
2012-11-08 01:40 PST, eustas.bug
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eustas.bug 2012-11-07 22:06:53 PST
Created attachment 172932 [details]
Out-of-order records

Historically "Send Request" records are pushed out of order to make them top-level.

Nowadays frontend is responsible for changing parent of records.

Replacing backend out-of-order pushing with frontend reparenting makes record appear in-order.
Comment 1 eustas.bug 2012-11-07 22:13:46 PST
Created attachment 172933 [details]
Patch
Comment 2 Yury Semikhatsky 2012-11-07 23:17:23 PST
Comment on attachment 172933 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172933&action=review

> Source/WebCore/ChangeLog:8
> +        Solution: replace obsolete out-of-order record pushing with forntend

Can we test this in layout tests?
Comment 3 eustas.bug 2012-11-08 01:38:31 PST
Comment on attachment 172933 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172933&action=review

>> Source/WebCore/ChangeLog:8
>> +        Solution: replace obsolete out-of-order record pushing with forntend
> 
> Can we test this in layout tests?

Done
Comment 4 eustas.bug 2012-11-08 01:40:01 PST
Created attachment 172960 [details]
Patch
Comment 5 WebKit Review Bot 2012-11-08 09:05:54 PST
Comment on attachment 172960 [details]
Patch

Rejecting attachment 172960 [details] from commit-queue.

New failing tests:
fast/repaint/selection-after-delete.html
Full output: http://queues.webkit.org/results/14775142
Comment 6 WebKit Review Bot 2012-11-08 23:46:22 PST
Comment on attachment 172960 [details]
Patch

Clearing flags on attachment: 172960

Committed r134023: <http://trac.webkit.org/changeset/134023>
Comment 7 WebKit Review Bot 2012-11-08 23:46:25 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 János Badics 2012-11-09 01:07:52 PST
This modification caused a test (inspector/timeline/timeline-receive-response-event.html) fail on Qt with the following diff:

--- /ramdisk/qt-linux-64-release/build/layout-test-results/inspector/timeline/timeline-receive-response-event-expected.txt 
+++ /ramdisk/qt-linux-64-release/build/layout-test-results/inspector/timeline/timeline-receive-response-event-actual.txt 
@@ -1,10 +1,6 @@
 Tests the Timeline API instrumentation of a SendRequest, ReceiveResponse etc.
 
 FunctionCall
-ResourceSendRequest
-    ResourceReceiveResponse
-    ResourceReceivedData
-    ResourceFinish
 FunctionCall
 ResourceSendRequest
     ResourceReceiveResponse
@@ -12,6 +8,10 @@
     ResourceFinish
 EventDispatch
     FunctionCall
+ResourceSendRequest
+    ResourceReceiveResponse
+    ResourceReceivedData
+    ResourceFinish
 EventDispatch
     FunctionCall

I'm not sure if it's a correct result or not; is it a problem if this part of code is written at different line number?
Comment 9 Csaba Osztrogonác 2012-11-12 03:42:13 PST
Unfortunately we don't know what happens on other ports, because
this test is skipped on all ports because of different reason.
Comment 10 eustas.bug 2012-11-12 03:47:48 PST
(In reply to comment #9)
> Unfortunately we don't know what happens on other ports, because
> this test is skipped on all ports because of different reason.

I've fixed test:
https://bugs.webkit.org/show_bug.cgi?id=101737