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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 2
3 <head> 3 <head>
4 <link href="resources/hide_image.css" rel="stylesheet" type="text/css"> 4 <link href="resources/hide_image.css" rel="stylesheet" type="text/css">
5 5
6 <script type="text/javascript" src="resources/remove_image_script.js"></script > 6 <script type="text/javascript" src="resources/remove_image_script.js"></script >
7 </head> 7 </head>
8 8
9 <body onload="onLoad()"> 9 <body onload="onLoad()">
10 This page tests that CSS and JavaScript resources are retrieved correctly for MH TML files.<br><br> 10 This page tests that CSS and JavaScript resources are retrieved correctly for MH TML files.<br><br>
11 There should be only one red square below: 11 There should be only 2 red squares below:
12 <div id="firstDiv"> 12 <div id="firstDiv">
13 <img src="resources/red_square.png"><br><br> 13 <img src="resources/red_square.png"><br><br>
14 </div> 14 </div>
15 <div id="secondDiv"> 15 <div id="secondDiv">
16 The red square below should be hidden by way of CSS.<br> 16 The red square below should be hidden by way of CSS.<br>
17 <img src="resources/red_square.png"><br><br> 17 <img src="resources/red_square.png"><br><br>
18 </div> 18 </div>
19 <div id="thirdDiv"> 19 <div id="thirdDiv">
20 The red square below should be hidden by way of JavaScript.<br> 20 The red square below should be hidden by way of JavaScript (with JS disabled in MHTML, it still should show).<br>
21 <img src="resources/red_square.png"><br><br> 21 <img src="resources/red_square.png"><br><br>
22 </div> 22 </div>
23 23
24 </body> 24 </body>
25 25
26 26
27 </html> 27 </html>
OLDNEW
« 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