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

Unified Diff: LayoutTests/mhtml/page_with_css_and_js_ie.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
Index: LayoutTests/mhtml/page_with_css_and_js_ie.mht
diff --git a/LayoutTests/mhtml/page_with_css_and_js_ie.mht b/LayoutTests/mhtml/page_with_css_and_js_ie.mht
index f69959bec194772af633a7dbbc94b2d5a3178674..ffd4e9935cb0378b216d7cf7da4d12cc4f17650c 100644
--- a/LayoutTests/mhtml/page_with_css_and_js_ie.mht
+++ b/LayoutTests/mhtml/page_with_css_and_js_ie.mht
@@ -1,5 +1,5 @@
From: "Saved by Windows Internet Explorer 9"
-Subject:
+Subject:
Date: Wed, 18 May 2011 16:49:23 -0700
MIME-Version: 1.0
Content-Type: multipart/related;
@@ -24,18 +24,11 @@ href=3D"http://localhost/resources/hide_image.css">
<SCRIPT type=3Dtext/javascript=20
src=3D"http://localhost/resources/remove_image_script.js"></SCRIPT>
-<SCRIPT>=0A=
- if (window.testRunner) {=0A=
- testRunner.dumpAsText();=0A=
- testRunner.waitUntilDone();=0A=
- }=0A=
- </SCRIPT>
-
<META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>
<BODY onload=3DonLoad()>This page tests that CSS and JavaScript =
resources are=20
-retrieved correctly for MHTML files.<BR><BR>There should be only one red =
-square=20
+retrieved correctly for MHTML files.<BR><BR>There should be only 2 red =
+squares=20
below:=20
<DIV id=3DfirstDiv><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
@@ -43,7 +36,7 @@ src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
CSS.<BR><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>
<DIV id=3DthirdDiv>The red square below should be hidden by way of=20
-JavaScript.<BR><IMG=20
+JavaScript (with JS disabled in MHTML, it still should show).<BR><IMG=20
src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV></BODY><=
/HTML>
« no previous file with comments | « LayoutTests/mhtml/page_with_css_and_js.html_original ('k') | LayoutTests/mhtml/page_with_css_and_js_ie-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698