Sha256: f1a58984a1af48720ff028e2f09acafd041622be450e635db98067b45955e98f
Contents?: true
Size: 930 Bytes
Versions: 24
Compression:
Stored size: 930 Bytes
Contents
/** * @author thatcher */ (function(Q){ Q.describe('Window History',{ before:function(){ //setup }, after:function(){ //tear down } }).should('provide the required w3c interfaces', function(){ expect(8); ok(history === window.history, "history is window.history"); ok(history.length, 'history.length'); ok(history.back, 'history.back'); ok(history.forward, 'history.forward'); ok(history.go, 'history.go'); ok(history.item, 'history.item'); //these are generally secured properties of the history //object so we only check that the are defined since //trying to access them will throw an exception ok('current' in history, 'history.current'); ok('previous' in history, 'history.previous'); }); })(QUnit);
Version data entries
24 entries across 24 versions & 4 rubygems