[wpt-sync] Sync PR 43808 - Move dangling markup tests to wpt
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
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
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
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
- /fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html [wpt.fyi]
- <img id="dangling" src="/images/green-1x1.png?img=
<b">:
FAIL
- <img id="dangling" src="/images/green-1x1.png?img=<
b">:
FAIL
- <img id="dangling" src="/images/green-1x1.png?img=
<b">:
New Tests That Don't Pass
- /fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html [wpt.fyi]
- <iframe id="dangling"\n src="data:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <iframe id="dangling"\n src=" data:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <iframe id="dangling"\n src="\ndata:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <iframe id="dangling"\n src="
data:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <iframe id="dangling"\n src="\tdata:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
) - <iframe id="dangling"\n src="\rdata:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- <iframe id="dangling"\n src="data:text/html,\n <img\n onload='window.parent.postMessage("loaded", "");'\n onerror='window.parent.postMessage("error", "");'\n src='http://web-platform.test:8000/images/gr een-256x256.png?<'>\n ">\n </iframe>:
- /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: /images/gre\nen-1x1.png?img=<:
- /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
)
- Should not load audio with dangling markup in URL:
- /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`)
-
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/91a7441aaacb
https://hg.mozilla.org/mozilla-central/rev/cfc46762de12
Description
•