summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js')
-rw-r--r--testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js b/testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js
index 826b0ccb2b..ba9a4c0342 100644
--- a/testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js
+++ b/testing/web-platform/tests/performance-timeline/not-restored-reasons/test-helper.js
@@ -27,9 +27,9 @@ function assertReasonsStructEquals(
} else {
for (let j = 0; j < children.length; j++) {
assertReasonsStructEquals(
- result.children[0], children[0].url,
- children[0].src, children[0].id, children[0].name, children[0].reasons,
- children[0].children);
+ result.children[j], children[j].url,
+ children[j].src, children[j].id, children[j].name, children[j].reasons,
+ children[j].children);
}
}
}