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

Side by Side Diff: LayoutTests/fast/dom/beforeload/clear-video-poster-in-beforeload-listener.html

Issue 10918284: Merge 128654 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/beforeload/clear-video-poster-in-beforeload-listener-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p>This page tests that you can correctly clear a video object's poster attribut e in a beforeload listener without causing a crash.</p> 4 <p>This page tests that you can correctly clear a video object's poster attribut e in a beforeload listener without causing a crash.</p>
5 <div id="console">FAIL: test didn't run to completion.</div> 5 <div id="console">FAIL: test didn't run to completion.</div>
6 <script> 6 <script>
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 } 10 }
11 x = document.createElement('video'); 11 x = document.createElement('video');
12 x.addEventListener('beforeload', function () { 12 x.addEventListener('beforeload', function () {
13 x.removeAttribute('poster'); 13 x.removeAttribute('poster');
14 document.getElementById('console').textContent = 'PASS: test completed.'; 14 document.getElementById('console').textContent = 'PASS: test completed.';
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.notifyDone(); 16 testRunner.notifyDone();
17 }, false); 17 }, false);
18 x.poster = 'foobar'; 18 x.poster = 'foobar';
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/beforeload/clear-video-poster-in-beforeload-listener-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698