Commit Graph

58 Commits

Author SHA1 Message Date
Serge Gautherie
3c1ea54617 Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Ev1) xpcshell.cpp: s/null/nsnull/; bustage fix 2009-08-20 18:07:23 +02:00
Serge Gautherie
915501a755 Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Dv2a) xpcshell.cpp: call crashReporter->SetEnabled(PR_FALSE); r=ted.mielczarek 2009-08-20 17:35:30 +02:00
Robert Sayre
710cad8b2a Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Robert Sayre
a181aec2ed Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Makoto Kato
240dd42e43 Bug 505680 - xpcshell for Symbian. r=mrbkap 2009-07-24 19:05:57 +09:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Benjamin Smedberg
4965608501 Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted 2009-07-17 10:41:26 -04:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Robert Sayre
5248dd661e Merge tracemonkey to mozilla-central. 2009-06-30 12:19:07 -07:00
Mike Hommey
52c585af70 Bug 501241 - xpcshell fails to build when setting EDITLINE. r=mrbkap
--HG--
extra : rebase_source : c41df07d7ccaf98a15335493aa9227788da323ee
2009-06-29 16:10:54 -07:00
Jason Duell
b92a22ef0f Bug 483689. Add fflush to print() and dump() in xpcshell, and do some cleanup. r=mrbkap
--HG--
extra : rebase_source : 4ad9ed9ddada4d6b6705c1f8a4a84c39213bf2f8
2009-06-29 11:01:42 +12:00
timeless@mozdev.org
15a540ba45 Bug 491192 - fixing xpcshell error message; r=ted.mielczarek sr=cbiesinger 2009-05-12 03:38:31 +02:00
Blake Kaplan
32bd109aca Bug 482830 - Use a principal when compiling -e scripts. r+sr=jst 2009-03-11 16:13:01 -07:00
brian crowder
1f7e7c617f Bug 439110 - xpcshell's load() just silently fails for non-existent files; r=mrbkap 2009-03-08 10:38:55 +01:00
Jim Blandy
7defe5d8ef Bug 461841: xpcshell: default to non-interactive when isatty is missing. r=roc 2009-02-16 16:27:13 +01:00
Aiko
cad71e2047 Bug 446689 - xpcshell's load() function doesn't close file handle; r+sr=mrbkap 2009-02-15 17:23:50 +01:00
Vladimir Vukicevic
3bdaaf6021 b=477727; add WINCE_WINDOWS_MOBILE define and associated configure flag; r=ted 2009-02-12 18:26:01 -08:00
Benjamin Smedberg
748193ada5 Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted - fixed patch: XRE_GetBinaryPath gets the file of the executable: we want to pass the parent directory to XPCOM. 2009-01-20 14:56:44 -05:00
Ted Mielczarek
e175cfbb93 bug 470914 followup - don't normalize symlinks in xpcshell's __LOCATION__. r+sr=mrbkap 2009-02-02 08:53:23 -05:00
Walter Meinl
d8710dccee Bug 474366: follow-up patch, r=ted.mielczarek 2009-02-01 10:03:41 +01:00
Peter Weilbacher
5018346dd2 Bug 474366: OS/2 build break in xpcshell.cpp due to bug 470914, p=wuno@lsvw, r=ted.mielczarek 2009-01-30 10:19:43 +01:00
Brad Lassey
36b666091c bug 470914 - fixing build bustage in xpcshell, GetCurrentDirectoryW doesn't exist on windows ce, punt on that platform r+sr=mrbkap 2009-01-22 10:17:22 -05:00
Benjamin Smedberg
361067676a Merge backout of bug 470971 2009-01-20 19:00:24 -05:00
Benjamin Smedberg
4e93b0aaec Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg
ca209777c0 Copy xpcshell instead of symlinking it, so that it knows where it is... Followup to bug 470971 2009-01-20 17:21:03 -05:00
Benjamin Smedberg
0218b0f59a Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Ted Mielczarek
42c738edc4 bug 470914 - add a __LOCATION__ field to the global object for files loaded on the commandline in xpcshell. r=timeless 2009-01-18 12:01:15 -05:00
Jim Blandy
9746bd2c6d Bug 461841: Use configure-defined macros in #ifdefs for WinCE in js/src. r=crowder
Perform the appropriate configure-time tests, and hard-code the
answers for targets that don't support autoconf-style tests.  Check
for the io.h header, and the setbuf and isatty library functions.

