[wpt-sync] Sync PR 38418 - [soft navigations] Add PerfObserver option for softnav triggered entries
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox112 fixed)
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38418 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38418
Details from upstream follow.
Yoav Weiss <yoavweiss@chromium.org> wrote:
[soft navigations] Add PerfObserver option for softnav triggered entries
FP, FCP and LCP entries that are triggered by soft navigations could
confuse existing RUM scripts that may not be aware of them.
This CL adds and opt-in option to only report these entries when the
observer explicitly asks for them.Bug: 14113691
Change-Id: I6809973b88ed987f6ca08fbb9546d4a8f654c3fcReviewed-on: https://chromium-review.googlesource.com/4230572
WPT-Export-Revision: 8b22291950b48bd2c0473414e9c2c8adb5d099a9
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 25 tests and 1 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
FAIL
: 1
TIMEOUT
: 39
ERROR
: 5
Chrome
OK
: 25
PASS
: 4
FAIL
: 21
Safari
TIMEOUT
: 41
ERROR
: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /soft-navigation-heuristics/back.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/dropped-entries.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/hash.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect hashchange event.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect hashchange event.:
- /soft-navigation-heuristics/image-lcp-followed-by-image-softnav-lcp.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/image-lcp-followed-by-text-softnav-lcp.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/image-lcp-followed-by-two-image-softnavs-lcp.tentative.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Multiple soft navigations get FP, FCP and LCP for each one:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
- Multiple soft navigations get FP, FCP and LCP for each one:
- /soft-navigation-heuristics/multiple-paint-entries-buffered.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect multiple soft navigations and ensure they buffer paint entries.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect multiple soft navigations and ensure they buffer paint entries.:
- /soft-navigation-heuristics/navigate-child.html [wpt.fyi]
- Test that a navigated child window doesn't crash:
FAIL
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
,GitHub
],PASS
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome:PASS
, Safari:TIMEOUT
)
- Test that a navigated child window doesn't crash:
- /soft-navigation-heuristics/navigation-api-back.tentative.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /soft-navigation-heuristics/navigation-api-forward.tentative.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /soft-navigation-heuristics/navigation-api-hash.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Test soft navigation with the Navigation API:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Test soft navigation with the Navigation API:
- /soft-navigation-heuristics/navigation-api-preventDefault.tentative.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /soft-navigation-heuristics/navigation-api-rejected.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Test intercepted and rejected navigate event:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Test intercepted and rejected navigate event:
- /soft-navigation-heuristics/navigation-api-traverseto.tentative.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /soft-navigation-heuristics/navigation-api.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Test soft navigation with the Navigation API:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Test soft navigation with the Navigation API:
- /soft-navigation-heuristics/popstate.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- A soft navigation that uses a same-document initiated popstate event is recognized by SoftNavigationHeuristics:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- A soft navigation that uses a same-document initiated popstate event is recognized by SoftNavigationHeuristics:
- /soft-navigation-heuristics/replacestate-null-then-push.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect soft navigation with replaceState that has a null URL, then
pushState with the URL.:TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect soft navigation with replaceState that has a null URL, then
- /soft-navigation-heuristics/replacestate.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect soft navigation with replaceState.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect soft navigation with replaceState.:
- /soft-navigation-heuristics/soft-navigation-detection-main-descendent.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect soft navigation adding content to a main descendent.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect soft navigation adding content to a main descendent.:
- /soft-navigation-heuristics/soft-navigation-detection-non-main.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/soft-navigation-detection-web-component-lifecycle.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/soft-navigation-detection.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/soft-navigation-no-url.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Test that a soft navigation is not detected when a URL is not passed to the history API.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
- Test that a soft navigation is not detected when a URL is not passed to the history API.:
- /soft-navigation-heuristics/text-lcp-followed-by-image-softnav-lcp.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
- /soft-navigation-heuristics/text-lcp-followed-by-text-softnav-lcp.tentative.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Detect simple soft navigation.:
TIMEOUT
(Chrome:FAIL
, Safari:TIMEOUT
)
- Detect simple soft navigation.:
Comment 4•2 years ago
|
||
bugherder |
Description
•