Andreas Gal
f796bcd60a
Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de
Backing out bug 477187. Breaks xpcshell.
2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac
Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-09 18:20:50 -08:00
Jeff Walden
3c038a63cb
Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan
2009-02-03 13:56:25 -08:00
Mark Banner
11f1eafae9
Bug 476676 --enable-static builds (for comm-central apps) broken on trunk due to xpcshell requiring libxul - disable building of xpcshell for static builds. r=ted.mielczarek
2009-02-04 08:15:24 +00:00
Nickolay_Ponomarev
1820b09634
Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky
2009-02-03 15:42:21 +01:00
Ben Turner
60956ac6bd
Bug 460882. r+sr=mrbkap.
2009-02-16 13:16:13 -08: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
Jesse Ruderman
f154077a31
Add crashtests
2009-02-13 14:54:17 -08: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
L. David Baron
89a43a453a
Merge backout of changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that may be causing chrome and a11y tests not to start.
2009-02-06 20:57:35 -08:00
L. David Baron
9cd8a585e6
Backed out changeset 423eea03fb54 (Bug 460882) for being one of the two changesets that's causing chrome and a11y tests not to start.
2009-02-06 20:57:11 -08:00
Ben Turner
6a62636303
Bug 467900 - 'nsScriptSecurityManager not thread-safe called by IsCallerChrome'. p=timeless+bent, r+sr=jst, a=blocking1.9.1+
2009-02-06 16:01:21 -08:00
Ben Turner
a6d6b36d50
Bug 460882. r+sr=mrbkap, a=blocking1.9.1
2009-02-06 16:01:16 -08:00
Benjamin Smedberg
c43bd56aa5
Backed out changeset 64d5b7cdeb69 - bug 476643 because of Windows bustage (js_LeaveTrace is not a friend API)
2009-02-05 20:20:03 -05:00
Benjamin Smedberg
2a67684f74
Bug 476643 - mozilla code uses some JS-internal APIs and needs to bail off trace before doing so. This shouldn't actually affect runtime now, because XPConnect doesn't use traceable natives. But in the 1.9.2 future we want to use traceable natives r=mrbkap r=jorendorff
2009-02-05 19:57:34 -05: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
Atul Varma
3ab92bc3a0
bug 445873 - let callers of Components.utils.Sandbox specify JS version; r+sr=mrbkap
2009-01-30 13:17:23 -08: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
Blake Kaplan
ce01acfd86
Bug 475185 - Add a crashtest.
2009-01-27 15:34:16 -08:00
Blake Kaplan
0b7c1577e8
Bug 475185 - Fast natives don't enforce minargs, so we have to do it ourselves. r=jorendorff sr=brendan
2009-01-26 16:55:53 -08:00
Blake Kaplan
b4c4aae1e9
Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan
2009-01-26 16:55:43 -08:00
Peter Van der Beken
690b96a622
Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.
2009-01-26 14:12:37 +01:00
Peter Van der Beken
367cc8bd4d
Backed out changeset 81428de4b5dc (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.).
2009-01-26 09:09:22 +01:00
Peter Van der Beken
3529749b50
Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.
2009-01-26 08:44:22 +01:00
Peter Van der Beken
d692e5fef1
Fix for bug 443483 (Closed windows need two cycle collections to be collected). r=bent, sr=jst, a=jst.
2009-01-25 15:34:26 +01:00
Peter Van der Beken
810702a01e
Back out changeset e919f0c1dfa9 (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to try to fix red on leak tinderboxes.
2009-01-24 23:13:29 +01:00
Peter Van der Beken
e3d2fe16b2
Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.
2009-01-24 18:28:40 +01:00
Peter Van der Beken
7522cec61c
Fix DEBUG_CC build. NPOTB.
2009-01-24 18:28:33 +01:00
Igor Bukanov
f28d80b499
Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak.
2009-03-22 10:15:27 +01:00
Igor Bukanov
a61176553e
bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan
2009-03-22 10:07:14 +01:00
Blake Kaplan
2ddd004009
Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan
2009-01-23 15:44:01 -08:00
Peter Van der Beken
5a2f84bb76
Back out changeset 32dc89bc34ad (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to fix orange.
2009-01-23 17:05:05 +01:00
Peter Van der Beken
9157343457
Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.
2009-01-23 15:47:24 +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
Daniel Holbert
2a7d88e05a
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Blake Kaplan
dade53b4d3
Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst
2009-01-16 18:05:14 -08: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
Blake Kaplan
a0d6f6e2e6
Backed out changeset 5d3af3ff9639. It doesn't allow UniversalXPConnect scripts to arbitrarily unwrap XPCNativeWrappers.
2009-01-16 19:36:38 -08:00
Blake Kaplan
38471d2166
Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst
...
--HG--
extra : rebase_source : 628b9152dd0bd16cc5d211e949fe1921070d01a2
2009-01-16 18:05:14 -08: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
L. David Baron
bb123815cb
Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
...
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
timeless@mozdev.org
3d9be831e9
Bug 422340 Firefox 3 beta 4 gives unhelpful slowscript warning on leaving gmail, r+sr=mrbkap
2009-01-15 20:02:21 -08:00
Phil Ringnalda
4d8777d31a
Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking
2009-01-15 20:02:21 -08:00
Blake Kaplan
52a4e552ea
Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst
2009-01-15 16:34:55 -08:00
Blake Kaplan
57f49c4364
Bug 473437 - DumpJSStack() can set a pending exception in cx. r+sr=jst
2009-01-15 16:34:54 -08:00
Robert Sayre
e21c1a1d06
Merge m-c to tracemonkey.
...
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2009-01-14 18:25:22 -05:00
Igor Bukanov
c032867e33
bug 472702 - using watchdog thread in js shell to trigger operation callback
2009-01-14 18:23:51 +01:00
Peter Van der Beken
e557d2b23c
Make DEBUG_CC compile again (broken by the fix for bug 458099). r=bent, NPOTB.
2009-01-14 13:24:10 +01:00
Jesse Ruderman
22cd32241d
Add five crashtests
2009-01-06 16:47:56 -08:00
Blake Kaplan
872a17cbfa
Bug 470720 - Don't automatically unwrap XOWs or SJOWs in XPCNativeWrappers. r+sr=jst
...
--HG--
extra : rebase_source : a670c95a103ae0ced9ff50b31d07c7f7958d9339
2009-01-06 14:17:02 -05:00
Blake Kaplan
d269689358
Bug 471366 - Deal with XPCNativeWrapper.prototype correctly. r+sr=jst
...
--HG--
extra : rebase_source : d651d4f31f41e17a5c31b586cb5906eb7aaab271
2009-01-06 14:16:58 -05:00
Neil Rashbrook
ccb6cd7be8
Bug 488265 Use an XPCOM array enumerator instead of rolling our own r+sr=mrbkap
2009-04-22 13:18:52 +01:00
Ben Newman
98580647cc
Bug 467865 - [@ js_RemoveRoot - ... - XPCThrower::ThrowExceptionObject] xpconnect is misusing nsCOMPtr. r=jonas+sr=jst
2009-04-21 16:09:29 -07:00
brian :crowder
b073b8193c
Bug 339587 - content canvas getImageData always returns null from chrome context; r+sr=mrbkap
2009-04-20 12:29:40 +02:00
Peter Van der Beken
78fa6325a2
Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst.
2009-01-02 18:00:18 +01:00
Bo Yang
86206e20f5
Bug 453094 - Some strong type conversion make GCC not complain; r=jorendorff sr=peterv
2009-01-02 07:21:26 +01:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Phil Ringnalda
b6f4c63c3c
Backed out changeset e0cce6a738c9 (Bug 466224 - Make quickstubs call nsINode/nsINodeList methods) for failing mochitest
2008-12-31 18:21:52 -08:00
Peter Van der Beken
9f2cfc5446
Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst.
2008-12-31 14:55:20 +01:00
Daniel Holbert
1a0f0f4f41
Backed out changeset 58c5864cb9c6 (Bug 518991) due to linux orange (test failure in test_bug408328.html & 9240-byte leak)
2009-09-30 23:42:27 -07:00
Blake Kaplan
600a99904a
Bug 518991 - Implement access controls in COWs. For now, this is opt-in default unsafe. r=jst
2009-09-30 19:38:57 -07:00
Blake Kaplan
79a79a0e55
Bug 504021 - Add an API to the script security manager to clamp principals for a given context. r=jst/bzbarsky sr=dveditz
2009-08-21 18:20:20 -07:00
Blake Kaplan
455411090a
Bug 519145 - Make iteration over XPCNWs work again. r=jst
2009-09-30 15:15:51 -07:00
Blake Kaplan
d0090a8583
Bug 505915 - Throw exceptions eagerly when we try to convert a cross-origin security wrapper to a C++ object. r=jst
2009-09-02 17:25:25 -07:00
Blake Kaplan
53c99f5fd8
Bug 514435 - Change up wrapperization a little. r=jst sr=sicking
2009-09-30 15:15:51 -07:00
Jae-Seong Lee
9fc5cf1063
Bug 483721 - Add support for toggling strict+error mode to xpcshell, for use within xpcshell tests for detecting typos and such. Hopefully we can make strict+error opt-out eventually, but for now it's opt-in as existing tests don't work correctly with it. r=jwalden
...
--HG--
extra : rebase_source : ee259e89ae67950da1673cde3b69f5b4c239de0e
2009-09-28 11:34:57 -07:00
Boris Zbarsky
51e7cd5b8d
Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff
2009-09-24 13:59:43 -04:00
Blake Kaplan
d34f6dd726
Bug 468552 - Enforce 'funobj' conditions in the XPCNativeWrapper case. r+sr=jst
...
--HG--
extra : rebase_source : 6023cc8a797167551461fe6f8fb003d98b4f5b9b
2008-12-19 15:47:20 -08:00
Peter Van der Beken
0eeeec31c5
Switch to sets module instead of using builtin set type to support Python 2.3 on mobile. Bustage fix.
2008-12-16 17:20:38 +01:00
Peter Van der Beken
65eeb9ac06
Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst.
2008-12-16 16:46:18 +01:00
Peter Van der Beken
8473174cb4
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-12-16 16:46:18 +01:00
Igor Bukanov
6df56327b7
bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap
2008-12-14 22:40:10 -08:00
Benjamin Smedberg
e8ea9cf02d
Merge mozilla-central into tracemonkey, specifically to pick up bug 467579.
2008-12-09 21:37:35 -05:00
timeless@mozdev.org
c42ddc47be
Bug 468045. r+sr=jst.
2008-12-07 16:15:54 -08:00
Ben Turner
f94fff590e
Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst.
2008-12-07 16:15:49 -08:00
Ben Turner
7340738ad2
Bug 467162 - 'uninitialized local variable warning in xpcwrappedjsclass.cpp'. r+sr=jst, a=blocking1.9.1
2008-12-07 16:15:43 -08:00
Peter Van der Beken
d17bae28e1
Partially back out fix for bug 461563 to try to fix Txul regression on Windows.
2008-12-05 14:38:05 +01:00
Peter Van der Beken
71f8bac27f
Partially back out fix for bug 461563 to try to fix Txul regression on Windows.
2008-12-05 10:42:17 +01:00
Peter Van der Beken
e58d168174
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-12-02 11:07:34 +01:00
Jesse Ruderman
8641b22aca
Add bug 453935 crashtest to CLOSED TREE
2008-11-29 19:13:55 -08:00
Jesse Ruderman
42252a60cc
Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE.
2008-11-29 18:12:46 -08:00
Shawn Wilsher
60611b98b8
merge to tip after backout
2008-11-28 17:05:05 -08:00
Shawn Wilsher
d4bf0c5514
Backed out changeset a4495a0cf2ff (bug 458397) to investigate Txul regression (bug 467102)
2008-11-28 17:04:16 -08:00
Blake Kaplan
f0ec5c81f8
Bug 464788 - Fix warnings in XPConnect. r/sr=jst, a191=beltzner.
2008-11-28 11:08:37 +01:00
Shawn Wilsher
1558aa2eeb
Merge to tip for backout of bug 461566.
2008-11-27 20:33:33 -08:00
Shawn Wilsher
b5ea3312de
Backed out changeset 037f635ced9f (bug 561566)
2008-11-27 20:32:48 -08:00
Shawn Wilsher
3bc6a3921f
Merge to tip for peterv's bundle
2008-11-27 20:07:06 -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
Shawn Wilsher
bd1f24e85b
Backed out changeset 17842a2d0c7f (bug 453865) due to test failures
2008-11-27 14:16:55 -08:00
Peter Van der Beken
9b83315e60
Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst.
2008-11-27 18:50:52 +01:00
Peter Van der Beken
c747cab7cf
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-11-27 18:47:58 +01:00
Peter Van der Beken
97f5b22d33
Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst.
2008-11-27 18:45:25 +01:00
Ben Turner
0c73f1437e
Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst.
2008-11-27 01:16:41 -05:00
Ben Turner
d1e776def5
Bug 459790 - 'Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] ).' Followup fix for JS impls. r+sr=jst, a=blocking1.9.1+
2008-11-27 01:16:41 -05:00
Boris Zbarsky
55472dc351
Backed out changeset 7bc1ba9f91fe to fix test orange
2008-11-26 17:54:40 -05:00
Andrei Saprykin
651c16ba12
Bug 453432 - Checking for MaybeGC conditions when allocating GC things.
...
r=igor,mrbkap a191=blocker
2008-11-26 18:09:24 +01:00
Igor Bukanov
1c6685433f
Backed out changeset 700ae4e59496 - bug 453157 caused talos oranges. CLOSED TREE
2008-11-24 11:36:44 +01:00
Andrei Saprykin
3cfcbdb3c5
bug 453157 - watchdog thread as an alternative to operation counting, r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-24 00:15:46 +01:00
Igor Bukanov
957d522969
Backed out changeset 04cecb0ec24c to see if it fixes tinderbox oranges. CLOSED TREE
2008-11-22 16:33:09 +01:00
Andrey Saprykin
b6507b326f
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-22 01:53:37 +01:00
Igor Bukanov
b7df88f931
Backed out changeset c54f1957d564 - bug 453157 - build system changes caused mouchi test failures. CLOSED TREE
2008-11-22 00:13:42 +01:00
Andrey Saprykin
c87e2d80c8
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a1.9.0b2=beltzner (CLOSED TREE)
2008-11-21 22:58:16 +01:00
Igor Bukanov
b13ff5429c
Backed out changeset 8329a91db67d - bug 453157, CLOSED TREE
2008-11-21 00:18:43 +01:00
Andrei Saprykin
9fea491071
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=beltzner
2008-11-20 22:25:34 +01:00
Ben Turner
f3e5b8842d
Bug 459790 - "Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] )". r+sr=jst, a=mconnor.
2008-11-20 10:34:02 -08:00
timeless@mozdev.org
dd62a51a03
Backed out changeset 1d817f9d842f per beltzner
...
the windows leak tests were red and osx talos tests were orange
2008-11-20 16:23:57 +01:00
Andrei Saprykin
aed08c8c99
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=blocker
2008-11-20 10:43:06 +01:00
Ben Turner
214ca641e9
Bug 462389. Solaris bustage fix. r=neil@httl.net,sr=jst,a=beltzner
2008-11-19 14:16:15 +13:00
Simon Bünzli
ce05a1e500
Bug 462774: Drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner
2008-11-17 13:57:43 +00:00
Peter Van der Beken
c39cb1e482
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-13 17:54:52 +01:00
Blake Kaplan
d3f8a13075
Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst
2008-11-06 18:06:32 -08:00
Peter Van der Beken
c39e172979
Backed out changeset 874aba8a9a8a to fix orange
2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-06 12:09:30 +01:00
Ben Newman
6b0b398a1c
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
2008-11-05 22:42:51 -08:00
Ben Turner
c031080e02
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst.
2008-11-05 22:41:52 -08:00
Ben Turner
c16fd87aa3
Backed out changeset 4fc7c6f6f45e
2008-11-04 18:58:24 -08:00
Ben Turner
a3da8488d8
Bug 460811 - "Bring workers up to latest spec". r+sr=jst.
2008-11-04 18:01:05 -08:00
Robert O'Callahan
cca234e798
Back out changeset b83d3c8ac166 (bug 460811) to try to fix bustage
2008-11-05 12:47:52 +13:00
Robert O'Callahan
01ff4e2538
Backing out changeset dc1aff36a411 (bug 462389) to try to fix bustage
2008-11-05 12:36:19 +13:00
Peter Van der Beken
146cbb323b
Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst.
2008-11-04 13:50:50 -08:00
Ben Newman
7f61ea749a
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
...
--HG--
rename : dom/src/threads/nsAutoJSObjectHolder.h => js/src/xpconnect/public/nsAutoJSValHolder.h
2008-11-04 13:49:05 -08:00
Ben Turner
718025a3f8
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst
2008-11-04 13:49:04 -08:00
Peter Van der Beken
fbe83f43ff
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:56:16 +01:00
Peter Van der Beken
f4f6bc2300
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:55:48 +01:00
Peter Van der Beken
3bb228a9e8
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:08 +01:00
Peter Van der Beken
eac8c19c52
Fix for bug 462926 (Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call). r/sr=jst
2008-11-04 18:18:12 +01:00
Peter Van der Beken
24a73db424
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-04 18:10:43 +01:00
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00
Peter Van der Beken
2b8cf3c2d4
Backed out changeset ba895ab8cbe7 to fix orange
2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-03 14:49:53 +01:00
Peter Van der Beken
e743beb9c4
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Gavin Sharp
055bd5e6e2
Back out patch for bug 450633
2008-10-25 17:10:34 -04:00
Blake Kaplan
0aefd37c4a
Bug 455971 - Clear Function and Object (and any other properties) off of the outer object so that Function always refers to the inner window's function. This ensures that the implict Function and explicit window.Function forms refer to the same object. r+sr=brendan
2008-10-24 16:53:37 -07:00
Blake Kaplan
2d412e5217
Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan
2008-10-22 13:19:08 -07: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
Peter Van der Beken
0261cd68b1
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-22 15:35:34 +02:00
Peter Van der Beken
601505a0e8
Fix for bug 459830 (Remove unused quickstubs). r=jorendorff.
2008-10-22 15:08:56 +02:00
Peter Van der Beken
ddd2023646
Fix for bug 460940 (Dependency problem when removing an interface from dom_quickstubs.qsconf). r=ted.
2008-10-22 15:07:20 +02:00
Jason Orendorff
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Peter Van der Beken
993024875b
Backed out changeset 4bc3dc1f6e11
2008-10-21 11:43:01 +02:00
Peter Van der Beken
3ba81f6270
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-21 11:10:47 +02:00
Igor Bukanov
59702db0da
Bug 459656 - Implementing nsIThreadJSContextStack in nsXPConnect. r+sr=mrbkap
2008-10-14 16:16:25 +02:00
Blake Kaplan
d9dc5056dc
Bug 455633 - Protect against the weird Sandbox global object case when creating XPCNativeWrappers. r+sr=bzbarsky
2008-10-13 15:55:38 -07:00
Blake Kaplan
76e8be0e68
Bug 457310 - Don't potentially run code with an exception still on cx. r+sr=jst
2008-10-13 15:53:33 -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
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Jason Orendorff
77ddd411ef
Bug 457914 - window.document should not have a quick stub (r+sr=jst)
2008-10-09 07:30:20 -05:00
Doug Turner
996fd0f708
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Robert Sayre
4d38e1512c
Fix typo in filename.
2008-10-08 21:52:31 -04:00
Robert Sayre
6579c458ac
Merge.
2008-10-08 21:17:03 -04:00
Robert Sayre
bef8140a39
Bug 458959. this.JSON is enumerable. r+sr=mrbkap
2008-10-08 19:33:26 -04:00
Blake Kaplan
f7b967fb13
No bug - Drop the request before the ResumeRequest hiding under Pop to avoid deadlocks. r=bent sr=sicking
2008-10-08 16:05:39 -07:00
Robert O'Callahan
4834e88fce
Backing out patch for bug 456027 to try to fix test bustage
2008-09-27 20:56:42 +12:00
Blake Kaplan
d2e4f90dc6
Bug 456027 - Innerize earlier so we don't rely on the JS engine providing getters that might not be there. r=brendan sr=jst
2008-09-26 15:42:47 -07:00
Blake Kaplan
8c46931ccc
Bug 455765 - Set global flags on global objects' first use so the JS engine doesn't get confused. r+sr=jst
2008-09-26 15:40:31 -07:00
Ben Turner
8fdc38c40a
Backed out changeset 5986b4269d9d
2008-09-24 21:07:05 -07:00
Ben Turner
85938eeb67
Bug 450452 - "Implement XHR ('minus X') for worker threads". r+sr=jst.
2008-09-24 19:48:07 -07:00
Jason Orendorff
14fd1396b5
Bug 454343 - Assertion failure: obj == pobj, at src/js/src/jsinterp.cpp:160 (r+sr=mrbkap)
2008-09-16 14:27:03 -05:00
Ben Newman
3a8f74e2d8
Bug 446584 - NodeIterator doesn't forward exception properly; r=(jonas + jst) sr=jst
2008-09-16 13:47:47 +02:00
Blake Kaplan
087c2331f5
Bug 450692 - Don't unconditionally add inner and outer object hooks to XPConnect objects.
2008-09-15 17:14:08 -07:00
Jason Orendorff
2e3c2852da
Bug 453331 - Quick stubs: handle members with the same name (r+sr=jst)
2008-09-15 09:18:38 -05:00
Jesse Ruderman
e61b63eb62
Add crashtest
2008-09-14 00:20:17 -07:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Peter Van der Beken
79f9a72d30
Fix for bug 443415 (Name more CC edges). r/sr=jst.
2008-09-08 20:26:46 +02:00
Taras Glek
7e792aca92
bug 453892: fix prbool bugs in xpconnect. r=jorendorff
2008-09-08 11:19:58 -07:00
Serge Gautherie
5a5f67274f
Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; "dom_quickstubs.cpp" bustage fix
2008-09-07 00:50:45 +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
Arpad Borsos
534fd11101
Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin
2008-09-07 00:04:10 +02:00
Ben Turner
cb1f4f55af
Bug 451731 - "Update caps, dom, xpconnect for Bug 451729 (checkObjectAccess moving to the JSContext)". r+sr=jst.
2008-09-05 16:26:04 -07:00
Jason Orendorff
e3c32c3566
Bug 442086 - XPConnect creates doubles without checking for the INT_FITS_IN_JSVAL case (r=jst,sr=brendan)
2008-09-03 15:38:45 -05:00
Jason Orendorff
445f7292b2
Bug 453105 - Error: setting a property that has only a getter on cars.com (r+sr=bzbarsky)
2008-09-03 15:28:13 -05:00
Benjamin Smedberg
89e10926d5
Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst
2008-09-03 13:00:12 -04:00
Simon Bünzli
0b40c8a49f
Bug 450633 - "script stack space quota is exhausted" exception in JSON.jsm when calling SessionStore API for sessions with a large amount of data. r=sayrer, sr=brendan
2008-09-02 08:36:15 +02:00
Boris Zbarsky
33c006bc1b
Fix orange caused by bug 407216
2008-09-01 13:40:16 -04:00
Jason Orendorff
d8e1964581
Fix for build breakage on Windows due to bad dom_quickstubs.depends file.
...
The bad file contains a backslash, which causes GNU make to choke.
This fix causes the file to be generated correctly, but the file on
the Windows build machines is still there and still contains backslashes;
a clobber should fix this.
The Try Server didn't catch this because every Try build is a clobber.
2008-08-31 09:51:52 -05:00
Jason Orendorff
4b74677d5e
Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg)
...
* * *
* * *
* * *
2008-08-19 21:38:24 -05:00
Jason Orendorff
b94820fbeb
Bug 451571 - Delete SetExceptionWasThrown (r=dbradley, sr=jst)
2008-08-30 18:58:36 -05:00
Igor Bukanov
bafd289e60
bug 445705 - eliminate Namespace and QName GC things. r=brendan
2008-08-29 10:10:34 +02:00
Ted Mielczarek
8a69f6fb57
bug 436495 - build DumpJSStack in release builds. r=shaver
2008-08-25 20:25:19 -04:00
Ted Mielczarek
69f1723ed2
bug 451678 - TM: mochi chrome tests fail under TM. xpcshell unit test. r=brendan
2008-08-23 18:12:42 -04:00
shaver@mozilla.org
5d3ad68bbe
merge from mozilla-central
2008-08-20 08:17:17 -07:00
Jason Orendorff
f9365c3994
Backing out changeset cf6c811e1272 (bug 407216) due to debug assertions.
2008-08-19 22:28:26 -05:00
Jason Orendorff
fe99024391
Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg)
...
* * *
* * *
2008-08-19 21:38:24 -05:00
Robert Sayre
b31572b1d5
Bug 449972 – TM: give xpcshell a JIT switch
2008-08-09 18:36:17 -04:00
Ben Turner
184d478d40
Bug 447711 - "FindInJSObjectScope calls JS from within a request and a lock". r+sr=jst.
2008-08-08 13:13:41 -07:00
Blake Kaplan
3e20948873
Try to fix the orange by overriding platform-specific errors
2008-08-04 18:04:19 -07:00
Blake Kaplan
3b0135e1dd
bug 448587 - Allow getting the 'prototype' property through SJOWs. r=jst sr=bzbarsky
2008-08-19 12:48:42 -07:00
Blake Kaplan
2d7e4ce617
Fix missed review comment from bug 408412
2008-08-04 16:54:16 -07:00
Blake Kaplan
0b0d6afb1e
Propagate compilation errors to our caller to make syntax errors easier to debug. bug 408412, r=shaver sr=brendan
2008-08-04 10:03:34 -07:00
Ben Turner
f6a7065993
Bug 443878 - "XPConnect doesn't always suspend requests when switching contexts". r+sr=jst.
2008-08-14 12:08:49 -07:00
Blake Kaplan
f903a8ae3c
Create implicit XPCNativeWrappers in fewer situations. bug 441087, r=jst sr=bzbarsky
2008-08-11 16:00:24 -07:00
Blake Kaplan
1c6155e1bf
Backed out changeset 90020c4ad446 to fix tinderbox orange while I figure out why a test was failing.
2008-08-04 11:12:51 -07:00
Blake Kaplan
52a3888cfa
Propagate compilation errors to our caller to make syntax errors easier to debug. bug 408412, r=shaver sr=brendan
2008-08-04 10:03:34 -07:00
Graydon Hoare
78450de1f0
Bug 444845, js hooks to control vtune, r=sayrer
2008-07-29 15:19:26 -07:00
Blake Kaplan
742d27285f
Attempt to make XPC_XOW_ClassNeedsXOW faster. bug 444779, r=jorendorff/jst sr=jst
2008-07-23 12:55:57 -04:00
Johnny Stenback
6b0fc3a654
Landing fix for bug 444880. Make the JS component loader use the JS context stack so that pending requests are suspended while components load. Patch by bent.mozilla@gmail.com, r+sr=jst@mozilla.org
2008-07-21 16:56:45 -07:00
Jason Orendorff
a721c4227c
Bug 445624 - Delete dead code in JSObject2NativeInterface hot path (r+sr=jst)
2008-07-21 15:16:47 -05:00
gyu-young kim
9620212e54
Bug 426585 - "Additional cache XPCPerThreadData for mainthread" [r=dbradley sr=brendan]
2008-07-12 05:19:56 -05: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
Johnny Stenback
06103555df
Landing fix for bug 442066. Make XPCWrappedJS destruction threadsafe. Patch by bruno@flock.com and manish@flock.com, r+sr=jst@
2008-07-11 14:44:59 -07:00
Graydon Hoare
7c4aa69e9d
Bug 444023, Add JS functions to stop/start callgrind, r=sayrer
2008-07-08 15:58:08 -07:00
Blake Kaplan
bc7e519eec
Turn off these noisy and now mostly useless printfs for me. No bug, NPOTB
2008-06-26 16:42:41 +02:00
Johnny Stenback
a743b87dec
Fixing bug 441377. Don't GC when replacing safe contexts. r+sr=brendan@mozilla.org
2008-06-25 17:04:06 -07:00
Blake Kaplan
4c82468d8d
Make PrincipalHolder threadsafe since it can be destroyed from off-thread (thanks to XPCSafeJSContexts) and no additional work is required to make it threadsafe. bug 337611, r+sr=jst
2008-06-24 17:10:08 +02:00
Blake Kaplan
a72799e7fe
Make XPCNativeWrapper deal with non-browser embeddings. bug 422113, r+sr=jst
2008-06-24 16:32:41 +02: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
"Doug Turner ext:(%22)
30df99659b
Removing Minimo references. b=405705, r=ted
2008-06-16 13:57:42 -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
jst@mozilla.org
80e867e806
Fixing bug 434673. Fix GC safety issue when calling through XPCWrapper into an IDL defined function. r+sr=brendan@mozilla.org, a=shaver@mozilla.org
2008-05-27 22:42:53 -07:00
jst@mozilla.org
68a63e6f98
Fixing bug 433005. Make calls through XPConnect on threads other than the main thread suspend JS request to avoid blocking GC on the main thread while calling slow functions on non-main threads. Patch by benjamin@smedbergs.us and jst@mozilla.org, r=jst@mozilla.org, sr=brendan@mozilla.org, a=schrep@mozilla.com
2008-05-27 14:59:58 -07:00
bent.mozilla@gmail.com
eb31e16632
Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner.
2008-05-06 14:37:50 -07:00
bent.mozilla@gmail.com
d2928f847a
Bug 430552 - "Browsing on the given site and closing the tab results in no active tab and keyboard shortcuts don't work until you refocus any element". r=jst, sr=mrbkap, a=beltzner.
2008-04-29 11:01:03 -07:00
igor@mir2.org
e573263407
[Bug 430871] Eliminating unused JSINVOKE_INTERNAL and JSFRAME_INTERNAL. r=brendan a1.9=dsicore
2008-04-27 23:50:37 -07:00
gavin@gavinsharp.com
db243d2ea7
Bug 428021: Can't define both a getter and a setter for a property of the global object, patch by Brian Crowder <crowder@fiverocks.com>, r=shaver, r=mrbkap, a=shaver
2008-04-23 16:17:45 -07:00
jruderman@hmc.edu
adc66e8601
Add mochitest
2008-04-22 22:40:56 -07:00
jruderman@hmc.edu
4382c1f13b
Add crashtest
2008-04-22 21:16:56 -07:00
jonas@sicking.cc
3201958a8e
Fix redness. Stupid second security manager
2008-04-18 10:51:10 -07:00
gavin@gavinsharp.com
81f06fccf5
Bug 425139: XPCSafeJSObjectWrapper provides incorrect type information, patch by shaver@mozilla.org, r=mrbkap, a=beltzner
2008-04-13 18:18:30 -07:00
bent.mozilla@gmail.com
869e288c42
Bug 415498 - "Some errors not displayed in Error Console when using addEventListener". Tests by Sylvain Pasche <sylvain.pasche@gmail.com>. r+sr=jst, a=beltzner.
2008-04-10 10:35:56 -07:00
jruderman@hmc.edu
d0bb18ea76
Reduce the length of the "XPConnect is being called on a scope without a 'Components' property!" assertion message (bug 426954). r=mrbkap, debug-only.
2008-04-09 22:19:30 -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
bent.mozilla@gmail.com
ecc33f6aaa
Bustage fix for DEBUG_CC builds as a result of the fix for bug 423874. r=dbaron, a=NPOTDB.
2008-04-02 15:18:06 -07:00
igor@mir2.org
303ea3000c
[Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9
2008-04-02 00:46:12 -07:00
reed@reedloden.com
62ba3210af
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a1.9=beltzner]
2008-04-01 23:41:23 -07:00
igor@mir2.org
c0d5c51190
[bug 423874] backing out as a simpler patch would do the job with less code.
2008-03-29 03:34:29 -07:00
jst@mozilla.org
24c87c737a
Fixing bug 424449. Clear scope on XOWs when scope is cleared on the object wrapped by the XOW. r+sr=mrbkap@gmail.com
2008-03-26 18:04:14 -07:00
reed@reedloden.com
7931af4544
Bug 422025 - [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=mrbkap a1.9b5=schrep]
2008-03-25 16:16:21 -07:00
shaver@mozilla.org
367efb39fc
Bugs 423443/419661: crash in MarkSharpObjects due to stack overflow, when over-deep engine-internal recursion is triggered in JS components. r=brendan, a-b5=beltzner
2008-03-25 07:08:48 -07:00
igor@mir2.org
eaa513c2f5
bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject
2008-03-21 01:19:23 -07:00
jst@mozilla.org
ed1819df0e
Followup fix for bug 418356. Re-enable loading file:// URIs using the subscript loader. r+sr=bzbarsky@mit.edu
2008-03-20 22:07:25 -07:00
reed@reedloden.com
08ed4fda6c
Bug 420869 - "Script stack space in Firefox 3.0b4pre much smaller than it was in Firefox 2.0.0.12" [p=igor@mir2.org (Igor Bukanov) r=brendan a=blocking1.9+]
2008-03-19 22:57:10 -07:00
timeless@mozdev.org
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-03-19 14:19:35 -07:00
igor@mir2.org
f1f37e5921
bug=420869 backing out as the tree is red.
2008-03-18 15:06:38 -07:00
igor@mir2.org
91819053e4
bug=420869 r=brendan a1.9=blocking1.9 bumping script stack quota to 100MB for better compatibility with FF2.
2008-03-18 15:05:35 -07:00
bzbarsky@mit.edu
f73470cb01
Remove method that no longer exists.
2008-03-18 14:58:46 -07:00
jst@mozilla.org
3e5524417a
Fixing bustage.
2008-03-18 14:28:43 -07:00
jst@mozilla.org
3c2ee1f987
Fixing bug 422205. Make XOW/SJOW wrappers do security checks on enumeration and interation. r+sr=mrbkap@gmail.com
2008-03-18 14:17:58 -07:00
bzbarsky@mit.edu
5383803699
Finally kill off CheckSameOriginPrincipal, fix remaining callers to do the checks they really want to be doing. Fix screw-up in nsPrincipal::Equals if one principal has a cert and the other does not. Bug 418996, r=mrbkap,dveditz, sr=jst
2008-03-18 14:14:49 -07:00
bzbarsky@mit.edu
5f774d2153
Set the right url in the script and don't allow loading non-chrome scripts. Bug 418356, r+sr=jst
2008-03-17 20:46:53 -07:00
dbaron@dbaron.org
537f2f5b13
Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons
2008-03-17 16:11:08 -07:00
crowder@fiverocks.com
2b92df76d8
Bug 422885: uninitialized memory-read in XPCWrapper::AddProperty, r/sr=mrbkap, a=:luser
2008-03-14 07:44:27 -07:00
mattwillis@gmail.com
2ac0c39bd4
Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
2008-03-12 14:56:59 -07:00
reed@reedloden.com
39420158ed
Bug 418406 - "Make network error constants accessible via Components.results" [p=trev.moz@adblockplus.org (Wladimir Palant) r=biesi sr=sicking a1.9=damons]
2008-03-11 01:14:04 -07:00
gavin@gavinsharp.com
0de56e7ca2
Back out the patch from bug 420642 because it broke gmail (bug 421571)
2008-03-10 01:28:51 -07:00
dbaron@dbaron.org
d6f406d8a8
Deal with nsXPCWrappedJS::GetClass being null, which it can be after Unlink. a=Not part of the default build (DEBUG_CC only)
2008-03-07 09:54:41 -08:00
mrbkap@gmail.com
4db8f39fc6
Allow things to happen to SJOWs if there's no code running. bug 420647, r+sr=jst
2008-03-06 12:04:05 -08:00
mrbkap@gmail.com
b18eda65b8
Remove a now-unnecessary eval hack. bug 420642, r+sr=jst a=beltzner
2008-03-06 12:01:26 -08:00
mrbkap@gmail.com
bfb69adb4e
Fix mochitest depending on the old toString behavior.
2008-03-06 12:00:23 -08:00
mrbkap@gmail.com
edc3fdc8d8
Propagate getters and setters onto the inner object. bug 420585, r+sr=jst
2008-03-06 11:58:28 -08:00
mrbkap@gmail.com
a7eaea7ec0
Fix bracing mistake from bug 344494.
2008-03-04 18:45:09 -08:00
mrbkap@gmail.com
73e056c67d
Always wrap content nodes in chrome with some sort of wrapper. bug 344494, r+sr=jst
2008-03-04 17:39:45 -08:00
brendan@mozilla.org
bec079b0d6
Fix over-including dependencies, and relocate ID_TO_VALUE to avoid over-including (r=mrbkap, bustage fix).
2008-03-04 15:58:10 -08:00
timeless@mozdev.org
64fa3a079b
Bug 420807 xpconnect should not use fun->atom r=dbradley a=brendan
2008-03-03 19:19:17 -08:00
bent.mozilla@gmail.com
372aac713d
Bug 414977 - "insufficient unlink methods in some DOM classes?". Fix for DEBUG_xpc_hacker builds. Not part of the normal build, r+sr+a=jst.
2008-03-03 17:20:55 -08:00
jruderman@hmc.edu
b63894e5d5
Add crashtest
2008-03-02 23:13:04 -08:00
jruderman@hmc.edu
29c0574170
Add crashtest
2008-03-02 22:40:11 -08:00
bent.mozilla@gmail.com
c8de939d3c
Bug 414977 - "insufficient unlink methods in some DOM classes?". Allow the cycle collector to unlink XPCWrappedNatives in one cycle instead of two. r=peterv, sr=jst, a1.9b4+=schrep.
2008-02-28 18:09:10 -08:00
dougt@meer.net
256982d515
WINCE Only. Slash doesn't work in MINGW32, but - works everywhere.
2008-02-22 17:31:02 -08:00
jst@mozilla.org
532545b9dd
Landing fix for bug 418377. Don't run code on invalid contextx. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org
2008-02-20 15:00:56 -08:00
bzbarsky@mit.edu
7de886172c
Fix line numbering in JS components so it's not off by 1. Bug 418491, r+sr+a=brendan
2008-02-19 19:57:11 -08:00
brendan@mozilla.org
080383a8f8
Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap).
2008-02-17 16:12:33 -08:00
jruderman@hmc.edu
7445015a73
Add crashtest
2008-02-15 21:29:10 -08:00
brendan@mozilla.org
dfd7f0a7b4
Optimize wrapper creation via JS_NewObjectWithGivenProto, and avoid cycle-check overhead in JS_Set{Prototype,Parent} (408871, r=mrbkap).
2008-02-13 21:10:42 -08:00
jwalden@mit.edu
247329e211
Bug 397929 - Convert GetMessage APIs to GetMessageMoz APIs, at the C++ symbol level only (vtables remain the same), to work around brain-dead, idiotic, insane Windows API macros. r=bsmedberg, a=schrep
2008-02-11 20:11:07 -08:00
jruderman@hmc.edu
e15b941bae
Add crashtests
2008-02-09 02:43:15 -08:00
jst@mozilla.org
7031e5cbf6
Fixing bug 410462. Quiet down a bogus assertion. r+sr=peterv@propagandism.org, a=mtschrep@gmail.com
2008-02-08 15:15:00 -08:00
jst@mozilla.org
66c429560a
Landing updated fix for bug 410223. Don't allocate links on the heap. Patch by mrbkap@gmail.com and jst@mozilla.org, r+sr=brendan@mozilla.org/mrbkap@mozilla.org
2008-02-08 15:10:06 -08:00
dbaron@dbaron.org
341458ed79
More detailed description of JS objects. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only)
2008-02-08 11:50:47 -08:00
dbaron@dbaron.org
9c5ed38724
Add comment explaining mJSRoots and ExplainLiveExpectedGarbage business.
2008-02-08 11:50:16 -08:00
peterv@propagandism.org
e40e28c8f6
Fix for bug 415037 ("success" returned uninitialized from XPCVariant::VariantDataToJS). r/sr=jst, a=schrep.
2008-02-07 03:38:13 -08:00
peterv@propagandism.org
0baafbfe92
Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner.
2008-01-31 17:06:53 -08:00
reed@reedloden.com
0582342e0a
Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor]
2008-01-30 15:39:42 -08:00
jst@mozilla.org
a45232f25f
Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same.
2008-01-29 21:55:12 -08:00
mrbkap@gmail.com
bcc1b2d3e4
Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky
2008-01-29 21:13:19 -08:00
crowder@fiverocks.com
8770eff094
Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan
2008-01-29 18:36:33 -08:00
jst@mozilla.org
fa3722f2b7
Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org
2008-01-29 18:28:58 -08:00
mrbkap@gmail.com
bf6ad82099
SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons
2008-01-29 18:06:17 -08:00
peterv@propagandism.org
6d9909d3c6
Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron.
2008-01-29 18:05:43 -08:00
mrbkap@gmail.com
23f577e2e9
Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner
2008-01-29 16:28:30 -08:00
jst@mozilla.org
58f7d84c76
Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org
2008-01-29 15:56:49 -08:00
peterv@propagandism.org
ac2b416a74
Try to fix orange
2008-01-29 13:42:05 -08:00
reed@reedloden.com
2e75103f0e
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+]
2008-01-29 12:51:46 -08:00
peterv@propagandism.org
02be459ead
Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron.
2008-01-29 12:48:32 -08:00
jst@mozilla.org
5b693cda1d
Fixing windows bustage.
2008-01-28 15:54:56 -08:00
mrbkap@gmail.com
016c02e592
Backing out to see if this is the cause for apparent random crashes.
2008-01-28 15:52:54 -08:00
jst@mozilla.org
0617bf0012
Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2008-01-28 15:19:51 -08:00
mrbkap@gmail.com
f1674b21d6
There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+
2008-01-28 15:10:30 -08:00
mrbkap@gmail.com
228f48bb7b
Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep
2008-01-28 15:03:42 -08:00
jst@mozilla.org
2bc0dc4a67
Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org
2008-01-25 16:36:44 -08:00
jst@mozilla.org
918fe24c0f
Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu
2008-01-25 13:49:11 -08:00
jst@mozilla.org
a396f5c5b2
Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc
2008-01-23 17:17:13 -08:00
sayrer@gmail.com
0940f6e7ea
Bug 411365. Shark functions. r/sr=brendan
2008-01-21 22:37:53 -08:00
mrbkap@gmail.com
c5b1743399
Use already running code's context when executing JS code from C++. bug 412598, r+sr=jst
2008-01-21 16:27:13 -08:00
jst@mozilla.org
e3b9c872ac
Fixing bug 412698. Make XPConnect cache the per thread data for the main thread and use the cache when running on the main thread to save on time getting at the per thread data. r=dbradley@gmail.com, sr=brendan@mozilla.org
2008-01-20 20:51:55 -08:00
jst@mozilla.org
298532b587
Fixing bug 408301. Make more XPConnect wrappers share their JS object maps. r=peterv@propagandism.org, sr=brendan@mozilla.org
2008-01-20 13:03:52 -08:00
peterv@propagandism.org
4112c6c1b2
Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst.
2008-01-20 09:29:35 -08:00
timeless@mozdev.org
4e4cbbbb99
Bug 334195 XPCWrappedNative::HandlePossibleNameCaseError dereferences an unitialized value if !set r=dbradley sr=jst a=mtschrep
2008-01-20 03:21:36 -08:00
sayrer@gmail.com
7b20fcd464
Bug 412874. Need Shark functions in JS component global scope. r/sr=brendan
2008-01-19 18:31:10 -08:00
sayrer@gmail.com
4475a39348
Bug 411365. JS Shark renames per brendan. r/a=brendan
2008-01-19 15:33:08 -08:00
peterv@propagandism.org
63e4ecdee0
Back out remainder of patch for bug 412491 to try to fix orange.
2008-01-18 07:36:28 -08:00
peterv@propagandism.org
9926e9682e
Back out to try to fix orange.
2008-01-18 05:59:07 -08:00
peterv@propagandism.org
4c040e3394
Fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst.
2008-01-18 05:29:06 -08:00
reed@reedloden.com
2c81d2a307
Back out patch from bug 411579, as there may be a Ts perf regression.
2008-01-18 02:36:40 -08:00
reed@reedloden.com
cf0a71a1f5
Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)]
2008-01-18 01:09:18 -08:00
reed@reedloden.com
a6dbb66e21
Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+]
2008-01-18 01:08:09 -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
bent.mozilla@gmail.com
cd9ef5755c
Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9.
2008-01-15 10:23:46 -08:00
benjamin@smedbergs.us
f4fc98e442
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
2008-01-15 07:57:43 -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
jag@tty.nl
9d8ca5c0c9
Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see). Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer.
2008-01-13 10:21:08 -08:00
dwitte@stanford.edu
97a45f037f
thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
2008-01-11 20:30:42 -08:00
myk@mozilla.org
dbbcaac1ab
backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions
2008-01-11 17:56:21 -08:00
jst@mozilla.org
0619ce52c3
Re-landing fix for bug 408301 to see if it really was the cause of the orange last time it landed. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org
2008-01-11 15:06:40 -08:00
dbaron@dbaron.org
79f94348dc
Unset and reset the JS context global objects when doing ExplainLiveExpectedGarbage, just like when doing normal cycle collection. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only).
2008-01-11 14:24:33 -08:00
benjamin@smedbergs.us
d4e1973996
Bug 411531 - Assertion failure !rt->gcRunning because I accidentally turned off deffered-release of wrapped natives during GC, r+sr=peterv
2008-01-11 06:52:45 -08:00
dwitte@stanford.edu
66d4df40f5
backing out the rest.
2008-01-11 02:56:35 -08:00
dwitte@stanford.edu
9d626da131
partial backout in an attempt to fix orange.
2008-01-11 02:08:58 -08:00
dwitte@stanford.edu
8a6c4d235f
relanding bug 410250.
2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed
backing out to fix orange.
2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f
thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+
2008-01-10 19:56:00 -08:00
igor@mir2.org
7bc03fee82
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-10 07:39:02 -08:00
peterv@propagandism.org
bd933a00a4
Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron.
2008-01-10 06:10:03 -08:00
igor@mir2.org
1a974d67e5
Bug 409109: backing the checking as the tree was closed.
2008-01-09 07:31:13 -08:00
igor@mir2.org
f8145c5e61
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-09 07:20:39 -08:00
roc+@cs.cmu.edu
2726b61178
Backing out 408301 to see if it fixes winxp01 orange
2008-01-08 19:21:35 -08:00
jst@mozilla.org
34718748bd
Fixing bug 408301. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org
2008-01-08 15:38:24 -08:00
igor@mir2.org
7cb5b01011
Bug 409109: Backing out once again to figure out the reason for talos regressions.
2008-01-05 17:20:16 -08:00
igor@mir2.org
9bb5aae331
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. a,r=brendan
2008-01-05 03:25:49 -08:00
jruderman@hmc.edu
acec28b307
Add moving-between-frames crashtest
2008-01-04 22:54:28 -08:00
mrbkap@gmail.com
4dfe6493da
Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst r=brendan for some last-minute changes added in this version.
2008-01-04 20:45:16 -08:00
mrbkap@gmail.com
3706fb3053
Do not allow scripted getters or setters on XPCNativeWrappers. bug 387390, r=jst sr=brendan
2008-01-04 17:37:48 -08:00
mrbkap@gmail.com
e458b8b61d
Use the currently active scope to find the prototype. bug 408639, r=jst sr=brendan
2008-01-04 17:25:35 -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
jruderman@hmc.edu
0368dbc3d2
The last backout introduced some mochitest orange. Let's see whether backing out bug 393267 as well fixes that.
2008-01-03 21:13:59 -08:00
jruderman@hmc.edu
8a25f3a779
Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291.
2008-01-03 20:12:48 -08:00
gavin@gavinsharp.com
15be910811
Back out patch for bug 409109 because its suspected of causing the fxdbug-win32-tb orange
2008-01-03 15:03:19 -08:00