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

Unified Diff: LayoutTests/mhtml/page_with_css_and_js_unmht.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_unmht.mht
diff --git a/LayoutTests/mhtml/page_with_css_and_js_unmht.mht b/LayoutTests/mhtml/page_with_css_and_js_unmht.mht
index 4487b72072dadaec3efe5bb16e9660cfc31330a7..2bc27235daef89ca310a97c2cdbb3f6cd82849d9 100644
--- a/LayoutTests/mhtml/page_with_css_and_js_unmht.mht
+++ b/LayoutTests/mhtml/page_with_css_and_js_unmht.mht
@@ -20,16 +20,10 @@ ss"></link>
=20
<script src=3D"resources/remove_image_script.js" type=3D"text/javascript"=
></script>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- </script>
<base href=3D"http://localhost/"></base></head><body onload=3D"onLoad()">
This page tests that CSS and JavaScript resources are retrieved correctly=
for MHTML files.<br><br>
-There should be only one red square below:
+There should be only 2 red squares below:
<div id=3D"firstDiv">
<img src=3D"resources/red_square.png"><br><br>
</div>
@@ -38,7 +32,8 @@ The red square below should be hidden by way of CSS.<br>
<img src=3D"resources/red_square.png"><br><br>
</div>
<div id=3D"thirdDiv">
-The red square below should be hidden by way of JavaScript.<br>
+The red square below should be hidden by way of JavaScript (with JS disab=
+led in MHTML, it still should show).<br>
<img src=3D"resources/red_square.png"><br><br>
</div>
« no previous file with comments | « LayoutTests/mhtml/page_with_css_and_js_ie-expected.txt ('k') | LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698