diff options
author | Vincent Sanders <vince@kyllikki.org> | 2013-06-03 23:10:53 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2013-06-03 23:10:53 +0100 |
commit | ccb0c1cfd19f72bdf3118161e61a37829c160afc (patch) | |
tree | 5448ec252e653fce5a6566f8a34ea68b1181497c /javascript/jsapi/window.bnd | |
parent | 3aba4b778aa416c7a8e86f85610dbf4efb758555 (diff) | |
download | netsurf-ccb0c1cfd19f72bdf3118161e61a37829c160afc.tar.gz netsurf-ccb0c1cfd19f72bdf3118161e61a37829c160afc.tar.bz2 |
implement very, very bad js window.top method
Diffstat (limited to 'javascript/jsapi/window.bnd')
-rw-r--r-- | javascript/jsapi/window.bnd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/javascript/jsapi/window.bnd b/javascript/jsapi/window.bnd index 199fcec9c..cecc8fe72 100644 --- a/javascript/jsapi/window.bnd +++ b/javascript/jsapi/window.bnd @@ -378,6 +378,11 @@ getter self %{ jsret = obj; %} +/* very iffy implementation */ +getter top %{ + jsret = obj; +%} + getter EventHandler %{ /* this implementation is unique to the window object as it is * not a dom node. |