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

Unified Diff: third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)
Patch Set: rebase Created 3 years, 7 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/LayoutTests/mhtml/cid_in_html_resource.html
diff --git a/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html b/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html
new file mode 100644
index 0000000000000000000000000000000000000000..eb4adce93b299b8f37b183381560acd7272ffdf4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html
@@ -0,0 +1,24 @@
+<head>
+ <script>
+ if (window.testRunner)
+ window.testRunner.dumpAsText();
+ </script>
+ <link rel="stylesheet" type="text/css" href="cid:xxxxxx">
+ <style type="text/css">
+ @font-face {
+ font-family: "My Custom Font";
+ src: url(cid:xxxxxx) format("truetype");
+ }
+ body {
+ font-family: "My Custom Font", Verdana, Tahoma;
+ }
+ </style>
+</head>
+<body>
+ <script src="cid:xxxxxx"></script>
+ <img href="cid:xxxxxx"></img>
+ <p>
+ No Content-ID url are expected outside of an MHTML document.
+ The document should load without crashing.
+ </p>
+</body>

Powered by Google App Engine
This is Rietveld 408576698