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

Unified Diff: LayoutTests/mhtml/page_with_image_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_image_unmht.mht
diff --git a/LayoutTests/mhtml/page_with_image_unmht.mht b/LayoutTests/mhtml/page_with_image_unmht.mht
index 1601551ca91c74e73b124e0a23bfffc4e8c948e8..d7e8ad5701bf2aaa493381c8d1912acd8a6c4373 100644
--- a/LayoutTests/mhtml/page_with_image_unmht.mht
+++ b/LayoutTests/mhtml/page_with_image_unmht.mht
@@ -16,17 +16,9 @@ Content-Location: http://localhost/page_with_image.html
<title>Page with square</title>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
-}
-
-</script>
<base href=3D"http://localhost/"></base></head><body>
This is a red square:<br>
-<img onerror=3D"document.getElementById(&#x27;error&#x27;).innerHTML+=3D&#x=
-27;Failed to load image!&#x27;" src=3D"resources/red_square.png">
-<div id=3D"error"></div>
+<img src=3D"resources/red_square.png">
</body></html>
------=_NextPart_000_0000_02C8A5EE.D896CA6B
Content-Type: image/png
« no previous file with comments | « LayoutTests/mhtml/page_with_image_ie-expected.txt ('k') | LayoutTests/mhtml/page_with_image_unmht-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698