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

Unified Diff: LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html

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-expected.html
diff --git a/LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html b/LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd1d061f2840110dbb169d2cea730b456e9de69a
--- /dev/null
+++ b/LayoutTests/mhtml/page_with_css_and_js_unmht-expected.html
@@ -0,0 +1,21 @@
+<html>
+
+<head>
+ <link href="resources/hide_image.css" rel="stylesheet" type="text/css">
+</head>
+
+<body>
+This page tests that CSS and JavaScript resources are retrieved correctly for MHTML files.<br><br>
+There should be only 2 red squares below:
+<div id="firstDiv">
+<img src="resources/red_square.png"><br><br>
+</div>
+<div id="thirdDiv">
+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>
+
+
+</html>
« no previous file with comments | « LayoutTests/mhtml/page_with_css_and_js_unmht.mht ('k') | LayoutTests/mhtml/page_with_css_and_js_unmht-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698