Ignore:
Timestamp:
04/11/11 15:10:24 (2 years ago)
Author:
pablo
Message:

These tests all assume console.log is available in order to function properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/js/test/examples/apiunittestmute.html

    r1724 r1725  
    173173                } else { 
    174174                        document.getElementById("result").innerHTML = "Error at step " + (scriptPos + 1) + ": Got " + script[scriptPos].getter() + " and expected " + script[scriptPos].expectedValue; 
    175                         if (console && console.log) console.log(script[scriptPos].action); 
     175                        if (window.console && console.log) console.log(script[scriptPos].action); 
    176176                } 
    177177            } 
Note: See TracChangeset for help on using the changeset viewer.