diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-21 18:51:44 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-21 18:51:44 +0000 |
commit | c2cd36fda86b9bdfbb36cc340e35cfbc6609fd32 (patch) | |
tree | bee67eb54a0560bef43ea640253dcabbdd226665 /javascript/jsapi/window.bnd | |
parent | a159a4a79b1facc77ae41983e9f96f8117f07f21 (diff) | |
download | netsurf-c2cd36fda86b9bdfbb36cc340e35cfbc6609fd32.tar.gz netsurf-c2cd36fda86b9bdfbb36cc340e35cfbc6609fd32.tar.bz2 |
improve location interface implementation
Diffstat (limited to 'javascript/jsapi/window.bnd')
-rw-r--r-- | javascript/jsapi/window.bnd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/jsapi/window.bnd b/javascript/jsapi/window.bnd index c4e6e88cb..dbc38a796 100644 --- a/javascript/jsapi/window.bnd +++ b/javascript/jsapi/window.bnd @@ -160,7 +160,8 @@ api new %{ return NULL; } - private->location = jsapi_new_Location(cx, NULL, newobject, bw); + private->location = jsapi_new_Location(cx, NULL, newobject, bw, + llcache_handle_get_url(private->htmlc->base.llcache)); if (private->location == NULL) { free(private); return NULL; |