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

Fire <link rel=preload> error events only for network errors #7799

Merged

Conversation

hiroshige-g
Copy link
Contributor

@hiroshige-g hiroshige-g commented Apr 7, 2022

A part of #1142.

We have a consensus on the spec dicsussion #1142 about events on <link rel="preload">, but are not yet sure about the feasibility of implementation/behavior changes and don't have sufficient bandwidth and motivations.

This PR writes down the spec-side consensus, while leaving implementation changes as a future work.
Anyway the spec before this PR is more inconsistent with the browsers' behavior.

(See WHATWG Working Mode: Changes for more details.)


/links.html ( diff )

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

Editorially LGTM, and seems like a reasonable first step. Please ping the thread when you have moved this out of draft state and filled out the template with implementer interest/bugs/tests.

@hiroshige-g
Copy link
Contributor Author

Updated the PR according to #1142 (comment).

@hiroshige-g hiroshige-g force-pushed the FirePreloadErrorEventOnlyOnNetworkError branch from f39799a to 445e391 Compare April 18, 2022 20:43
@hiroshige-g hiroshige-g marked this pull request as ready for review April 18, 2022 20:43
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 18, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
@hiroshige-g
Copy link
Contributor Author

cc/ @noamr @annevk @yoavweiss

@domenic
Copy link
Member

domenic commented Apr 19, 2022

My read of #1142 (comment) and following comments is that we have both Gecko and Blink supportive of this spec change. (But, we have you from Blink saying that we won't be able to prioritize this work in the near future.) So I think we have implementer interest, and this is OK to merge as soon as we file browser bugs.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 21, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 21, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
@hiroshige-g
Copy link
Contributor Author

Filed browser bugs. Feel free to update e.g. the implementor interest section, the inline note in the spec diff, etc.

@domenic domenic merged commit 7bcf0f8 into whatwg:main Apr 25, 2022
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 25, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
aarongable pushed a commit to chromium/chromium that referenced this pull request Apr 26, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 26, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}
@whatwg whatwg deleted a comment from Mandojr1974 Apr 27, 2022
past pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 27, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}

Co-authored-by: Hiroshige Hayashizaki <[email protected]>
DanielRyanSmith pushed a commit to DanielRyanSmith/wpt that referenced this pull request Apr 27, 2022
…ests#33382)

Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}

Co-authored-by: Hiroshige Hayashizaki <[email protected]>
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request May 16, 2022
…rs/non-errors, a=testonly

Automatic update from web-platform-tests
[WPT] link rel=preload with various errors/non-errors (#33382)

Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}

Co-authored-by: Hiroshige Hayashizaki <[email protected]>
--

wpt-commits: 55da5e1ca21ef62bd78d29034edbb112a5403384
wpt-pr: 33382
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request May 25, 2022
…rs/non-errors, a=testonly

Automatic update from web-platform-tests
[WPT] link rel=preload with various errors/non-errors (#33382)

Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}

Co-authored-by: Hiroshige Hayashizaki <[email protected]>
--

wpt-commits: 55da5e1ca21ef62bd78d29034edbb112a5403384
wpt-pr: 33382
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
Regression test for

- whatwg/html#7799
- https://crbug.com/1305317

Bug: 1305317, 1318623, 1318614, 1318618
Change-Id: I41218dec0f96c201135394dc483a6fa6fa12b7d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555471
Reviewed-by: Domenic Denicola <[email protected]>
Commit-Queue: Hiroshige Hayashizaki <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995963}
NOKEYCHECK=True
GitOrigin-RevId: 043561987bc6d8236a74b7a7131b186e088dd565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants