зеркало из https://github.com/mozilla/pjs.git
Bug 632893 - Remove useless Cc/Ci/Cr/Cu/Services.jsm from Firefox tests; (Av1) /components/places/tests/chrome/.
r=mak77 (a=test-only).
This commit is contained in:
Родитель
40e9c7c104
Коммит
8c87c29426
|
@ -76,9 +76,6 @@
|
|||
*/
|
||||
|
||||
function runTest() {
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
|
||||
var bs = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
|
||||
getService(Ci.nsINavBookmarksService);
|
||||
var ios = Cc["@mozilla.org/network/io-service;1"].
|
||||
|
|
|
@ -72,9 +72,6 @@
|
|||
<![CDATA[
|
||||
|
||||
function runTest() {
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
|
||||
var bs = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
|
||||
getService(Ci.nsINavBookmarksService);
|
||||
var ts = Cc["@mozilla.org/browser/tagging-service;1"].
|
||||
|
|
|
@ -50,10 +50,6 @@
|
|||
}
|
||||
|
||||
function continue_test() {
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
// Add some visits.
|
||||
let vtime = Date.now() * 1000;
|
||||
const ttype = PlacesUtils.history.TRANSITION_TYPED;
|
||||
|
|
|
@ -53,9 +53,6 @@
|
|||
}
|
||||
|
||||
function continue_test() {
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
PlacesUtils.history
|
||||
.addVisit(Services.io.newURI("http://example.tld/", null, null),
|
||||
Date.now() * 1000, null, PlacesUtils.history.TRANSITION_TYPED, false, 0);
|
||||
|
|
|
@ -91,9 +91,6 @@
|
|||
}
|
||||
|
||||
function continue_test() {
|
||||
const Cc = Components.classes;
|
||||
const Ci = Components.interfaces;
|
||||
|
||||
var hs = Cc["@mozilla.org/browser/nav-history-service;1"].
|
||||
getService(Ci.nsINavHistoryService);
|
||||
var bh = hs.QueryInterface(Ci.nsIBrowserHistory);
|
||||
|
|
Загрузка…
Ссылка в новой задаче