Bug 708443 patch 2: disable debug output from animationPolling.js, and add emacs modeline. r=jwir3

This commit is contained in:
Daniel Holbert 2011-12-08 17:39:23 -08:00
parent fb1745a4c3
commit d07dde9c30

View File

@ -1,5 +1,7 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
var currentTest;
var gIsRefImageLoaded = false;
const gShouldOutputDebugInfo = false;
function pollForSuccess()
{
@ -119,6 +121,9 @@ AnimationTest.prototype.preloadImage = function()
AnimationTest.prototype.outputDebugInfo = function(message, id, dataUri)
{
if (!gShouldOutputDebugInfo) {
return;
}
var debugElement = document.getElementById(this.debugElementId);
var newDataUriElement = document.createElement("a");
newDataUriElement.setAttribute("id", id);