Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/dangling-markup/src-attribute-expected.txt

Issue 2794303002: Deprecate resource requests whose URLs contain raw newlines. (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/dangling-markup/src-attribute-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/dangling-markup/src-attribute-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/dangling-markup/src-attribute-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd27ac263908719b2a30ddf3b22018ed3344598c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/dangling-markup/src-attribute-expected.txt
@@ -0,0 +1,15 @@
+CONSOLE WARNING: Resource requests whose URLs contain raw newline characters are deprecated, and may be blocked in M60, around August 2017. Please remove newlines from places like element attribute values in order to continue loading those resources. See https://www.chromestatus.com/features/5735596811091968 for more details.
+This is a testharness.js-based test.
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?data=1&#10;b">
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?img=2&#10;b&lt;c">
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?img=3 b&lt;c ">
+FAIL <img id="dangling" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABnAQMAAACQMjadAAAAA1BMVEX///+nxBvIAAAAEUlEQVQ4y2MYBaNgFIwCegAABG0AAd5G4RkAAAAASUVORK5CYII="> assert_equals: Height expected 0 but got 103
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?4&img=&lt;b">
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?5&data=&amp;#10;b">
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?6&img=&amp;lt;b">
+PASS <img id="dangling" src="http://127.0.0.1:8000/security/resources/abe.png?7&img=&amp;#10;b&amp;lt;c">
+PASS <img id="dangling" src=" http://127.0.0.1:8000/security/resources/abe.png?8 "> <input type=hidden name=csrf value=sekrit>
+PASS <img id="dangling" src=" http://127.0.0.1:8000/security/resources/abe.png?9&img=&amp;lt; "> <input type=hidden name=csrf value=sekrit>
+PASS <img id="dangling" src=" http://127.0.0.1:8000/security/resources/abe.png?10&img=&amp;#10; "> <input type=hidden name=csrf value=sekrit>
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698