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

Add the Priority Hints changes to the html spec #8470

Merged
merged 29 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e431c1d
Add the Priority Hints changes to the html spec
pmeenan Nov 3, 2022
c85da3a
First round of fixes from feedback (still WIP)
pmeenan Nov 4, 2022
2a3d6a8
Merge branch 'whatwg:main' into priority-hints
pmeenan Dec 2, 2022
a92e253
Merge branch 'whatwg:main' into priority-hints
pmeenan Jan 4, 2023
8d0eece
Merge branch 'whatwg:main' into priority-hints
pmeenan Jan 11, 2023
885557a
Cleaned up dangling variables
pmeenan Jan 11, 2023
9b73bf4
Formatting cleanup
pmeenan Jan 11, 2023
124eba5
Plumb fetchPriority through navigation
pmeenan Jan 18, 2023
c65c2ec
Merge branch 'whatwg:main' into priority-hints
pmeenan Jan 18, 2023
f7c8c53
Rename "nested navigable" to "content navigable"
domenic Jan 19, 2023
3fae597
Document exactly what works with the Link header
domenic Jan 19, 2023
385e54f
Meta: export "serializable object"
dontcallmedom Jan 20, 2023
59d000c
Fix typo in session history traversal parallel queue example
domfarolino Jan 23, 2023
0ec01fe
Update permisssions policy creation
clelland Jan 23, 2023
ba9cb8a
Properly assign history policy container
domfarolino Jan 24, 2023
37b4a08
Meta: export form owner and submit button
jenseng Jan 25, 2023
c3a901a
Merge branch 'whatwg:main' into priority-hints
pmeenan Jan 25, 2023
93247ca
Merge branch 'whatwg:main' into priority-hints
pmeenan Jan 30, 2023
e33a3d5
Fixed missing options and use "destination"
pmeenan Jan 30, 2023
9466ccc
Updated descendant script fetch options to not inherit fetch priority
pmeenan Feb 1, 2023
f57829d
Merge branch 'whatwg:main' into priority-hints
pmeenan Feb 8, 2023
5639d68
Cleanup formatting and attribute default state
pmeenan Feb 9, 2023
fd8998b
Minor fixes
domenic Feb 15, 2023
133deee
Oops
domenic Feb 15, 2023
d5908d0
Fix the attribute index
domenic Feb 16, 2023
4c701e7
Remove iFrame support
pmeenan Feb 16, 2023
7679f30
Merge branch 'whatwg:main' into priority-hints
pmeenan Feb 16, 2023
c6890d7
Added fetchpriority to the link header parsing
pmeenan Feb 16, 2023
65c22f3
Final tweaks
domenic Feb 17, 2023
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
Prev Previous commit
Next Next commit
Added fetchpriority to the link header parsing
  • Loading branch information
pmeenan committed Feb 16, 2023
commit c6890d795daf233285b5ace5f6b35b0a2591900b
12 changes: 9 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7594,21 +7594,21 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<tbody>
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority,iframe/fetchpriority"
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-high"><code>high</code></dfn>
<td><dfn data-x="attr-fetchpriority-high-state">high</dfn>
<td>Signals a high-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority,iframe/fetchpriority"
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-low"><code>low</code></dfn>
<td><dfn data-x="attr-fetchpriority-low-state">low</dfn>
<td>Signals a low-priority <span data-x="concept-fetch">fetch</span> relative to other
resources with the same <span data-x="concept-request-destination">destination</span>.
<tr>
<td><dfn attr-value
for="img/fetchpriority,script/fetchpriority,link/fetchpriority,iframe/fetchpriority"
for="img/fetchpriority,script/fetchpriority,link/fetchpriority"
data-x="attr-fetchpriority-auto"><code>auto</code></dfn>
<td><dfn data-x="attr-fetchpriority-auto-state">auto</dfn>
<td>Signals automatic determination of <span data-x="concept-fetch">fetch</span> priority
Expand Down Expand Up @@ -15338,6 +15338,12 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<li><p>If <var>attribs</var>["<code data-x="attr-link-type">type</code>"] <span data-x="map
exists">exists</span>, then set <var>options</var>'s <span data-x="link options
type">type</span> to <var>attribs</var>["<code data-x="attr-link-type">type</code>"].</p></li>

<li><p>If <var>attribs</var>["<code data-x="attr-link-fetchpriority">fetchpriority</code>"]
<span data-x="map exists">exists</span> and is an <span>ASCII case-insensitive</span> match for
some <span>fetch priority attribute</span>, then set <var>options</var>'s <span data-x="link
options fetch priority">fetch priority</span> to that <span>fetch priority
attribute</span>.</p></li>
</ol>


Expand Down