Bug 1769564 [wpt PR 34073] - Add navigation_id to all types of performance entries...
commit2869b4b48d276165d65259c3cc91379ea03cc35c
authorhaoliuk@google.com <haoliuk@google.com>
Fri, 10 Jun 2022 09:50:09 +0000 (10 09:50 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 13 Jun 2022 10:02:36 +0000 (13 10:02 +0000)
tree1f133c9efc64695ff3920893d23219251a1c3b2d
parentbbd1eaa7c187f50a08c7f317f06ddd31f8b74482
Bug 1769564 [wpt PR 34073] - Add navigation_id to all types of performance entries., a=testonly

Automatic update from web-platform-tests
Add navigation_id to all types of performance entries.

Add navigation_id field to all performance entries. The navigation_id starts from 1 and increments whenever there is a back/forward cache navigation. This way, its value represents different sessions in the navigation history.

Bug: I15d9396303e868aa5850b86aa4cc624f15d55f7e
Change-Id: I99652c42a166916294c1c9994ac2161534cdcf52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3599609
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1011846}

--

wpt-commits: f399d7b775fade572b2e99cff3ef181b805893aa
wpt-pr: 34073
testing/web-platform/tests/lint.ignore
testing/web-platform/tests/performance-timeline/navigation-id-detached-frame.tentative.html [new file with mode: 0644]
testing/web-platform/tests/performance-timeline/navigation-id-element-timing.tentative.html [copied from testing/web-platform/tests/performance-timeline/navigation-id.tentative.html with 80% similarity]
testing/web-platform/tests/performance-timeline/navigation-id-long-task-task-attribution.tentative.html [copied from testing/web-platform/tests/performance-timeline/navigation-id.tentative.html with 76% similarity]
testing/web-platform/tests/performance-timeline/navigation-id-mark-measure.tentative.html [copied from testing/web-platform/tests/performance-timeline/navigation-id.tentative.html with 80% similarity]
testing/web-platform/tests/performance-timeline/navigation-id-resource-timing.tentative.html [moved from testing/web-platform/tests/performance-timeline/navigation-id.tentative.html with 79% similarity]
testing/web-platform/tests/performance-timeline/navigation-id.helper.js
testing/web-platform/tests/performance-timeline/resources/json_resource.json [new file with mode: 0644]
testing/web-platform/tests/performance-timeline/resources/make_long_task.js [new file with mode: 0644]
testing/web-platform/tests/performance-timeline/resources/navigation-id-detached-frame-page.html [new file with mode: 0644]