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

Side by Side Diff: Source/web/tests/data/mhtml/simple_test.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: Removed check_domain.mht (replaced with relative_url.mht) Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 From: <Saved by UnMHT> 1 From: <Saved by UnMHT>
2 Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?= 2 Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?=
3 Date: Wed, May 11 2011 15:36:36 GMT-0700 3 Date: Wed, May 11 2011 15:36:36 GMT-0700
4 MIME-Version: 1.0 4 MIME-Version: 1.0
5 Content-Type: multipart/related; 5 Content-Type: multipart/related;
6 boundary="----=_NextPart_000_0000_87206557.D2C008B0"; 6 boundary="----=_NextPart_000_0000_87206557.D2C008B0";
7 type="text/html" 7 type="text/html"
8 8
9 ------=_NextPart_000_0000_87206557.D2C008B0 9 ------=_NextPart_000_0000_87206557.D2C008B0
10 Content-Type: text/html; charset="ISO-8859-1" 10 Content-Type: text/html; charset="ISO-8859-1"
11 Content-Transfer-Encoding: quoted-printable 11 Content-Transfer-Encoding: quoted-printable
12 Content-Location: http://localhost/base.html 12 Content-Location: http://localhost/simple.html
13 13
14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= 14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
15 =3Diso-8859-1"> 15 =3Diso-8859-1">
16 16
17 <title>A simple page</title> 17 <title>A simple page</title>
18 </head> 18 </head>
19 <body> 19 <body>
20 <div id="out"></div> 20 That simple?<br>
21 <script> 21 Yes<br>
22 if (window.testRunner)
23 testRunner.dumpAsText();
24 if (window.internals.baseURL(document) == "http://localhost/base.html")
25 out.innerHTML = "PASS";
26 else
27 out.innerHTML = "FAIL";
28 </script>
29 </body></html> 22 </body></html>
30 ------=_NextPart_000_0000_87206557.D2C008B0-- 23 ------=_NextPart_000_0000_87206557.D2C008B0--
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698