Index: LayoutTests/media/encrypted-media/encrypted-media-utils.js |
diff --git a/LayoutTests/media/encrypted-media/encrypted-media-utils.js b/LayoutTests/media/encrypted-media/encrypted-media-utils.js |
index 54d63b4ebd27e46f3ed188b399e051651181dfb6..5a4f15afaf0c94d2e18c64457b4aa64ebd5ed960 100644 |
--- a/LayoutTests/media/encrypted-media/encrypted-media-utils.js |
+++ b/LayoutTests/media/encrypted-media/encrypted-media-utils.js |
@@ -1,15 +1,15 @@ |
-var console = null; |
+var consoleDiv = null; |
function consoleWrite(text) |
{ |
- if (!console && document.body) { |
- console = document.createElement('div'); |
- document.body.appendChild(console); |
+ if (!consoleDiv && document.body) { |
+ consoleDiv = document.createElement('div'); |
+ document.body.appendChild(consoleDiv); |
} |
var span = document.createElement('span'); |
span.appendChild(document.createTextNode(text)); |
span.appendChild(document.createElement('br')); |
- console.appendChild(span); |
+ consoleDiv.appendChild(span); |
} |
// Returns a promise that is fulfilled with true if |initDataType| is supported, |