Update dangling markup mitigations. #6046
Update dangling markup mitigations.
#6046chromium-wpt-export-bot wants to merge 2 commits intomasterfrom
Conversation
Still behind a flag, just updating the checks to look for both `\n` and `<` rather than just the former. This is in line with the patches up at whatwg/url#284 and whatwg/fetch#519. Intent to Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/KaA_YNOlTPk/VmmoV88xBgAJ. Bug: 680970 Change-Id: Ifda61a0afe1f0e97620acef7dc54b005c6f74840 Reviewed-on: https://chromium-review.googlesource.com/514024 Commit-Queue: Mike West <mkwst@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#474341}
wpt-pr-bot
left a comment
There was a problem hiding this comment.
Already reviewed downstream.
Firefox (nightly)Testing web-platform-tests at revision abff125 All results1 test ran/fetch/dangling-markup-mitigation.tentative.html
|
Sauce (safari)Testing web-platform-tests at revision abff125 Unstable results
All results1 test ran/fetch/dangling-markup-mitigation.tentative.html
|
Chrome (unstable)Testing web-platform-tests at revision abff125 All results1 test ran/fetch/dangling-markup-mitigation.tentative.html
|
Sauce (MicrosoftEdge)Testing web-platform-tests at revision abff125 |
| // Leading and trailing whitespace is stripped: | ||
| ` | ||
| <img id="dangling" src=" | ||
| /images/green-1x1.png?img= |
There was a problem hiding this comment.
@mikewest, the lint is unhappy about trailing whitespace here and in one other place, but I'm not certain if it's intentional.
There was a problem hiding this comment.
As long as it's not unhappy about trailing \n or \r, removing it should be fine.
|
Looks like now the results are unstable on Safari? Will close and reopen to verify if it's consistent. |
67ed572 to
9b4a61a
Compare
|
Actually, I'm just going to close this and try again, since we apparently synced down a deletion to Chromium's repository (which seems like surprising behavior :( ). |
|
@mikewest what was the deletion you're referring to? I can look into it |
|
@jeffcarp: I'm trying to re-land it along with other changes in https://chromium-review.googlesource.com/c/518156/ (#6085). Let's see how that goes. |
|
It looks like https://chromium-review.googlesource.com/c/515422/ happened before this CL was ever closed, so possible it has to do with the logic the importer has to avoid doing an importer if there are exportable commits not yet exported. I filed https://crbug.com/727923 and assigned to @qyearsley based on my guess. |
Still behind a flag, just updating the checks to look for both
\nand<rather than just the former. This is in line with the patches up atwhatwg/url#284 and
whatwg/fetch#519.
Intent to Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/KaA_YNOlTPk/VmmoV88xBgAJ.
Bug: 680970
Change-Id: Ifda61a0afe1f0e97620acef7dc54b005c6f74840
Reviewed-on: https://chromium-review.googlesource.com/514024
Commit-Queue: Mike West mkwst@chromium.org
Reviewed-by: Jochen Eisinger jochen@chromium.org
Cr-Commit-Position: refs/heads/master@{#474341}