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

Unified Diff: chrome/test/data/prerender/prerender_html5_video_script.html

Issue 8095007: Defer loading of audio/video tags while prerendering. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressing Andrew's comments Created 9 years, 2 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: chrome/test/data/prerender/prerender_html5_video_script.html
diff --git a/chrome/test/data/prerender/prerender_html5_video_script.html b/chrome/test/data/prerender/prerender_html5_video_script.html
index 9e6595145253793a41e1be9e13eb47d3bf9e3f5a..a4edb33179f2549b6978943fd884f8a472c536eb 100644
--- a/chrome/test/data/prerender/prerender_html5_video_script.html
+++ b/chrome/test/data/prerender/prerender_html5_video_script.html
@@ -5,6 +5,15 @@
-->
<head>
<title>Prerender cancellation for HTML5 video.</title>
+
+ <script>
+ function DidPrerenderPass() {
+ return true;
+ }
+ function DidDisplayPass() {
+ return true;
+ }
+ </script>
</head>
<body>
<div id="vid">

Powered by Google App Engine
This is Rietveld 408576698