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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/filesystem/file-metadata-after-write.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div>This verifies File.size (for a file from FileSystem API) always returns the fresh size even after the file is modified.</div> 7 <div>This verifies File.size (for a file from FileSystem API) always returns the fresh size even after the file is modified.</div>
8 <div id='console'></div> 8 <div id='console'></div>
9 <script> 9 <script>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 { 72 {
73 if (fileEntryForCleanup) { 73 if (fileEntryForCleanup) {
74 fileEntryForCleanup.remove(endTest, endTest); 74 fileEntryForCleanup.remove(endTest, endTest);
75 return; 75 return;
76 } 76 }
77 endTest(); 77 endTest();
78 } 78 }
79 79
80 function endTest() 80 function endTest()
81 { 81 {
82 if (testRunner) 82 if (window.testRunner)
83 testRunner.notifyDone(); 83 testRunner.notifyDone();
84 } 84 }
85 85
86 </script> 86 </script>
87 </body> 87 </body>
88 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698