-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Test the supported values of <link rel=preload as> #45200
Conversation
The supported values are: image, fetch, font, script, style, json, track Unsupported values: - video, audio (streamed with range requests) - object, iframe, worklet, worker (not subresources) - any unknown value
preload/supported-as-values.html
Outdated
<script> | ||
const params = new URLSearchParams(location.search); | ||
const as = params.get("as"); | ||
const expected = +params.get("expected"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the "+" before "params" intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's to make it a number, modified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…s#45200) * Test the supported values of <link rel=preload as> The supported values are: image, fetch, font, script, style, json, track Unsupported values: - video, audio (streamed with range requests) - object, iframe, worklet, worker (not subresources) - any unknown value * Remove spurious things * Use step_timeout
The supported values are:
image, fetch, font, script, style, json, track
Unsupported values:
See whatwg/html#10212