add readonly pathname function in location

pathname function implemented in UrlHelper
'url is null' check is skip for now
This commit is contained in:
yodalee 2015-03-27 22:42:56 +08:00
parent db104b738e
commit 77f3b25e65
3 changed files with 15 additions and 1 deletions

View file

@ -16,6 +16,7 @@ interface URLUtils {
// attribute USVString hostname;
// attribute USVString port;
// attribute USVString pathname;
readonly attribute USVString pathname;
// attribute USVString search;
readonly attribute USVString search;
// attribute URLSearchParams searchParams;