Skip to content
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

Expose a filtered content-encoding value to resource timing #411

Open
wants to merge 3 commits into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ <h3>
readonly attribute unsigned short responseStatus;
readonly attribute RenderBlockingStatusType renderBlockingStatus;
readonly attribute DOMString contentType;
readonly attribute DOMString contentEncoding;
[Default] object toJSON();
};
</pre>
Expand Down Expand Up @@ -715,6 +716,13 @@ <h3>
<a data-for="PerformanceResourceTiming">resource info</a>'s
[=response body info/content type=].
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>contentEncoding</dfn> getter steps are to return a filtered
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filtered how? The filtering should be done in fetch

value of <a>this</a>'s <a data-for="PerformanceResourceTiming">
resource info</a>'s [=response body info/content encoding=]. If the
value is not an empty string and it's not an encoding value the
browser natively supports, return `unknown` instead.
</p>
<p data-dfn-for="PerformanceResourceTiming">
The <dfn>renderBlockingStatus</dfn> getter steps are to return
<a data-link-for="RenderBlockingStatusType">blocking</a> if
Expand Down