In js/src/xpconnect/shell/xpcshell.cpp, use configure-#defined
preprocessor symbols to decide what to #include and use.  The
top-level configure script defines the preprocessor symbols used here.

In js/src/prmjtime.cpp, use them to select the appropriate method for
retrieving fine-grained time information for Windows and WinCE.  The
js/src/configure script defines the preprocessor symbols used here.

(This should cover the issues addressed by patch.v2 in bug 461841,
except for the stdint issue.)
2009-01-16 14:10:48 -08:00
Philipp Kewisch
b18d4c4fbd Fix bug 435474 - Provide a readline function for xpcshell to read a line from stdin. r/sr=mrbkap,a191=beltzner,p=philipp,dbo 2008-11-27 18:25:35 -08:00
Blake Kaplan
5adf556d30 Bug 396851 - Check to see if we're UniversalXPConnect-enabled to allow privileged web pages to unwrap XOWs. r+sr=bzbarsky 2008-10-22 13:15:22 -07:00
Ben Turner
9a82f09922 Bustage fix. 2008-10-12 12:03:40 -07:00
Ben Turner
311284ddff Bug 455436 - "XPConnect insists on using its own error reporter even when another is already set." r+sr=jst. 2008-10-12 11:32:34 -07:00
Igor Bukanov
db18f808c9 Bug 408539 - Storing XPCContext inside JSContext 2008-10-11 19:35:39 +02:00
Arpad Borsos
9b6f558fee Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Robert Sayre
b31572b1d5 Bug 449972 – TM: give xpcshell a JIT switch 2008-08-09 18:36:17 -04:00
Graydon Hoare
78450de1f0 Bug 444845, js hooks to control vtune, r=sayrer 2008-07-29 15:19:26 -07:00
Mike Hommey
0cb69380fc Bug 434492 - "xpcshell doesn't properly report error messages" [p=mh+mozilla@glandium.org (Mike Hommey) r=brendan] 2008-07-12 03:43:09 -05:00
Graydon Hoare
7c4aa69e9d Bug 444023, Add JS functions to stop/start callgrind, r=sayrer 2008-07-08 15:58:08 -07:00
bcrowder@mozilla.com
ad2cd52e5c Backed out changeset f201baf7bf04 (bug 439110), was causing unit-test failures 2008-06-18 15:49:51 -07:00
bcrowder@mozilla.com
d794bbaabb Bug 439110: xpcshell's load() just silently fails for non-existent files, r=brendan, sr=jst 2008-06-18 13:33:54 -07:00
Mark Banner
2919eb146c Bug 435853 Running xpcshell tests involving Mac components leaks memory due to not having an NSAutoreleasePool. r=shaver,sr=brendan 2008-06-03 11:56:09 +01:00
jonas@sicking.cc
3201958a8e Fix redness. Stupid second security manager 2008-04-18 10:51:10 -07:00
reed@reedloden.com
85aa35af10 Bug 419615 - "use JSVERSION_LATEST in xpcshell" (use a context callback to set error-reporter and jsversion default) [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=shaver] 2008-04-09 00:27:16 -07:00
jonas@sicking.cc
9b874a6992 Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz 2008-04-08 17:38:12 -07:00
bzbarsky@mit.edu
f73470cb01 Remove method that no longer exists. 2008-03-18 14:58:46 -07:00
sayrer@gmail.com
0940f6e7ea Bug 411365. Shark functions. r/sr=brendan 2008-01-21 22:37:53 -08:00
sayrer@gmail.com
4475a39348 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
sayrer@gmail.com
721a421573 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 12:42:50 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
jst@mozilla.org
41ea116da8 Fixing bug 410851. Expose a faster way of getting the subject principal, and use that from performance critical code. r+sr=mrbkap@gmail.com 2008-01-04 15:59:12 -08:00