-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
service worker: Update WPT test for resource timing
Before this CL, the test assumed that there should be a PerformanceResourceTiming for fetching 'resources/missing.jpg'. As the spec says [1], this assumption is not guaranteed. In fact, Chromium doesn't add PerformanceResourceTiming for resouces which failed to load. This CL updates the test to check there is a corresponding PerformanceResourceTiming entry before doing verifications. [1] https://w3c.github.io/resource-timing/#resources-included-in-the-performanceresourcetiming-interface Bug: 782958 Change-Id: I85e75a8dade9f6620d22a54eaf97468f00360023 Reviewed-on: https://chromium-review.googlesource.com/930109 Reviewed-by: Matt Falkenhagen <falken@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#538648}
- Loading branch information
1 parent
7bfbc0f
commit 30c0131
Showing
2 changed files
with
71 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters