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

Unified Diff: LayoutTests/mhtml/base_url.mht

Issue 17640007: Refactoring: Simplify DocumentWriter by reorganizing its lifetime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-landing after fixing ASAN failure on set-parent-src-synchronously.xhtml. Created 7 years, 6 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 | « no previous file | LayoutTests/mhtml/base_url-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/mhtml/base_url.mht
diff --git a/LayoutTests/mhtml/simple_page_unmht.mht b/LayoutTests/mhtml/base_url.mht
old mode 100755
new mode 100644
similarity index 71%
copy from LayoutTests/mhtml/simple_page_unmht.mht
copy to LayoutTests/mhtml/base_url.mht
index d03c63fc62aecaed375506c79876dc0689797e5a..9b8bb68a654104f4b717584c07c83831ddac0b97
--- a/LayoutTests/mhtml/simple_page_unmht.mht
+++ b/LayoutTests/mhtml/base_url.mht
@@ -9,19 +9,22 @@ Content-Type: multipart/related;
------=_NextPart_000_0000_87206557.D2C008B0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
-Content-Location: http://localhost/simple_page.html
+Content-Location: http://localhost/base.html
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Diso-8859-1">
-
<title>A simple page</title>
+</head>
+<body>
+<div id="out"></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
+if (window.internals.baseURL(document) == "http://localhost/base.html")
+ out.innerHTML = "PASS";
+else
+ out.innerHTML = "FAIL";
</script>
-<base href=3D"http://localhost/"></base></head><body>
-<h1>This is a very simple page</h1>
-Very <b>basic</b> page.
</body></html>
------=_NextPart_000_0000_87206557.D2C008B0--
« no previous file with comments | « no previous file | LayoutTests/mhtml/base_url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698