Closed Bug 1872206 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 43808 - Move dangling markup tests to wpt

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 43808 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/43808
Details from upstream follow.

Jun Kokatsu <jkokatsu@google.com> wrote:

Move dangling markup tests to wpt

Move dangling markup tests to wpt

Move dangling markup tests to wpt

Change-Id: I7b03839adeb749c3206a4fb95a9dfa5785c634c4
Reviewed-on: https://chromium-review.googlesource.com/5151927
WPT-Export-Revision: 3c55ce4f7dd60360aa3d2d03712e1458721d9d27

Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests and 3 subtests

Status Summary

Firefox

OK : 5
PASS: 32
FAIL: 26

Chrome

OK : 5
PASS: 58

Safari

OK : 5
PASS: 30
FAIL: 28

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

  • /fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html [wpt.fyi]
  • /fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html [wpt.fyi]
    • Fetch: /images/gre\nen-1x1.png?img=<: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch: /images/gre\ren-1x1.png?img=<: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch: /images/gre\ten-1x1.png?img=<: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch: /images/green-1x1.png?<\n=block: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch: /images/green-1x1.png?<\r=block: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch: /images/green-1x1.png?<\t=block: FAIL (Chrome: PASS, Safari: FAIL)
    • <img id="dangling" src="/images/green-1x1.png?img= <b">: FAIL (Chrome: PASS, Safari: PASS)
    • <img id="dangling" src="/images/green-1x1.png?img=< b">: FAIL (Chrome: PASS, Safari: PASS)
    • \n <img id="dangling" src="/images/green-1x1.png?img=\n <\n b\n ">\n : FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/security/dangling-markup/media.html [wpt.fyi]
    • Should not load audio with dangling markup in URL: FAIL (Chrome: PASS, Safari: FAIL)
    • Should not load video with dangling markup in URL: FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/security/dangling-markup/option.html [wpt.fyi]
    •   <form action="/resource-timing/resources/document-navigated.html" method="post">        <input type="submit">        <select name="dangling"><option>    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <div>        <form action="/resource-timing/resources/document-navigated.html" method="post">          <input type="submit">          <select name="dangling"><option>    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <form action="/resource-timing/resources/document-navigated.html" method="post" id="form">        <input type="submit">      </form>      <select name="dangling" form="form"><option>    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <form action="/resource-timing/resources/document-navigated.html" method="post">        <input type="submit">        <select name="dangling"><option label="yay">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <div>        <form action="/resource-timing/resources/document-navigated.html" method="post">          <input type="submit">          <select name="dangling"><option label="yay">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <form action="/resource-timing/resources/document-navigated.html" method="post" id="form">        <input type="submit">      </form>      <select name="dangling" form="form"><option label="yay">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
  • /fetch/security/dangling-markup/textarea.html [wpt.fyi]
    •   <form action="/resource-timing/resources/document-navigated.html" method="post">        <input type="submit">        <textarea name="dangling">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <div>        <form action="/resource-timing/resources/document-navigated.html" method="post">          <input type="submit">          <textarea name="dangling">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
    •   <form action="/resource-timing/resources/document-navigated.html" method="post" id="form">        <input type="submit">      </form>      <textarea name="dangling" form="form">    : `FAIL` (Chrome: `PASS`, Safari: `FAIL`)
      
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91a7441aaacb [wpt PR 43808] - Add more dangling markup tests to WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/cfc46762de12 [wpt PR 43808] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.