Sha256: 42f3e093b3e748eeee0a44b8b6349bb4c3b66f4cd4afb571bbf36c3bb13939b3

Contents?: true

Size: 1013 Bytes

Versions: 24

Compression:

Stored size: 1013 Bytes

Contents

/**
 * @author thatcher
 */

(function(Q){

    Q.describe('Window Location',{

        before:function(){
            //setup
        },
        after:function(){
            //tear down
        }    
        
    }).should('provide required w3c interfaces', function(){

        expect(12);
        ok(location === window.location, "location is window.location");
        ok('href' in location,      'location.href');
        ok('hash' in location,      'location.hash');
        ok('host' in location,      'location.host');
        ok('hostname' in location,  'location.hostname');
        ok('pathname' in location,  'location.pathname');
        ok('port' in location,      'location.port');
        ok('search' in location,    'location.search');
        ok(location.protocol,       'location.protocol');
        ok(location.reload,         'location.reload');
        ok(location.replace,        'location.replace');
        ok(location.assign,         'location.assign');
        
    });
    
})(QUnit);

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
envjs19-0.3.8.20101029121421 test/specs/window/location.js
envjs-0.3.8 test/specs/window/location.js
envjs-0.3.7 test/specs/window/location.js
envjs-0.3.6 test/specs/window/location.js
envjs-0.3.5 test/specs/window/location.js
envjs-0.3.4 test/specs/window/location.js
envjs-0.3.3 test/specs/window/location.js
envjs-0.3.2 test/specs/window/location.js
envjs-0.3.1 test/specs/window/location.js
envjs-0.3.0 test/specs/window/location.js
envjs-0.2.0 test/specs/window/location.js
envjs-0.1.7 test/specs/window/location.js
envjs-0.1.6 test/specs/window/location.js
envjs-0.1.5 test/specs/window/location.js
envjs-0.1.4 test/specs/window/location.js
envjs-0.1.3 test/specs/window/location.js
harmony-0.5.1 vendor/envjs/test/specs/window/location.js
harmony-0.5 vendor/envjs/test/specs/window/location.js
envjs-0.1.2 test/specs/window/location.js
envjs-0.1.1 test/specs/window/location.js