RESOLVED FIXED 235179
Transmit network load metrics when service worker is using one of its network load to respond to FetchEvents
https://bugs.webkit.org/show_bug.cgi?id=235179
Summary Transmit network load metrics when service worker is using one of its network...
youenn fablet
Reported 2022-01-13 05:01:51 PST
Transmit network load metrics when service worker is using one of its network load to respond to FetchEvents
Attachments
Patch (40.05 KB, patch)
2022-01-13 05:06 PST, youenn fablet
no flags
Patch (42.07 KB, patch)
2022-01-13 11:08 PST, youenn fablet
no flags
Patch for landing (41.98 KB, patch)
2022-01-16 22:26 PST, youenn fablet
no flags
Patch for landing (42.64 KB, patch)
2022-01-16 22:27 PST, youenn fablet
ews-feeder: commit-queue-
youenn fablet
Comment 1 2022-01-13 05:06:01 PST
youenn fablet
Comment 2 2022-01-13 11:08:12 PST
Darin Adler
Comment 3 2022-01-14 10:24:08 PST
Comment on attachment 449086 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=449086&action=review Assuming there is no performance problem with this additional IPC > Source/WebCore/Modules/fetch/FetchResponse.h:123 > + void setNetworkLoadMetrics(const NetworkLoadMetrics& networkLoadMetrics) { m_networkLoadMetrics = networkLoadMetrics; } Would have named the argument just metrics. > Source/WebCore/loader/WorkerThreadableLoader.cpp:243 > +void WorkerThreadableLoader::MainThreadBridge::didFinishLoading(ResourceLoaderIdentifier identifier, const NetworkLoadMetrics& networkLoadMetrics) Here too.
youenn fablet
Comment 4 2022-01-16 22:26:35 PST
Created attachment 449306 [details] Patch for landing
youenn fablet
Comment 5 2022-01-16 22:27:47 PST
Created attachment 449307 [details] Patch for landing
EWS
Comment 6 2022-01-17 00:05:40 PST
Committed r288088 (246102@main): <https://commits.webkit.org/246102@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449307 [details].
Radar WebKit Bug Importer
Comment 7 2022-01-17 00:06:20 PST
Note You need to log in before you can comment on or make changes to this bug.