summaryrefslogtreecommitdiff
path: root/extensions/perdomainsettings
diff options
context:
space:
mode:
authorportix <none@none>2013-03-15 04:13:20 +0100
committerportix <none@none>2013-03-15 04:13:20 +0100
commitfa00d93c8ddd539617b8257cc7542578ce1818f1 (patch)
treebbdab6ccc32f432b6f80f4033e4b53c89c5f4e2b /extensions/perdomainsettings
parent5792415c791c941915deea0205babf6c1429845f (diff)
downloaddwb-fa00d93c8ddd539617b8257cc7542578ce1818f1.zip
Inline documentation of javascript api; clean up api: new namespaces net and
timer; this refers to connected object in GObject.connect, moving prototype declarations from util.js to dwb.js; moving some functions from global namespace to util
Diffstat (limited to 'extensions/perdomainsettings')
-rw-r--r--extensions/perdomainsettings2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/perdomainsettings b/extensions/perdomainsettings
index 91b7e4cc..df2645ca 100644
--- a/extensions/perdomainsettings
+++ b/extensions/perdomainsettings
@@ -174,7 +174,7 @@ function onNavigation(wv, frame, request, action)
o.set = {};
var uri = request.uri;
var host = request.message.uri.host;
- var domain = util.domainFromHost(host);
+ var domain = net.domainFromHost(host);
var rTld = new RegExp(domain.substring(domain.indexOf(".") + 1) + "$");
var domainTld = domain.replace(rTld, "tld");
var hostTld = host.replace(rTld, "tld");