mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 708443 patch 2: disable debug output from animationPolling.js, and add emacs modeline. r=jwir3
This commit is contained in:
parent
fb1745a4c3
commit
d07dde9c30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user