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

Unified Diff: content/test/data/manifest/dynamic-manifest.html

Issue 537053002: Implement ManifestManager to handle manifest in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_fetcher
Patch Set: with tests Created 6 years, 3 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: content/test/data/manifest/dynamic-manifest.html
diff --git a/content/test/data/manifest/dynamic-manifest.html b/content/test/data/manifest/dynamic-manifest.html
new file mode 100644
index 0000000000000000000000000000000000000000..d1347d4322c18679c577e361d2ee9543b36d61ac
--- /dev/null
+++ b/content/test/data/manifest/dynamic-manifest.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+</body>
+<script>
+ function setManifestTo(url) {
+ // Clear everything.
+ document.head.innerHTML = '';
+
+ var link = document.createElement('link');
+ link.rel = 'manifest';
+ link.href = url;
+ document.head.appendChild(link);
+ }
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698