d230ad72a7
https://bugs.webkit.org/show_bug.cgi?id=226629 Reviewed by Brady Eidson. LayoutTests/imported/w3c: * web-platform-tests/navigation-timing/nav2_test_attributes_exist-expected.txt: * web-platform-tests/navigation-timing/nav2_test_attributes_values-expected.txt: * web-platform-tests/navigation-timing/secure_connection_start_non_zero.https-expected.txt: * web-platform-tests/navigation-timing/test_document_onload-expected.txt: * web-platform-tests/resource-timing/TAO-case-insensitive-null-opaque-origin.sub-expected.txt: * web-platform-tests/resource-timing/TAO-crossorigin-port.sub-expected.txt: * web-platform-tests/resource-timing/TAO-null-opaque-origin.sub-expected.txt: This apparent regression is actually just uncovering an existing failure. The test expects the sum of many values to not be equal to zero. It used to be adding undefined to many 0 values, which returned undefined, which is not equal to zero. Now it's adding 0's and getting 0 which correctly indicates that we are not exposing timing values where we should. * web-platform-tests/resource-timing/cors-preflight.any-expected.txt: * web-platform-tests/resource-timing/cors-preflight.any.worker-expected.txt: * web-platform-tests/resource-timing/idlharness.any-expected.txt: * web-platform-tests/resource-timing/idlharness.any.worker-expected.txt: * web-platform-tests/resource-timing/resource-timing-level1.sub-expected.txt: * web-platform-tests/resource-timing/resource_connection_reuse-expected.txt: * web-platform-tests/resource-timing/resource_connection_reuse.https-expected.txt: * web-platform-tests/resource-timing/single-entry-per-resource-expected.txt: * web-platform-tests/resource-timing/test_resource_timing.https-expected.txt: * web-platform-tests/service-workers/service-worker/resource-timing-cross-origin.https-expected.txt: Source/WebCore: The tests for TAO are entangled with the tests for these properties. Having an implementation helps see what is still broken. Covered by web platform tests. * page/PerformanceResourceTiming.cpp: (WebCore::PerformanceResourceTiming::transferSize const): (WebCore::PerformanceResourceTiming::encodedBodySize const): (WebCore::PerformanceResourceTiming::decodedBodySize const): * page/PerformanceResourceTiming.h: * page/PerformanceResourceTiming.idl: Source/WebKit: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * performance-api/resource-timing-apis-expected.txt: * platform/mac/imported/w3c/web-platform-tests/resource-timing/test_resource_timing-expected.txt: Removed. Canonical link: https://commits.webkit.org/238495@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278477 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
paint-timing | ||
resources | ||
performance-mark-name-expected.txt | ||
performance-mark-name.html | ||
performance-measure-name-expected.txt | ||
performance-measure-name.html | ||
performance-now-api-expected.txt | ||
performance-now-api.html | ||
performance-now-time-origin-in-worker-expected.txt | ||
performance-now-time-origin-in-worker.html | ||
performance-observer-api-expected.txt | ||
performance-observer-api.html | ||
performance-observer-basic-expected.txt | ||
performance-observer-basic.html | ||
performance-observer-callback-after-gc-expected.txt | ||
performance-observer-callback-after-gc.html | ||
performance-observer-callback-mutate-expected.txt | ||
performance-observer-callback-mutate.html | ||
performance-observer-callback-task-expected.txt | ||
performance-observer-callback-task.html | ||
performance-observer-entry-sort-expected.txt | ||
performance-observer-entry-sort.html | ||
performance-observer-exception-expected.txt | ||
performance-observer-exception.html | ||
performance-observer-nested-expected.txt | ||
performance-observer-nested.html | ||
performance-observer-no-document-leak-expected.txt | ||
performance-observer-no-document-leak.html | ||
performance-observer-order-expected.txt | ||
performance-observer-order.html | ||
performance-observer-periodic-expected.txt | ||
performance-observer-periodic.html | ||
performance-timeline-api-expected.txt | ||
performance-timeline-api.html | ||
performance-timeline-serializers-expected.txt | ||
performance-timeline-serializers.html | ||
resource-timing-apis-expected.txt | ||
resource-timing-apis.html | ||
user-timing-apis-expected.txt | ||
user-timing-apis.html |