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

Unified Diff: LayoutTests/mhtml/check_domain.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/base_url-expected.txt ('k') | LayoutTests/mhtml/check_domain-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/mhtml/check_domain.mht
diff --git a/LayoutTests/mhtml/check_domain.mht b/LayoutTests/mhtml/check_domain.mht
deleted file mode 100644
index 07282c07efeaa03d0c55d7e6997b49e4c0c1f216..0000000000000000000000000000000000000000
--- a/LayoutTests/mhtml/check_domain.mht
+++ /dev/null
@@ -1,45 +0,0 @@
-From: <Saved by UnMHT>
-Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?=
-Date: Wed, May 11 2011 15:36:36 GMT-0700
-MIME-Version: 1.0
-Content-Type: multipart/related;
- boundary="----=_NextPart_000_0000_87206557.D2C008B0";
- type="text/html"
-
-------=_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
-
-<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
-=3Diso-8859-1">
-
-
-<title>A simple page</title>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-window.onload = function() {
- var span=3Ddocument.createElement("span");
- if (window.location !=3D 'http://localhost/simple_page.html' &&
- document.domain !=3D 'localhost') {
- span.innerHTML = "PASS";
- } else {
- span.innerHTML = "FAIL window.location=" + window.location +
- " document.domain=" + document.domain;
- }
-
- document.getElementById('locDiv').appendChild(span);
- testRunner.notifyDone();
-}
-
-</script>
-<base href=3D"http://localhost/"></base></head><body>
-<h1>This is a very simple page</h1>
-Very <b>basic</b> page.
-<div id=3D'locDiv'></div>
-</body></html>
-------=_NextPart_000_0000_87206557.D2C008B0--
« no previous file with comments | « LayoutTests/mhtml/base_url-expected.txt ('k') | LayoutTests/mhtml/check_domain-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698