summaryrefslogtreecommitdiffstats
path: root/toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2019-03-18 18:38:30 -0400
committerGaming4JC <g4jc@bulletmail.org>2019-03-18 20:53:41 -0400
commit2d20c38f8395871facc2b23058770156c30611f5 (patch)
tree2ce4dcc96774f0292c8146fe7b111bac22a28c41 /toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
parent1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d (diff)
downloadUXP-2d20c38f8395871facc2b23058770156c30611f5.tar
UXP-2d20c38f8395871facc2b23058770156c30611f5.tar.gz
UXP-2d20c38f8395871facc2b23058770156c30611f5.tar.lz
UXP-2d20c38f8395871facc2b23058770156c30611f5.tar.xz
UXP-2d20c38f8395871facc2b23058770156c30611f5.zip
Issue #756 - Remove Contextual Identity from UnifiedComplete
reverts m-c 1287866
Diffstat (limited to 'toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js')
-rw-r--r--toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js b/toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
index 11e917e18..bc252efe0 100644
--- a/toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
+++ b/toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
@@ -286,19 +286,19 @@ var addBookmark = Task.async(function* (aBookmarkObj) {
}
});
-function addOpenPages(aUri, aCount=1, aUserContextId=0) {
+function addOpenPages(aUri, aCount=1) {
let ac = Cc["@mozilla.org/autocomplete/search;1?name=unifiedcomplete"]
.getService(Ci.mozIPlacesAutoComplete);
for (let i = 0; i < aCount; i++) {
- ac.registerOpenPage(aUri, aUserContextId);
+ ac.registerOpenPage(aUri);
}
}
-function removeOpenPages(aUri, aCount=1, aUserContextId=0) {
+function removeOpenPages(aUri, aCount=1) {
let ac = Cc["@mozilla.org/autocomplete/search;1?name=unifiedcomplete"]
.getService(Ci.mozIPlacesAutoComplete);
for (let i = 0; i < aCount; i++) {
- ac.unregisterOpenPage(aUri, aUserContextId);
+ ac.unregisterOpenPage(aUri);
}
}