Consolidate navigation-timing tests into web-platform-tests #8392
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
LayoutTests/http/tests/w3c/webperf/approved/navigation-timing/ and
LayoutTests/external/wpt/navigation-timing/ have the same origin but
have diverged slightly over time.
https://chromium-review.googlesource.com/c/chromium/src/+/782419 shows
what the interesting differences between the two copies were.
metadata_cache in most of the tests were removed when the tests were
initially added to web-platform-tests:
#181
idlharness.html: It's OK to no longer test an instance of Window,
that's being done in the hr-time test:
#8388
test_timing_xserver_redirect.html: The bits around pageOrigin were
removed in 234a672.
That assert was still failing in our own tests, but removing it is OK,
using location.hostname is wrong as it doesn't include the port:
https://html.spec.whatwg.org/multipage/links.html#dom-hyperlink-hostname
Change-Id: Ic5c4151a3e309fee1894c72cd14d159bd314be20
Reviewed-on: https://chromium-review.googlesource.com/781684
Commit-Queue: Philip Jägenstedt foolip@chromium.org
Reviewed-by: Takeshi Yoshino tyoshino@chromium.org
Cr-Commit-Position: refs/heads/master@{#518626}