summaryrefslogtreecommitdiff
path: root/extensions/perdomainsettings
diff options
context:
space:
mode:
authorportix <none@none>2013-03-04 12:37:52 +0100
committerportix <none@none>2013-03-04 12:37:52 +0100
commitad996d9cf4e143b17feeee9e4d43542169a7091b (patch)
tree6941305d4da9463a4e39ddddb586f86645d776c6 /extensions/perdomainsettings
parent69cc2ce8bff1f3d8bdac9977230d18e6c31bfc57 (diff)
downloaddwb-ad996d9cf4e143b17feeee9e4d43542169a7091b.zip
Use _initNewContext to initialize scripts, change setPrivate/getPrivate api
Diffstat (limited to 'extensions/perdomainsettings')
-rw-r--r--extensions/perdomainsettings4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/perdomainsettings b/extensions/perdomainsettings
index 90e95538..e50fca37 100644
--- a/extensions/perdomainsettings
+++ b/extensions/perdomainsettings
@@ -165,11 +165,11 @@ function onNavigation(wv, frame, request, action)
var value;
- var o = wv.getPrivate("pds", script);
+ var o = script.getPrivate(wv, "pds");
if (! o)
{
o = { webview : wv, defaults : false, settings : wv.settings };
- wv.setPrivate("pds", o, script);
+ script.setPrivate(wv, "pds");
}
o.set = {};
var uri = request.uri;