diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2019-03-18 18:38:30 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2019-03-18 20:53:41 -0400 |
commit | 2d20c38f8395871facc2b23058770156c30611f5 (patch) | |
tree | 2ce4dcc96774f0292c8146fe7b111bac22a28c41 /toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js | |
parent | 1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d (diff) | |
download | UXP-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.js | 8 |
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); } } |