Bug 248566
| Summary: | Rename request initiator and initiatorName to initiatorType | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthew Finkel <m_finkel> |
| Component: | New Bugs | Assignee: | Matthew Finkel <m_finkel> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matthew Finkel
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102832673>
Matthew Finkel
Pull request: https://github.com/webkit/WebKit/pull/7007
EWS
Committed 257374@main (7d03a4356c05): <https://commits.webkit.org/257374@main>
Reviewed commits have been landed. Closing PR #7007 and removing active labels.