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

Unified Diff: LayoutTests/mhtml/page_with_css_and_js.html_original

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.html_original
diff --git a/LayoutTests/mhtml/page_with_css_and_js.html_original b/LayoutTests/mhtml/page_with_css_and_js.html_original
index 1ed3de09d640f2b9af91c9ce3694d60c5daee2e0..014b2a1ab0ee6abf78268c5c3995f5e3329777db 100644
--- a/LayoutTests/mhtml/page_with_css_and_js.html_original
+++ b/LayoutTests/mhtml/page_with_css_and_js.html_original
@@ -2,13 +2,13 @@
<head>
<link href="resources/hide_image.css" rel="stylesheet" type="text/css">
-
+
<script type="text/javascript" src="resources/remove_image_script.js"></script>
</head>
<body onload="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="firstDiv">
<img src="resources/red_square.png"><br><br>
</div>
@@ -17,10 +17,10 @@ The red square below should be hidden by way of CSS.<br>
<img src="resources/red_square.png"><br><br>
</div>
<div id="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 disabled in MHTML, it still should show).<br>
<img src="resources/red_square.png"><br><br>
</div>
-
+
</body>
« no previous file with comments | « LayoutTests/mhtml/new-image-not-in-archive-expected.txt ('k') | LayoutTests/mhtml/page_with_css_and_js_ie.mht » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698