JavaScript Object:  Location

Properties & Methods Functionality Test Data Test Case
hash Specifies an anchor name in the URL. Regular  Characters. loc004.html
host Specifies the host and domain name, or IP address, of a network host. Regular Characters.  loc005.html
hostname Specifies host:port portion of the URL. Regular Characters.  loc006.html
href Specifies the entire URL. Regular Characters.  loc001.html
pathname  Specifies the URL-path portion of the URL. Regular  Characters. loc002.html
port Specifies the communications port that the server uses. Regular 
Characters. 
loc007.html
protocol Specifies the beginning of the URL. [Basically specifies the protocol in use.] Regular 
Characters.
loc003.html
search  Specifies a query. Regular 
Characters. 
loc008.html
reload  Method that forces a reload of the window's current document.   loc009.html 
replace  Method that loads the specified URL over current history entry.   loc010.html