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
<rdar://problem/102832673>
Pull request: https://github.com/webkit/WebKit/pull/7007
Committed 257374@main (7d03a4356c05): <https://commits.webkit.org/257374@main> Reviewed commits have been landed. Closing PR #7007 and removing active labels.