-
Notifications
You must be signed in to change notification settings - Fork 38
InitiatorType
should not single out XHR
#142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note that |
|
@nicjansma raised concerns that changing this may raise risk of web compat (as current reports may rely on the current reporting method. As such, this issue may be a better for the initiator revamp we plan for L3: #132 |
That issue doesn't say anything about how you plan to address the massive layering problem here (or how L3 somehow reduces the risk of making changes; seems like it can't). |
Indeed. The issue just states that we need to collect use-cases for improved initiator info, and then we'll figure out what needs to be exposed based on that. The info exposed should be tied to the Fetch spec as much as possible. |
I disagree somewhat. I think having massive layering problems should automatically prohibit something from advancing further. |
Maybe I'm missing something. Can you elaborate on what you mean by "massive layering problems"? Is there some way we can deprecate and remove the |
That |
Is this still a problem? Since we're working on Resource timing reporting for HTML resources, it should be straightforward to include the I think that in general "resource" is a not exactly a |
It doesn't really address the larger issue of different groups making different divisions, but it does solve the layering issue. It's probably too late to solve the former, though I'm still somewhat hopeful we can figure out a way to invoke fetch with the right data and have fetch also do the reporting for the common case to avoid complicating each caller for eternity. |
I was planning to have that common reporting in the HTML spec, also to ensure predictable order between the reporting and things like the |
Can this be closed @annevk? Not sure what's actionable here. |
So the current solution is that each endpoint needs to create RT entries itself, right? Does that mean that for each new endpoint we separately need to consider a Fetch and RT name? Ideally we'd have a better setup for this, but to be fair it's hard to see one. |
Right, since each end point might decide that something is an error or to delay
Yes, with the default being |
Talking to @annevk on WHATWG IRC, it doesn't make sense for
initiatorType
processing to single out XHR.Unless there are webcompat issues with deprecating and removing that, it should be folded into the
fetch
initiator type.The text was updated successfully, but these errors were encountered: