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

Side by Side Diff: LayoutTests/permissionclient/image-permissions.html

Issue 27694002: Ability to block <audio> and <video> media. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Better rebase. Created 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html>
jochen (gone - plz use gerrit) 2014/06/12 14:44:53 please don't change files unrelated to the CL
pwnall-personal 2014/06/13 02:54:47 Done. Sorry!
1 <html> 2 <html>
2 <head> 3 <head>
3 <script> 4 <script>
4 // Blocked images can be reloaded, so neither onload nor onerror is called. 5 // Blocked images can be reloaded, so neither onload nor onerror is called.
5 // Only check here that onload is never called when image is blocked. 6 // Only check here that onload is never called when image is blocked.
6 7
7 if (window.testRunner) { 8 if (window.testRunner) {
8 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
9 testRunner.dumpPermissionClientCallbacks(); 10 testRunner.dumpPermissionClientCallbacks();
10 } 11 }
(...skipping 29 matching lines...) Expand all
40 document.getElementById("img").appendChild(iframe); 41 document.getElementById("img").appendChild(iframe);
41 } 42 }
42 </script> 43 </script>
43 </head> 44 </head>
44 <body> 45 <body>
45 <img src="resources/boston.gif" onload="loaded()"> 46 <img src="resources/boston.gif" onload="loaded()">
46 <div id="img"></div> 47 <div id="img"></div>
47 <div id="results"></div> 48 <div id="results"></div>
48 </body> 49 </body>
49 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698