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

Unified Diff: chrome/test/data/prerender/prerender_html5_video.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.html
diff --git a/chrome/test/data/prerender/prerender_html5_video.html b/chrome/test/data/prerender/prerender_html5_video.html
index d945d19ad9d9bd7538c05daa5da66e0d9178b173..fa2c28cf44ea1093ff97ce4e201fa4dd93e950c8 100644
--- a/chrome/test/data/prerender/prerender_html5_video.html
+++ b/chrome/test/data/prerender/prerender_html5_video.html
@@ -5,6 +5,15 @@
-->
<head>
<title>Prerender cancellation for HTML5 video.</title>
scherkus (not reviewing) 2011/10/05 20:21:58 ditto
Shishir 2011/10/20 21:20:39 Done.
+
+ <script>
+ function DidPrerenderPass() {
+ return true;
+ }
+ function DidDisplayPass() {
+ return true;
+ }
+ </script>
</head>
<body>
<video src="nonexistant.mp4" width="320" height="240" controls="controls">
scherkus (not reviewing) 2011/10/05 20:21:58 nit: you don't need to list width/height (in the
Shishir 2011/10/20 21:20:39 Done.

Powered by Google App Engine
This is Rietveld 408576698