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

Unified Diff: third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht

Issue 2912213002: Support serializing shadow DOM to MHTML (Closed)
Patch Set: Strip anoter shadow attribute Created 3 years, 6 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: third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht
diff --git a/third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht b/third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht
new file mode 100644
index 0000000000000000000000000000000000000000..c75ecc580c29812009981631204fc0beb1d18f1d
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht
@@ -0,0 +1,29 @@
+From: <Saved by UnMHT>
+Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?=
+Date: Wed, May 11 2011 15:36:36 GMT-0700
+MIME-Version: 1.0
+Content-Type: multipart/related;
+ boundary="----=_NextPart_000_0000_87206557.D2C008B0";
+ type="text/html"
+
+------=_NextPart_000_0000_87206557.D2C008B0
+Content-Type: text/html; charset="ISO-8859-1"
+Content-Transfer-Encoding: quoted-printable
+Content-Location: http://localhost/page_with_javascript.html
+
+<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
+=3Diso-8859-1">
+
+
+<title>A page with JavaScript</title>
+<h1>This page has content generated by JavaScript</h1>
+Javascript is not run, so that dynamic content should not show.
+<div id=3D"myDiv"></div>
+
+<script>
+ document.getElementById('myDiv').innerHTML =3D
+ "<span id='mySpan'>Foo</span>";
+</script>
+
+</body></html>
+------=_NextPart_000_0000_87206557.D2C008B0--

Powered by Google App Engine
This is Rietveld 408576698