RESOLVED FIXED248566
Rename request initiator and initiatorName to initiatorType
https://bugs.webkit.org/show_bug.cgi?id=248566
Summary Rename request initiator and initiatorName to initiatorType
Matthew Finkel
Reported 2022-11-30 15:43:21 PST
Currently we use both |initiator| and |initiatorName| for representing roughly the same idea of answering the question: "what triggered a resource request". These values are used internally and for supporting ResourceTiming. However, in the specs this idea is named |initiatorType| [0]. In an effort to be consistent internally, and reduce confusion with respect to the spec, I'd like to rename the current usage. This is also the first step in adding support for Fetch's |initiator| [1], which is another vague classification of a request, but it is different from |initiatorType|. [0] https://fetch.spec.whatwg.org/#request-initiator-type [1] https://fetch.spec.whatwg.org/#concept-request-initiator
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-30 15:43:34 PST
Matthew Finkel
Comment 2 2022-11-30 20:43:59 PST
EWS
Comment 3 2022-12-05 09:35:40 PST
Committed 257374@main (7d03a4356c05): <https://commits.webkit.org/257374@main> Reviewed commits have been landed. Closing PR #7007 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.