-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Allow render-blocking inline module scripts #10035
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 10, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 10, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 10, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 10, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 15, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718
domenic
reviewed
Jan 17, 2024
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.
Looks good with a nit.
There's a preexisting issue with a lack of document conformance requirements for blocking + script, but we can solve that separately. (I'll file a new issue for it.)
domenic
approved these changes
Jan 18, 2024
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
Jan 23, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 23, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Jan 23, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749}
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this pull request
Jan 29, 2024
…ipts, a=testonly Automatic update from web-platform-tests Enable render-blocking inline module scripts Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749} -- wpt-commits: 9bb6e1dbfbadf85634936171144d8a9f17fc9f56 wpt-pr: 43919
ErichDonGubler
pushed a commit
to erichdongubler-mozilla/firefox
that referenced
this pull request
Jan 30, 2024
…ipts, a=testonly Automatic update from web-platform-tests Enable render-blocking inline module scripts Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749} -- wpt-commits: 9bb6e1dbfbadf85634936171144d8a9f17fc9f56 wpt-pr: 43919
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Feb 1, 2024
…ipts, a=testonly Automatic update from web-platform-tests Enable render-blocking inline module scripts Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <kouheichromium.org> Commit-Queue: Noam Rosenthal <nrosenthalchromium.org> Cr-Commit-Position: refs/heads/main{#1250749} -- wpt-commits: 9bb6e1dbfbadf85634936171144d8a9f17fc9f56 wpt-pr: 43919 UltraBlame original commit: 17b42b2c3ac25e55c8c2d49f60701b30c17773e0
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Feb 1, 2024
…ipts, a=testonly Automatic update from web-platform-tests Enable render-blocking inline module scripts Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <kouheichromium.org> Commit-Queue: Noam Rosenthal <nrosenthalchromium.org> Cr-Commit-Position: refs/heads/main{#1250749} -- wpt-commits: 9bb6e1dbfbadf85634936171144d8a9f17fc9f56 wpt-pr: 43919 UltraBlame original commit: 17b42b2c3ac25e55c8c2d49f60701b30c17773e0
marcoscaceres
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
Feb 23, 2024
Inline module scripts need to behave like scripts with `src` in many ways, e.g. if they have imports. Otherwise authors have to use a fake `src` for artificial reasons. This implements the spec PR: whatwg/html#10035 Currently behind a flag (RenderBlockingInlineModuleScript) Bug: 1514881 Change-Id: I8579d721adbf976a1d5e20d14abc6ef7252b0718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5184455 Reviewed-by: Kouhei Ueno <[email protected]> Commit-Queue: Noam Rosenthal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1250749}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is no reason to limit render-blocking to scripts with
src
only. A module/async/defer script with imports should behave just the same.Closes #10034
(See WHATWG Working Mode: Changes for more details.)
/scripting.html ( diff )