Coyote Browser / Reference

A fresh HTML5 browser engine for HBBTV and embedded systems

²
  • Home
  • FAQ
  • About

Reference Index > Browser Objects

Location

Interface Specification

WhatWG Logo from https://html.spec.whatwg.org/multipage/history.html#the-location-interface
interface Location
{
[Unforgeable] stringifier attribute USVString href;
[Unforgeable] readonly attribute USVString origin;
[Unforgeable] attribute USVString protocol;
[Unforgeable] attribute USVString host;
[Unforgeable] attribute USVString hostname;
[Unforgeable] attribute USVString port;
[Unforgeable] attribute USVString pathname;
[Unforgeable] attribute USVString search;
[Unforgeable] attribute USVString hash;
[Unforgeable] void assign(USVString url);
[Unforgeable] void replace(USVString url);
[Unforgeable] void reload();
[Unforgeable, SameObject] readonly attribute DOMStringList ancestorOrigins;
};
};

Implementation status

Number of constants in JS interface: none
Number of attributes in JS interface: 10/10
Number of functions in JS interface: 3/3

FunctionImplementation status
assignComplete
replaceComplete
reloadComplete

Browser & Device compatibility

Device typeSupport Status
Desktop PC browsersYes
HBBTV 1.5 devicesYes
HBBTV 2.0.x devicesYes

Notes

none

This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021 . Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".