зеркало из https://github.com/mozilla/pjs.git
Bug 120891. TestProtocols was including a cookies header file it didn't
need, breaking no-extentions builds. r=bryner, sr=jst, a=dbaron
This commit is contained in:
Родитель
67d3dc97a7
Коммит
f6a02251b4
|
@ -69,10 +69,6 @@
|
|||
#include "nsXPIDLString.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
// this test app handles cookies.
|
||||
#include "nsICookieService.h"
|
||||
static NS_DEFINE_CID(nsCookieServiceCID, NS_COOKIESERVICE_CID);
|
||||
|
||||
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
|
||||
|
@ -557,17 +553,6 @@ main(int argc, char* argv[])
|
|||
|
||||
eventQService->GetThreadEventQueue(NS_CURRENT_THREAD, &gEventQ);
|
||||
|
||||
#if 0 // Jud sez
|
||||
// fire up an instance of the cookie manager.
|
||||
// I'm doing this using the serviceManager for convenience's sake.
|
||||
// Presumably an application will init it's own cookie service a
|
||||
// different way (this way works too though).
|
||||
nsCOMPtr<nsICookieService> cookieService =
|
||||
do_GetService(nsCookieServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
#endif // NECKO
|
||||
|
||||
|
||||
int i;
|
||||
printf("\nTrying to load:\n");
|
||||
for (i=1; i<argc; i++) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче