Chromium Code Reviews| Index: LayoutTests/media/video-test.js |
| diff --git a/LayoutTests/media/video-test.js b/LayoutTests/media/video-test.js |
| index e558c1db9a90094ddbfc71a27856c090e750edfb..e2055e405a7c524c0860dc7c1144cc8023984a46 100644 |
| --- a/LayoutTests/media/video-test.js |
| +++ b/LayoutTests/media/video-test.js |
| @@ -1,7 +1,7 @@ |
| var video = null; |
| var mediaElement = document; // If not set, an event from any element will trigger a waitForEvent() callback. |
| -var console = null; |
| +var consoleLog = null; |
|
philipj_slow
2015/07/01 08:32:25
I'd call it consoleDiv or consoleElement to avoid
Srirama
2015/07/01 09:48:38
Done.
|
| var printFullTestDetails = true; // This is optionaly switched of by test whose tested values can differ. (see disableFullTestDetailsPrinting()) |
| var Failed = false; |
| @@ -33,11 +33,11 @@ function enableFullTestDetailsPrinting() |
| function logConsole() |
| { |
| - if (!console && document.body) { |
| - console = document.createElement('div'); |
| - document.body.appendChild(console); |
| + if (!consoleLog && document.body) { |
| + consoleLog = document.createElement('div'); |
| + document.body.appendChild(consoleLog); |
| } |
| - return console; |
| + return consoleLog; |
| } |
| function findMediaElement() |