RESOLVED FIXED Bug 161068
Update the Resource Timing implementation
https://bugs.webkit.org/show_bug.cgi?id=161068
Summary Update the Resource Timing implementation
Johan K. Jensen
Reported 2016-08-22 19:24:55 PDT
Update the Resource timing implementation for better compatibility with the spec.
Attachments
Patch (87.56 KB, patch)
2016-08-23 10:10 PDT, Johan K. Jensen
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1.07 MB, application/zip)
2016-08-23 10:47 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-yosemite (1.63 MB, application/zip)
2016-08-23 11:11 PDT, Build Bot
no flags
Patch (87.48 KB, patch)
2016-08-23 12:38 PDT, Johan K. Jensen
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1.06 MB, application/zip)
2016-08-23 13:20 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-yosemite (1.46 MB, application/zip)
2016-08-23 13:25 PDT, Build Bot
no flags
Archive of layout-test-results from ews101 for mac-yosemite (919.74 KB, application/zip)
2016-08-23 14:09 PDT, Build Bot
no flags
Patch (87.48 KB, patch)
2016-08-23 14:25 PDT, Johan K. Jensen
no flags
Archive of layout-test-results from ews102 for mac-yosemite (1.45 MB, application/zip)
2016-08-23 15:06 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-yosemite-wk2 (1.06 MB, application/zip)
2016-08-23 15:24 PDT, Build Bot
no flags
Patch (89.10 KB, patch)
2016-08-24 16:11 PDT, Johan K. Jensen
no flags
Patch (89.08 KB, patch)
2016-08-24 16:32 PDT, Johan K. Jensen
no flags
Archive of layout-test-results from ews114 for mac-yosemite (1.47 MB, application/zip)
2016-08-24 17:19 PDT, Build Bot
no flags
Git removed some whitespace in the test expectation for one of the Resource Timing tests. (89.12 KB, patch)
2016-08-24 17:27 PDT, Johan K. Jensen
achristensen: review+
buildbot: commit-queue-
Archive of layout-test-results from ews101 for mac-yosemite (1001.92 KB, application/zip)
2016-08-24 18:14 PDT, Build Bot
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1.23 MB, application/zip)
2016-08-24 18:36 PDT, Build Bot
no flags
Johan K. Jensen
Comment 1 2016-08-23 10:10:13 PDT
Build Bot
Comment 2 2016-08-23 10:47:45 PDT
Comment on attachment 286725 [details] Patch Attachment 286725 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1928565 New failing tests: imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 3 2016-08-23 10:47:48 PDT
Created attachment 286732 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Chris Dumez
Comment 4 2016-08-23 10:51:08 PDT
Comment on attachment 286725 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286725&action=review > Source/WebCore/loader/LoadTiming.cpp:54 > + , m_cached(false) As per coding style, this needs a prefix. E.g. m_isCached or m_wasCached.
Build Bot
Comment 5 2016-08-23 11:11:21 PDT
Comment on attachment 286725 [details] Patch Attachment 286725 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1928635 New failing tests: fast/animation/request-animation-frame-detach-element.html fast/animation/request-animation-frame-detach-element2.html fast/animation/request-animation-frame-remove-client.html
Build Bot
Comment 6 2016-08-23 11:11:26 PDT
Created attachment 286742 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Johan K. Jensen
Comment 7 2016-08-23 12:38:29 PDT
Build Bot
Comment 8 2016-08-23 13:20:26 PDT
Comment on attachment 286757 [details] Patch Attachment 286757 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1929424 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 9 2016-08-23 13:20:30 PDT
Created attachment 286762 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 10 2016-08-23 13:25:56 PDT
Comment on attachment 286757 [details] Patch Attachment 286757 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1929432 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm
Build Bot
Comment 11 2016-08-23 13:25:59 PDT
Created attachment 286765 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 12 2016-08-23 14:09:50 PDT
Comment on attachment 286757 [details] Patch Attachment 286757 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1929772 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 13 2016-08-23 14:09:54 PDT
Created attachment 286771 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Johan K. Jensen
Comment 14 2016-08-23 14:25:03 PDT
Build Bot
Comment 15 2016-08-23 15:06:40 PDT
Comment on attachment 286776 [details] Patch Attachment 286776 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1930142 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 16 2016-08-23 15:06:45 PDT
Created attachment 286785 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 17 2016-08-23 15:23:48 PDT
Comment on attachment 286776 [details] Patch Attachment 286776 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1930239 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 18 2016-08-23 15:24:00 PDT
Created attachment 286790 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Alex Christensen
Comment 19 2016-08-23 15:44:35 PDT
Comment on attachment 286776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286776&action=review > Source/WebCore/loader/LoadTiming.cpp:54 > + , m_isCached(false) These should be in the header. m_isCached { false }; > Source/WebCore/loader/ResourceLoader.h:144 > + LoadTiming& loadTiming() { return m_loadTiming; } Can this be const? > Source/WebCore/loader/SubresourceLoader.cpp:463 > + finishTime = monotonicallyIncreasingTime(); We should probably report this time in didFail, too. Or at least something interesting. Also, finishTime is a double that is a parameter coming from somewhere. It might already have the current time. // FIXME: ... UNUSED_PARAM(finishTime); double realFinishTime = ... Same in InspectorNetworkAgent::didFinishLoading > Source/WebCore/page/PerformanceResourceTiming.cpp:173 > + if (m_loadTiming.isCached()) > + return connectStart(); These seem suspicious. I think this is covering up a problem.
Johan K. Jensen
Comment 20 2016-08-24 16:11:08 PDT
Johan K. Jensen
Comment 21 2016-08-24 16:32:29 PDT
Build Bot
Comment 22 2016-08-24 17:19:42 PDT
Comment on attachment 286906 [details] Patch Attachment 286906 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1936689 New failing tests: imported/w3c/web-platform-tests/resource-timing/test_resource_timing.html
Build Bot
Comment 23 2016-08-24 17:19:46 PDT
Created attachment 286915 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Johan K. Jensen
Comment 24 2016-08-24 17:27:52 PDT
Created attachment 286919 [details] Git removed some whitespace in the test expectation for one of the Resource Timing tests.
Build Bot
Comment 25 2016-08-24 18:14:21 PDT
Comment on attachment 286919 [details] Git removed some whitespace in the test expectation for one of the Resource Timing tests. Attachment 286919 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1936952 New failing tests: imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 26 2016-08-24 18:14:25 PDT
Created attachment 286924 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 27 2016-08-24 18:36:50 PDT
Comment on attachment 286919 [details] Git removed some whitespace in the test expectation for one of the Resource Timing tests. Attachment 286919 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1937048 New failing tests: imported/w3c/web-platform-tests/html/dom/interfaces.html
Build Bot
Comment 28 2016-08-24 18:36:54 PDT
Created attachment 286928 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Alex Christensen
Comment 29 2016-08-25 11:24:29 PDT
Note You need to log in before you can comment on or make changes to this bug.