-
Notifications
You must be signed in to change notification settings - Fork 37
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
Clarify what constitutes a "downloadable resource" #100
Comments
On a related note, something I'm encountering in WebKit is the media loads issue range requests to download parts of an individual media resource. What should be the expected behavior here? |
For many error cases the spec says an entry MAY be included:
So maybe there is room to be ambiguous here. It would still be useful to specify what MUST have entries. |
It is ambiguous in RT2 and implementations differ in what they expose here. We had long back-and-forth on this in #12. We merged a partial fix for this into L3, but we didn't clearly state there what "downloadable resource" is. The latter bit will be cleared up once we resolve #39, which is also targeted for L3. So, practically speaking, for L2 it is ambiguous: that's something we acknowledge and have to live with, due to existing implementations out there. |
The spec normative text currently states 'For each resource fetched by the current browsing context, excluding resources fetched by cross-origin stylesheets fetched with no-cors policy, perform the following steps:' Ideally, there would be tests for each type of fetch and each scheme. @nicjansma, could you take this one? I think you are uniquely equipped to update based upon data. |
"For each resource" so is a Media range request considered a resource? (Probably not?) |
@igrigorik - going back to this. You say that this remains ambiguous in L2 and will be resolved in L3. As such, should this issue be an L2 blocker? |
Personally, no I don't think this should be a blocker. We should, if possible, clarify some of the cases that Joseph brought up here, but even with that we won't have full and precise coverage until we solve the underlying issue in L3. |
I'll remove the L2 blocker label then (unless other folks object). |
The Fetch/HTML/RT integration defines this better. However, resources like |
The Introduction says:
What constitutes a "downloadable resource"?
Currently, both Firefox and Chrome are consistent. They create PerformanceResourceTiming entries for EventSource resources, but not WebSocket resources, and not Local resources. I'm unable to test Edge.
I suspect implementations are only focusing on "http" family resources right now. The EventSource example was "http", but the WebSocket resources use "ws:" or "wss:", and local files use "file:". For reference: (Mozilla) and (Blink).
The text was updated successfully, but these errors were encountered: