Add getResourcePriority to WorkerInternals
This CL adds the getResourcePriority method to the WorkerInternals interface via the partial interface defined in core/fetch. This will help testing resource priorities fetched from worker contexts (i.e., Service Workers). Before this CL, getResourcePriority was only exposed on Internals, and thus all ResourceFetchers associated with WorkerGlobalScopes could not be queried. R=kinuko@chromium.org, yhirano@chromium.org, yoav@yoav.ws Bug: 872776 Change-Id: I010b95441c191cf90dfda7b0d5f58c7e7d6c7c21 Reviewed-on: https://chromium-review.googlesource.com/1249882Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Dominic Farolino <domfarolino@gmail.com> Cr-Commit-Position: refs/heads/master@{#595091}
Showing
Please register or sign in to comment