зеркало из https://github.com/mozilla/pjs.git
adding jar performance test
This commit is contained in:
Родитель
45e057f2f8
Коммит
252a641730
|
@ -0,0 +1,271 @@
|
|||
#include <stdio.h>
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIEventQueueService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
static nsIIOService *gIOService = nsnull;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static PRBool
|
||||
load_sync_1(nsISupports *element, void *data)
|
||||
{
|
||||
nsCOMPtr<nsIInputStream> stream;
|
||||
nsCOMPtr<nsIURI> uri( do_QueryInterface(element) );
|
||||
nsresult rv;
|
||||
|
||||
rv = NS_OpenURI(getter_AddRefs(stream), uri, gIOService);
|
||||
if (NS_FAILED(rv)) {
|
||||
nsXPIDLCString spec;
|
||||
uri->GetSpec(getter_Copies(spec));
|
||||
fprintf(stderr, "*** failed opening %s [rv=%x]\n", spec.get(), rv);
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
char buf[4096];
|
||||
PRUint32 bytesRead;
|
||||
|
||||
while (1) {
|
||||
rv = stream->Read(buf, sizeof(buf), &bytesRead);
|
||||
if (NS_FAILED(rv) || bytesRead == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
static nsresult
|
||||
load_sync(nsISupportsArray *urls)
|
||||
{
|
||||
urls->EnumerateForwards(load_sync_1, nsnull);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static int gRequestCount = 0;
|
||||
static nsIEventQueue *gEventQ = 0;
|
||||
|
||||
|
||||
class MyListener : public nsIStreamListener
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIREQUESTOBSERVER
|
||||
NS_DECL_NSISTREAMLISTENER
|
||||
|
||||
MyListener() { NS_INIT_ISUPPORTS(); }
|
||||
virtual ~MyListener() {}
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS2(MyListener, nsIStreamListener, nsIRequestObserver)
|
||||
|
||||
NS_IMETHODIMP
|
||||
MyListener::OnStartRequest(nsIRequest *req, nsISupports *ctx)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
MyListener::OnDataAvailable(nsIRequest *req, nsISupports *ctx,
|
||||
nsIInputStream *stream,
|
||||
PRUint32 offset, PRUint32 count)
|
||||
{
|
||||
nsresult rv;
|
||||
char buf[4096];
|
||||
PRUint32 n, bytesRead;
|
||||
while (count) {
|
||||
n = PR_MIN(count, sizeof(buf));
|
||||
rv = stream->Read(buf, n, &bytesRead);
|
||||
if (NS_FAILED(rv))
|
||||
break;
|
||||
count -= bytesRead;
|
||||
if (bytesRead == 0)
|
||||
break;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
static void *PR_CALLBACK
|
||||
ShutdownEvent_Handler(PLEvent *ev)
|
||||
{
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
static void PR_CALLBACK
|
||||
ShutdownEvent_Cleanup(PLEvent *ev)
|
||||
{
|
||||
delete ev;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
MyListener::OnStopRequest(nsIRequest *req, nsISupports *ctx, nsresult status)
|
||||
{
|
||||
if (NS_FAILED(status)) {
|
||||
nsXPIDLString spec;
|
||||
req->GetName(getter_Copies(spec));
|
||||
fprintf(stderr, "*** failed loading %s\n", NS_ConvertUCS2toUTF8(spec).get());
|
||||
}
|
||||
if (--gRequestCount == 0) {
|
||||
// post shutdown event
|
||||
PLEvent *ev = new PLEvent;
|
||||
PL_InitEvent(ev, nsnull,
|
||||
ShutdownEvent_Handler,
|
||||
ShutdownEvent_Cleanup);
|
||||
gEventQ->PostEvent(ev);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
static PRBool
|
||||
load_async_1(nsISupports *element, void *data)
|
||||
{
|
||||
nsCOMPtr<nsIURI> uri( do_QueryInterface(element) );
|
||||
if (!uri)
|
||||
return PR_TRUE;
|
||||
|
||||
MyListener *listener = new MyListener();
|
||||
if (!listener)
|
||||
return PR_TRUE;
|
||||
NS_ADDREF(listener);
|
||||
nsresult rv = NS_OpenURI(listener, nsnull, uri, gIOService);
|
||||
NS_RELEASE(listener);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
gRequestCount++;
|
||||
else
|
||||
printf(">> NS_OpenURI failed [rv=%x]\n", rv);
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
static nsresult
|
||||
load_async(nsISupportsArray *urls)
|
||||
{
|
||||
nsresult rv;
|
||||
|
||||
// Create the Event Queue for this thread...
|
||||
nsCOMPtr<nsIEventQueueService> eqs(
|
||||
do_GetService("@mozilla.org/event-queue-service;1", &rv) );
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = eqs->CreateMonitoredThreadEventQueue();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = eqs->GetThreadEventQueue(NS_CURRENT_THREAD, &gEventQ);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
urls->EnumerateForwards(load_async_1, nsnull);
|
||||
|
||||
while (1) {
|
||||
PLEvent *ev;
|
||||
gEventQ->WaitForEvent(&ev);
|
||||
if (gRequestCount == 0)
|
||||
break;
|
||||
gEventQ->HandleEvent(ev);
|
||||
}
|
||||
NS_RELEASE(gEventQ);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static nsresult
|
||||
read_file(const char *fname, nsISupportsArray *urls)
|
||||
{
|
||||
FILE *fp = fopen(fname, "r");
|
||||
if (!fp) {
|
||||
printf("failed opening file: %s\n", fname);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
nsresult rv;
|
||||
char buf[512];
|
||||
while (fgets(buf, sizeof(buf), fp)) {
|
||||
// remove trailing newline
|
||||
buf[strlen(buf) - 1] = 0;
|
||||
rv = NS_NewURI(getter_AddRefs(uri), buf, nsnull, gIOService);
|
||||
if (NS_FAILED(rv))
|
||||
printf("*** ignoring malformed uri: %s\n", buf);
|
||||
else {
|
||||
//nsXPIDLCString spec;
|
||||
//uri->GetSpec(getter_Copies(spec));
|
||||
//printf("read url: %s\n", spec.get());
|
||||
urls->AppendElement(uri);
|
||||
}
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static void
|
||||
print_usage()
|
||||
{
|
||||
printf("usage: TestPerf [-sync|-async] <file-of-urls>\n");
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
nsresult rv;
|
||||
PRBool sync;
|
||||
|
||||
if (argc < 3) {
|
||||
print_usage();
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (PL_strcasecmp(argv[1], "-sync") == 0)
|
||||
sync = PR_TRUE;
|
||||
else if (PL_strcasecmp(argv[1], "-async") == 0)
|
||||
sync = PR_FALSE;
|
||||
else {
|
||||
print_usage();
|
||||
return -1;
|
||||
}
|
||||
|
||||
rv = nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, NULL);
|
||||
if (NS_FAILED(rv)) return -1;
|
||||
|
||||
// cache the io service
|
||||
{
|
||||
nsCOMPtr<nsIIOService> ioserv( do_GetIOService() );
|
||||
NS_ADDREF(gIOService = ioserv);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsISupportsArray> urls;
|
||||
rv = NS_NewISupportsArray(getter_AddRefs(urls));
|
||||
if (NS_FAILED(rv)) return -1;
|
||||
|
||||
rv = read_file(argv[2], urls);
|
||||
if (NS_FAILED(rv)) {
|
||||
printf("failed reading file-of-urls\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
PRUint32 urlCount;
|
||||
urls->Count(&urlCount);
|
||||
|
||||
PRIntervalTime start = PR_IntervalNow();
|
||||
|
||||
if (sync)
|
||||
rv = load_sync(urls);
|
||||
else
|
||||
rv = load_async(urls);
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
printf("load failed\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
PRIntervalTime end = PR_IntervalNow();
|
||||
fprintf(stderr, "read: %u urls; total time: %u milliseconds\n",
|
||||
urlCount,
|
||||
PR_IntervalToMilliseconds(end - start));
|
||||
|
||||
NS_RELEASE(gIOService);
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,216 @@
|
|||
jar:resource:///chrome/modern.jar!/skin/modern/global/scrollbar/btn-lft.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/scrollbar/btn-rit.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/scrollbar/btn-up.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/scrollbar/btn-dn.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/icons/online.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/icons/lock-insecure.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/back.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/back-hov.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/back-act.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/forward.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/forward-hov.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/forward-act.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/reload-hov.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/reload-act.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/stop-hov.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/stop-act.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/btn1/print-hov.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/btn1/print-act.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/taskbar/navigator.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/taskbar/mail.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/taskbar/composer.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/taskbar/addressbook.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/sidebar/sbpicker-arrow.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/home.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/bookmark-folder-closed.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/back-dis.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/forward-dis.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/reload.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/stop.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/btn1/print.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/tbmbtn-arrow.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-lft-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-lft-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-lft-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-mid-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-mid-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-act-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-lft-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-lft-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-lft-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-mid-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-mid-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-def-act-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/brand/throbber-single.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/bookmark-item.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/search.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/ubhist-arrow.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/bookmark-item-dis.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/brand/throbber-anim.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/menu/mbgrip-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/menu/mbgrip-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/menu/mbgrip-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-grip-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-grip-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-grip-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/navbar-mid-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-mid-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/prtb-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-lft-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-lft-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-lft-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-lft-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-lft-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-lft-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-mid-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-mid-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-mid-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/urlbar-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-lft-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-lft-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-lft-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-mid-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-mid-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button/btn-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-rit-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-rit-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/toolbar/nav-groove-rit-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbar/tb-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbar/tbgrip-mid.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbar/tbgrip-top.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbar/tbgrip-btm.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/sidebar/grip-sidebar-before.gif
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/scrollbars.css
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/xul.css
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/platformXUL.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/navigator.css
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/navigator.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/communicator.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/personalToolbar.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/sidebar/sidebar.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/global.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/brand.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/button.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/formatting.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/bookmarksToolbar.css
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/global/intl.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/formatting.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/bookmarks/bookmarks.css
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/utilityOverlay.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/tasksOverlay.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/linkToolbar.css
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/sidebar/sidebarOverlay.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/securityOverlay.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/popup.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbar.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/splitter.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/browser.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/toolbarbutton.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/progressmeter.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/menu.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/tabbox.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/button.css
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/autocomplete.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/autocomplete.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/textbox.css
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/outliner.css
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/outliner.css
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/global/brand.dtd
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/build.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/navigator/navigator.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/wallet/walletNavigatorOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/contentAreaCommands.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/messenger/mailNavigatorOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/messenger/mailOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/editor/editorNavigatorOverlay.dtd
|
||||
jar:resource:///chrome/US.jar!/locale/US/global-region/region.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/utilityOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/help/helpMenuOverlay.dtd
|
||||
jar:resource:///chrome/en-win.jar!/locale/en-US/global-platform/platformGlobalOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/viewZoomOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/tasksOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/messenger/mailTasksOverlay.dtd
|
||||
jar:resource:///chrome/venkman.jar!/locale/en-US/venkman/venkman-overlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/cookie/cookieTasksOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/wallet/walletTasksOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/global/charsetOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/navigator/linkToolbar.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/sidebar/sidebarOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/cookie/cookieContextOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/wallet/walletContextOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/securityOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/bookmarks/bookmarksOverlay.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/global/tabbrowser.dtd
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/global/textcontext.dtd
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/navigator.xul
|
||||
jar:resource:///chrome/comm.jar!/content/wallet/walletNavigatorOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/navigatorOverlay.xul
|
||||
jar:resource:///chrome/messenger.jar!/content/messenger/mailNavigatorOverlay.xul
|
||||
jar:resource:///chrome/messenger.jar!/content/messenger/mailOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/editor/editorNavigatorOverlay.xul
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/globalOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/utilityOverlay.xul
|
||||
jar:resource:///chrome/help.jar!/content/help/helpMenuOverlay.xul
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/platformGlobalOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/viewZoomOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/tasksOverlay.xul
|
||||
jar:resource:///chrome/messenger.jar!/content/messenger/mailTasksOverlay.xul
|
||||
jar:resource:///chrome/venkman.jar!/content/venkman/venkman-overlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/cookie/cookieTasksOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/wallet/walletTasksOverlay.xul
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/charsetOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/platformNavigationBindings.xul
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/navExtraOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/linkToolbarOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/sidebar/sidebarOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/contentAreaContextOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/cookie/cookieContextOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/wallet/walletContextOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/securityOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/communicatorOverlay.xul
|
||||
jar:resource:///chrome/comm.jar!/content/communicator/bookmarks/bookmarksOverlay.xul
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/scrollbar.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/general.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/global/globalBindings.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/stringbundle.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/resources.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/popup.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/toolbar.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/splitter.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/sidebar/sidebarBindings.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/tabbrowser.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/toolbarbutton.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/text.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/progressmeter.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/menu.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/toolbar/toolbarBindings.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/tabbox.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/browser.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/button.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/navigator/navigatorBindings.xml
|
||||
jar:resource:///chrome/modern.jar!/skin/modern/communicator/brand/brandBindings.xml
|
||||
jar:resource:///chrome/comm.jar!/content/navigator/urlbarBindings.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/autocomplete.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/textbox.xml
|
||||
jar:resource:///chrome/toolkit.jar!/content/global/bindings/outliner.xml
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/navigator/navigator.properties
|
||||
jar:resource:///chrome/en-win.jar!/locale/en-US/navigator-platform/navigator.properties
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/necko/necko.properties
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/bookmarks/bookmark.properties
|
||||
jar:resource:///chrome/en-win.jar!/locale/en-US/global-platform/platformKeys.properties
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/utilityOverlay.properties
|
||||
jar:resource:///chrome/US.jar!/locale/US/navigator-region/region.properties
|
||||
jar:resource:///chrome/en-US.jar!/locale/en-US/communicator/viewZoomOverlay.properties
|
||||
jar:resource:///chrome/US.jar!/locale/US/communicator-region/region.properties
|
||||
jar:resource:///chrome/US.jar!/locale/US/global-region/builtinURLs.rdf
|
|
@ -48,11 +48,12 @@ PROGF = .\$(OBJDIR)\TestHttp.exe
|
|||
PROGG = .\$(OBJDIR)\TestIDN.exe
|
||||
PROGH = .\$(OBJDIR)\TestStandardURL.exe
|
||||
PROGI = .\$(OBJDIR)\TestURLParser.exe
|
||||
PROGJ = .\$(OBJDIR)\TestPerf.exe
|
||||
|
||||
PROGRAMS = \
|
||||
$(PROG1) $(PROG2) $(PROG3) $(PROG4) $(PROG5) $(PROG6) $(PROG7) $(PROG8)\
|
||||
$(PROGA) $(PROGB) $(PROGC) $(PROGD) $(PROGE) $(PROGF) $(PROGG)\
|
||||
$(PROGH) $(PROGI)
|
||||
$(PROGH) $(PROGI) $(PROGJ)
|
||||
|
||||
LCFLAGS=-DUSE_NSREG -GX
|
||||
|
||||
|
@ -72,6 +73,7 @@ libs:: $(PROGRAMS)
|
|||
-for %p in ($(PROGRAMS)) do $(MAKE_INSTALL) %p $(DIST)\bin
|
||||
$(MAKE_INSTALL) urlparse.dat $(DIST)\bin\res
|
||||
$(MAKE_INSTALL) urlparse_win.dat $(DIST)\bin\res
|
||||
$(MAKE_INSTALL) jarlist.dat $(DIST)\bin\res
|
||||
|
||||
clobber::
|
||||
-for %p in ($(PROGRAMS)) do $(RM) %p $(DIST)\bin\%p
|
||||
|
@ -110,5 +112,7 @@ $(PROGH): $(OBJDIR) TestStandardURL.cpp
|
|||
|
||||
$(PROGI): $(OBJDIR) TestURLParser.cpp
|
||||
|
||||
$(PROGI): $(OBJDIR) TestPerf.cpp
|
||||
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче