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

Unified Diff: LayoutTests/mhtml/relative_url.mht

Issue 161383002: Disabling JavaScript in MHTML and limiting MHTML loading to top frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced Created 6 years, 9 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
« no previous file with comments | « LayoutTests/mhtml/page_with_javascript-expected.html ('k') | LayoutTests/mhtml/relative_url-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/mhtml/relative_url.mht
diff --git a/LayoutTests/mhtml/page_with_image_ie.mht b/LayoutTests/mhtml/relative_url.mht
similarity index 78%
copy from LayoutTests/mhtml/page_with_image_ie.mht
copy to LayoutTests/mhtml/relative_url.mht
index 96c0925ea0e0192015469e09fb92ca35c2b08ca5..c4a3f9ae4c56f2914d2d14e8571aed0132312ee3 100644
--- a/LayoutTests/mhtml/page_with_image_ie.mht
+++ b/LayoutTests/mhtml/relative_url.mht
@@ -19,19 +19,14 @@ Content-Location: http://localhost/page_with_image.html
<HTML><HEAD><TITLE>Page with square</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
-<SCRIPT>=0A=
-if (window.testRunner) {=0A=
- testRunner.dumpAsText();=0A=
-}=0A=
-=0A=
-</SCRIPT>
<META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
-<BODY>This is a red square:<BR><IMG=20
-onerror=3D"document.getElementById('error').innerHTML+=3D'Failed to load =
-image!'"=20
-src=3D"http://localhost/resources/red_square.png">=20
-<DIV id=3Derror></DIV></BODY></HTML>
+<BODY>
+Image with an absolute URL:<BR><IMG=20
+src=3D"http://localhost/resources/red_square.png"/>=20
+<br>Image with a relative URL:<BR><IMG=20
+src=3D"resources/red_square.png"/>=20
+</BODY></HTML>
------=_NextPart_000_001B_01CC157B.96F808A0
Content-Type: image/png
« no previous file with comments | « LayoutTests/mhtml/page_with_javascript-expected.html ('k') | LayoutTests/mhtml/relative_url-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698