Commit Graph

493 Commits

Author SHA1 Message Date
sayrer@gmail.com
17733d219d Bug 424035. Crash [@ JS_IsArrayObject] when trying to decode a bogus JSON string. r=shaver 2008-03-20 13:34:38 -07:00
bzbarsky@mit.edu
72efc284a1 Don't leave an exception just hangin' out on the JSContext. Bug 422009, r+sr=jst, a=shaver 2008-03-19 17:42:47 -07:00
bent.mozilla@gmail.com
a71ec041e2 Bug 4126862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Properly back out changes to nsGlobalWindow. 2008-03-19 14:32:20 -07:00
bent.mozilla@gmail.com
9f32555645 Bustage fix, undoing these changes until I figure out why the merge failed. 2008-03-19 13:27:34 -07:00
bent.mozilla@gmail.com
5d19b77fea Bug 4126862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Backing out this patch. 2008-03-19 13:15:12 -07:00
dcamp@mozilla.com
a998ea3234 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov 2008-03-18 18:27:35 -07:00
Olli.Pettay@helsinki.fi
160640b979 Bug 329385, r+sr=jst 2008-03-18 17:06:22 -07:00
jst@mozilla.org
2bce74f6bd Fixing bug 418776. Don't resolve standard classes on non-global objects. r+sr=mrbkap@gmail.com 2008-03-18 13:42:19 -07:00
dtownsend@oxymoronical.com
2f48918fdb Bug 419582: Unblocklisted plugin should be set to enable on startup. r+sr=jst 2008-03-18 03:38:15 -07:00
jst@mozilla.org
032c34a20c Fixing bug 420603. Don't run scripts while wrapping DOM objects. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2008-03-17 14:19:25 -07:00
dbaron@dbaron.org
e9c42de438 Make nsJSONWriter::Write not crash when given buffer greater than 1024 characters. b=423152 r=sayrer a=beltzner 2008-03-17 11:58:38 -07:00
igor@mir2.org
8e2eeba5aa bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro 2008-03-17 01:58:28 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
jst@mozilla.org
0cbe6b969b Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc 2008-03-14 14:31:24 -07:00
igor@mir2.org
9e25b95889 bug 421274: backing out again due to crashes on 64 bit Linux. 2008-03-13 11:03:02 -07:00
igor@mir2.org
8205bdd921 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0 backing out bug 421274 2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 22:52:52 -07:00
roc+@cs.cmu.edu
f081a45d74 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon 2008-03-11 17:59:15 -07:00
jonas@sicking.cc
47a2cff0da Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
reed@reedloden.com
fc3bdaf3e0 Bug 417994 - "navigator object does not fully reflect user agent settings" [p=gfleischer+bugzilla@gmail.com (Gregory Fleischer) r+sr=jst a1.9=beltzner] 2008-03-08 03:19:22 -08:00
mrbkap@gmail.com
1e3cd43588 Fix compile warnings. No bug, debug only, r+rs=jst 2008-03-06 15:00:01 -08:00
mrbkap@gmail.com
24f718d4ac Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst 2008-03-06 14:52:58 -08:00
jst@mozilla.org
e5b719bbc6 Fixing bug 396443. Make SVG documents act like all our other documents wrt enumeration hooks. r+sr=mrbkap@gmail.com 2008-03-06 12:20:42 -08:00
jst@mozilla.org
a4a2644b3b Fixing bug 420858. Don't define fast expandos when binding names in JS. r+sr=brendan@mozilla.org 2008-03-04 20:43:57 -08:00
brendan@mozilla.org
50b405b149 More un-nesting #include fallout (r=mrbkap, bustage fix). 2008-03-04 16:44:30 -08:00
jst@mozilla.org
999b99b5ba Fixing bug 419093. Make access to undeclared global properties fast too! r+sr=brendan@mozilla.org 2008-03-03 17:52:34 -08:00
jst@mozilla.org
75c29b117f Fixing bug 413200. Make sure script termination functions run when XPConnect is done executing script on a context and there's no other script running on that context. r+sr=mrbkap@gmail.com 2008-03-03 17:44:16 -08:00
mrbkap@gmail.com
59987175f2 Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
bent.mozilla@gmail.com
872fe28df5 Bug 419655 - "Refreshing a page leaks an nsGlobalWindow until shutdown". r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:05:57 -08:00
peterv@propagandism.org
d17050a582 Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner. 2008-02-28 05:12:43 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
reed@reedloden.com
d9ce9a6557 Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+] 2008-02-26 18:03:27 -08:00
reed@reedloden.com
ce8dfb0807 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+] 2008-02-26 17:01:01 -08:00
dcamp@mozilla.com
9503bf9c88 Bug 397417: monitor disk usage of offline apps in the UI. r=enndeakin (nsDOMStorage change), r/sr=mconnor, ui-r/blocking-firefox3=beltzner 2008-02-26 13:13:17 -08:00
Olli.Pettay@helsinki.fi
5bf8e82603 Bug 415025, try to improve CC scheduling, r=peterv, sr=jst 2008-02-25 09:47:25 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
Olli.Pettay@helsinki.fi
5ad351df5f Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
jst@mozilla.org
c16eed1294 Fixing bug 417852. Push the context we're using to clear scopes on to make code down the road find the right context. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu 2008-02-21 15:51:02 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
gavin@gavinsharp.com
3106b6c27f Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
crowder@fiverocks.com
d7bbfe4d1d Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan 2008-02-20 15:28:18 -08:00
sayrer@gmail.com
f825656cf9 Bug 417052. Adjust JS_GC heuristic. Patch by Igor Bukanov <igor@mir2.org>. r/a=brendan 2008-02-19 17:20:24 -08:00
jst@mozilla.org
38e5f686a8 Landing fix for bug 410010. Make exceptions thrown during even handling always get reported once the event handler has run. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-19 14:38:34 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
56ab47f9a6 Bug 416782. Rename isLocallyAvailable to mozIsLocallyAvailable because it's not part of any spec (yet). r+sr=jst 2008-02-17 13:26:29 -08:00
jst@mozilla.org
6dd4818b8e Backing out fixes for bug 416931 due to the JS property tree blowing up in size due to this change. 2008-02-16 20:07:51 -08:00
jruderman@hmc.edu
1482a70818 Make gSerialCounter defined only ifdef DEBUG to silence a warning. Followup to bug 416939. 2008-02-16 14:15:32 -08:00
bzbarsky@mit.edu
a183f5e853 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
jst@mozilla.org
37ff495f8f Landing for bug 417387, followup fixes for bug 416931. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org. 2008-02-15 13:54:49 -08:00
jst@mozilla.org
ed02abd8ee Fixing bug 417266. Don't call IsEventName() with non-string jsvals. r+sr=jonas@sicking.cc 2008-02-13 22:11:36 -08:00
bent.mozilla@gmail.com
566b83da67 Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+. 2008-02-13 15:41:17 -08:00
bent.mozilla@gmail.com
e8fd2462e4 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding. 2008-02-12 20:17:18 -08:00
jst@mozilla.org
0cf2ecbcde Fixing bug 416931. Make accessing script defined global properties faster. r+sr=shaver@mozilla.org 2008-02-12 19:55:18 -08:00
jst@mozilla.org
f45b87199e Landing fix for bug 414749. Make nsJSUtils::GetCallingLocation deal better with null principals. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-12 19:52:43 -08:00
bent.mozilla@gmail.com
9b3b4ac605 Bug 413447, backing out to see if unit tests pass. 2008-02-12 12:53:03 -08:00
benjamin@smedbergs.us
5e262ed60c Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
bent.mozilla@gmail.com
9f859d2cda Bug 413447, SunOS bustage fix? 2008-02-12 11:34:22 -08:00
bent.mozilla@gmail.com
e7ca4e39a1 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. 2008-02-12 09:48:26 -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
martijn.martijn@gmail.com
0e06c42a45 Bug 416101 - Mingw build error in ../mozilla/dom/src/json/nsJSON.cpp, r=sayer, a=mtschrep 2008-02-08 15:25:58 -08:00
bent.mozilla@gmail.com
00415da413 Bug 353851 - "accumulation of outer chrome windows in mOpener chains (window.opener)". r+sr=jst, a=blocking1.9. Fixed small typo that caused Txul to blow up yesterday. 2008-02-08 13:09:36 -08:00
dolske@mozilla.com
3061c98928 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
dolske@mozilla.com
96d90967a4 Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
enndeakin@sympatico.ca
75d35b42fd Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
bent.mozilla@gmail.com
0bf53d1dea Backing out patch for bug 353851 to see if it fixes test failures. 2008-02-07 16:29:17 -08:00
bent.mozilla@gmail.com
a96174cfb1 Bug 353851 - "accumulation of outer chrome windows in mOpener chains (window.opener)". r+sr=jst. a=blocking1.9. 2008-02-07 15:13:01 -08:00
jwalden@mit.edu
097a54c3a0 Bug 397929 - Windows macro names kill kittens, maim babies, and introduce naming conflicts. Add an XPIDL annotation allowing the C++ method name for a method in an interface to either not be the method name, capitalized, or to not be [GS]et plus the attribute name, capitalized. This patch makes window.postMessage happy as PostMessageMoz; other APIs will need followup checkins. r=bsmedberg, a=schrep 2008-02-07 12:53:19 -08:00
sayrer@gmail.com
82ea38ff8f Bug 410890. nsJSON speedups. r=crowder, sr=jst, a=schrep 2008-02-06 23:19:26 -08:00
mozilla.mano@sent.com
8e142677f0 Backing out 406686 again 2008-02-06 18:19:12 -08:00
mozilla.mano@sent.com
260b79c683 Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com
9343a644bf Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
enndeakin@sympatico.ca
0a624e2179 Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
timeless@mozdev.org
d41cf6beb6 Bug 413074 Bad param "value" to nsXPConnect::JSToVariant() r=mrbkap sr=jst a=mtschrep 2008-02-04 11:29:36 -08:00
reed@reedloden.com
a99b108d00 Add missing |#ifdef JS_GC_ZEAL| to fix bustage. 2008-01-31 11:39:40 -08:00
reed@reedloden.com
39c54ac161 Bug 414982 - "Use gcZeal setting in nsJSEnvironment, as we once did with WAY_TOO_MUCH_GC" [p=crowder@fiverocks.com (Brian Crowder) r+sr=bzbarsky a1.9=brendan a1.9b3=schrep] 2008-01-31 11:03:03 -08:00
mrbkap@gmail.com
d668596b39 Make this code deal with setTimeout from a component. bug 414743, r=jst/waldo sr=jst 2008-01-29 21:30:11 -08:00
mrbkap@gmail.com
e31cb445b1 Fix for orange: deal with weird scripts that don't have principals. 2008-01-29 18:54:11 -08:00
bent.mozilla@gmail.com
30b13b2063 Bug 412862 - Change the 'allow scripts to move or resize existing windows' pref to a whitelist. r=gavin,jst. sr=jst. ur+a=beltzner. 2008-01-29 18:27:17 -08:00
mrbkap@gmail.com
e767cbcebc Be more careful about what filename we propagate to compiled setTimeout functions. bug 411092, r+sr=jst 2008-01-29 18:11:48 -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
334071547a Make document really not be a XOW. bug 414706, r+sr+a=jst 2008-01-29 18:03:02 -08:00
jwalden@mit.edu
035ea5179c Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst 2008-01-29 17:31:29 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -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
dcamp@mozilla.com
bac18b5c8e Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
d07d06ab57 Bug 398478: Clear globalStorage for offline apps separately from cookies, and the offline cache separately from the main cache. r=enndeakin, r=mconnor, sr=biesi 2008-01-22 20:06:36 -08:00
dcamp@mozilla.com
5c26c6c3fb Bug 397416: Raise globalStorage quota for domains with the offline-app permission. r=enndeakin, sr=dveditz, blocking1.9=sicking 2008-01-22 18:54:06 -08:00
dcamp@mozilla.com
9f596de49a Bug 394392: UI for enabling/disabling offline applications. r=enndeakin, r=mconnor, ui-r=beltzner 2008-01-22 18:10:50 -08:00
sayrer@gmail.com
4475a39348 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
igor@mir2.org
751da50408 Bug 411267: less frequent operation callback calls 2008-01-18 13:28:42 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -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
reed@reedloden.com
77a4d612a8 Bug 340510 - "nsIDOMNSDocument.getBoxObjectFor (standard way to use Mozilla) does not work with --disable-xul" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep] 2008-01-15 17:27:53 -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
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
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
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
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
sayrer@gmail.com
3b6503ef54 Bug 411052. nsJSONListener initialization warning. r/sr=jst, a=schrep 2008-01-08 23:38:17 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
longsonr@gmail.com
e5d50ec780 Bug 410792 - Remove unused FEUnimplementedMOZElement code. r+sr=tor,a1.9=mtschrep 2008-01-07 03:59:37 -08:00
bzbarsky@mit.edu
0c3387ec5e Fix bug 392338. r=mrbkap, sr=jst, a=schrep 2008-01-06 14:07:25 -08:00
jruderman@hmc.edu
ed5d1c2748 Update this test to take bug 394815 into account 2008-01-05 21:40:38 -08:00
jruderman@hmc.edu
ddef38fab9 Adding crashtest 2008-01-05 21:36:26 -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
5eb86feeab Add crashtest 2008-01-04 22:49:21 -08:00
jruderman@hmc.edu
d8a8d97b03 Add a crashtest 2008-01-04 21:34:29 -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
jruderman@hmc.edu
90e5fe2fa2 Add crashtest for leak bug 2008-01-04 20:41:45 -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
tor@cs.brown.edu
6c8936b4af Bug 389746 - implement feDisplacementMap. p=tor,longsonr, r=longsonr, sr=roc, a=dsicore 2008-01-03 13:37:57 -08:00
igor@mir2.org
1240c7eabe Bug 409109: switching to new operation counting API. r=jst a=beltzner 2008-01-03 07:27:28 -08:00
jruderman@hmc.edu
d55028e880 Fix classinfo bustage (bug 410602). 2008-01-03 00:04:58 -08:00
tor@cs.brown.edu
168385db14 Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
benjamin@smedbergs.us
f75d637c57 Bug 409433 - XPConnect should never allow GC off the main thread, r=mrbkap sr=jst a=luser 2007-12-31 10:17:35 -08:00
mrbkap@gmail.com
67bcba4a97 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 2007-12-29 20:34:49 -08:00
sayrer@gmail.com
9e28e1c878 outputstream test from Bug 387522 is failing on windows. Filed bug 410005 to follow up. 2007-12-27 15:24:30 -08:00
sayrer@gmail.com
43999e482b Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
jruderman@hmc.edu
91424bc51f Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red 2007-12-26 11:19:17 -08:00
igor@mir2.org
20fdb17cc6 Bug 409109: using operation counting API instead of the branch callback. r,sr=jst 2007-12-25 02:46:50 -08:00
jst@mozilla.org
ffa1fe233e Fixing bug 408792. Remove some expensive QI calls from frequently called code. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2007-12-21 05:44:58 -08:00
jruderman@hmc.edu
c232be4287 Then lobbeth thou thy Holy Crashtest of Antioch towards thou foe, who being naughty in my sight, shall snuff it. [Commit message suggested by aja] 2007-12-17 23:22:42 -08:00
jruderman@hmc.edu
98201715c5 Add questionable crashtest. 2007-12-17 17:47:33 -08:00
dcamp@mozilla.com
7bcf65f58d Bug 403852: Unable to access nsIDOMFile using the [] operator. r+sr=sicking, b=dsicore 2007-12-17 13:20:40 -08:00
Olli.Pettay@helsinki.fi
3add17d8f1 Bug 158066, Potential leak of window object because of self-cycle with opener, r+sr=peterv, a=blocking1.9 2007-12-17 02:26:31 -08:00
jruderman@hmc.edu
140728cfbe Won't someone please think of the crashtests? 2007-12-15 15:27:33 -08:00
jruderman@hmc.edu
c32bdcf2ae im in ur tinderbox, crashtesting ur firefox 2007-12-15 15:21:29 -08:00
jruderman@hmc.edu
ec84df7a5b Fix off-by-one error (bug 408431). r=dcamp, sr=jst, a=jst 2007-12-15 10:51:50 -08:00
jruderman@hmc.edu
61fc61781e Add crashtest for bug 369413. 2007-12-14 19:19:04 -08:00
jruderman@hmc.edu
50ff348683 Add crashtest. 2007-12-14 19:13:53 -08:00
jruderman@hmc.edu
0b70e3463e Add crashtests. 2007-12-13 19:52:32 -08:00
Olli.Pettay@helsinki.fi
12aa4ddec4 Bug 403168, r=jonas, sr=jst, a=blocking1.9 2007-12-12 00:33:32 -08:00
jonas@sicking.cc
c883671df6 Bug 408006: Don't crash in when getting or setting fullscreen mode on a frame that's been killed. r/sr=jst 2007-12-11 16:58:08 -08:00
surkov.alexander@gmail.com
45253210b5 Bug 368835 No focus events from xul tree table when a row is deleted, r=evan.yan, Olli.Pettay, sr=jonas, a=beltzner 2007-12-11 00:18:04 -08:00
jst@mozilla.org
b23a26124d Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc 2007-12-10 17:19:18 -08:00
peterv@propagandism.org
bee851e99f Fix for bug 406684 (Memory leaks when content policies set properties of wrapped nodes). r/sr=sicking. 2007-12-04 16:29:13 -08:00
peterv@propagandism.org
1e0f9a83e6 Fix for bug 404117 (ASSERTION: Class name and proto chain interface name mismatch!). r/sr/a=jst. 2007-12-04 10:49:38 -08:00
jst@mozilla.org
e9b15f58e3 Fixing bug 406671. Speed up nsWindowSH::GetProperty(). r+sr=peterv@propagandism.org, a=jonas@sicking.cc 2007-12-03 19:53:00 -08:00
jst@mozilla.org
dcbc4b321a Fixing bug 406692. Speed up nsNodeSH::PreCreate(). r+sr=peterv@propagandism.org, a=jonas@sickin.cc 2007-12-03 19:49:33 -08:00
bzbarsky@mit.edu
f1f789125b Propagate the node's principal as the owner to <object> loads as needed, and allow <object data="javascript:"> to work. Bug 353334 and bug 300263, r=biesi, sr=jst, a=dsicore 2007-12-03 13:57:17 -08:00
reed@reedloden.com
b73dd5561e Bug 382917 - "Display script filename and line number in Stop Script dialog" [p=manish@flock.com (Manish Singh) r+sr=mrbkap a1.9=jst] 2007-12-03 01:17:40 -08:00
bzbarsky@mit.edu
bb6bc5924e Hold the ref to the binding as we install its fields. Bug 404869, r+sr=sicking 2007-11-27 15:46:53 -08:00
reed@reedloden.com
10594a2c8a Bug 404748 - "__defineSetter__ regression in FF3: no longer works with event properties when used on prototype" [p=jst@mozilla.org (Johnny Stenback) r+sr=bzbarsky a1.9=schrep] 2007-11-22 17:37:22 -08:00
igor@mir2.org
0f544e4c18 Bug 396487: objects can be marked as system only during creation. r,a=brendan 2007-11-13 16:50:17 -08:00
reed@reedloden.com
104d37e84d Bug 319968 - "Some DOM functions don't work in XPCShell (classinfo broken)" [p=Mossop r+sr=jst a1.9=schrep] 2007-11-13 02:35:49 -08:00
tglek@mozilla.com
f4b8a3e2f0 bug 398587: Correct prbool misuse in dom/ r=Olli.Petay a=release drivers 2007-11-12 13:57:48 -08:00
jst@mozilla.org
3a38db678f Fixing build bustage. 2007-11-11 22:52:07 -08:00
jst@mozilla.org
9887d70792 Fixing bug 400366. Prefix 'Prototype' and 'Constructor' with 'DOM' to avoid conflicting with code on the web. r+sr=peterv@propagandism.org 2007-11-11 22:43:14 -08:00
jst@mozilla.org
27557d75c8 Fixing bug 395897. Crash when setting location on frame that no longer exists. r+sr=peterv@propagandism.org 2007-11-11 21:59:41 -08:00
jst@mozilla.org
d42465c69c Fixing bug 400204. Make window.innerWidth n' friends not throw when accessed on a non-displayed window. r+sr+a=jonas@sicking.cc 2007-11-11 21:55:22 -08:00
jruderman@hmc.edu
917e16293f Relanding Mats Palmgren's patch: Remove unused nsIFocusController::GetPopupEvent/SetPopupEvent methods. b=400104 r+sr=bzbarsky a=dsicore 2007-11-11 14:48:43 -08:00
bzbarsky@mit.edu
59bf4a4631 Base our referrer on the URI of the principal executing the code, not on the URI of the document currently loaded in the window associated to the context we're running on. Bug 402649, r+sr=jst 2007-11-11 11:11:25 -08:00
bent.mozilla@gmail.com
6e9056a8e5 Bug 308429 - "make tooMuchGC dynamic (runtime gczeal option)". r+sr=jst, a=schrep. 2007-11-11 10:59:28 -08:00
jruderman@hmc.edu
5f50409769 Back out the patch from bug 400104 to see if it fixes the orange. 2007-11-10 17:48:05 -08:00
mats.palmgren@bredband.net
ac5c8027b5 Remove unused nsIFocusController::GetPopupEvent/SetPopupEvent methods. b=400104 r+sr=bzbarsky a=dsicore 2007-11-09 17:11:31 -08:00
jonas@sicking.cc
6c93fa8fe6 bug 402763: cycle collect on memory-pressure notification, r/sr=stuart a=schrep 2007-11-06 13:47:35 -08:00
jst@mozilla.org
858f753261 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
jst@mozilla.org
8ed8c5149f Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com 2007-10-31 15:52:11 -07:00
peterv@propagandism.org
12ac8be5e0 Fix for bug 401612 (Multiple dialogs (about, add-ons mgr, etc.) will not open (nsIDOMJSWindow.openDialog exception)). r=smaug, sr=jst, a=blocking1.9+ for M9. 2007-10-31 03:52:22 -07:00
peterv@propagandism.org
0614d590fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
jonas@sicking.cc
903acf3ee6 bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking 2007-10-26 18:46:09 -07:00
bzbarsky@mit.edu
3540fc7847 Improve this comment too 2007-10-26 18:30:24 -07:00
bzbarsky@mit.edu
a6a5fb21e3 Making comment a little clearer. No code change. Bug 324464. 2007-10-26 18:29:48 -07:00
jonas@sicking.cc
3d2ceca667 Bug 345711: Don't call nsXBLBinding::InstallImplementation while in reflow as that can cause duplicated frames for plugins and other badness. r=bz/jst sr=jst 2007-10-26 17:14:43 -07:00
peterv@propagandism.org
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
89b46b1974 Bustage fix. 2007-10-26 06:40:28 -07:00
peterv@propagandism.org
7496875bfa Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
Olli.Pettay@helsinki.fi
c9f0904665 Bug 373462, try to fix possible tdhtml regression 2007-10-22 16:40:13 -07:00
Olli.Pettay@helsinki.fi
a78cbac9b4 Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-22 14:42:25 -07:00
Olli.Pettay@helsinki.fi
69d3a1fc7a backout Bug 373462, bug 385322. Still regress tp/talos 2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
cad8f0b8c4 Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst 2007-10-21 07:09:29 -07:00
jonas@sicking.cc
adbcc231ed backing out due to test failure 2007-10-19 18:22:48 -07:00
jonas@sicking.cc
cb77212ea7 Bug 345711: Call InstallImplementation when it's safe, rather tha directly from LoadBindings. r/sr=jst 2007-10-19 17:48:09 -07:00
jonas@sicking.cc
a02704b46d Bug 399107: Add API to force cycle collection. r/sr/a=jst 2007-10-19 14:36:20 -07:00
Olli.Pettay@helsinki.fi
62c8e4c75e Bug 399502, onload event handler does not fire for xmldocument created with document.implementation.createDocument, r+sr+a=sicking 2007-10-19 10:21:16 -07:00
bzbarsky@mit.edu
a027b56a4f Don't run XBL constructors during frame construction, ever. Bug 398006, r=sicking, sr=roc 2007-10-18 20:51:15 -07:00
jst@mozilla.org
73d06385cd Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc 2007-10-13 09:42:44 -07:00
jst@mozilla.org
dfcd678a2b Landing fix for bug 397571. Only expose known safe functions to untrusted script in nsIDOMWindowUtils. Patch by suryaismail@gmail.com, r+sr+a=jst@mozilla.org 2007-10-10 14:03:12 -07:00
jst@mozilla.org
2f5c99810e Fixing bug 393928. Lazily initialize liveconnect, and only initialize it when we can't find a Java plugin that supports NPRuntime. When a Java plugin that supports NPRuntime is found, use NPRuntime to expose liveconnect functionality (i.e. window.java and window.Packages). r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu, a=jonas@sicking.cc 2007-10-09 18:24:28 -07:00
sayrer@gmail.com
8e223c178f Bug 397601. DOM storage leaks on performance graph server pages. r=enndeakin, sr=jst, a=sicking 2007-10-09 18:07:36 -07:00
mrbkap@gmail.com
bedc10550f Deal with sites setting our proto's __proto__ to null. bug 398933, r+sr+a=jst 2007-10-09 15:50:49 -07:00
dcamp@mozilla.com
2788e8d9d2 let chrome check globalStorage usage for a domain. b=396249, r=enndeakin, sr=jst, a=jst 2007-10-03 23:05:32 -07:00
Olli.Pettay@helsinki.fi
2fb8ea7b56 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
a6aedd78ae Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
bzbarsky@mit.edu
fa9ec1b622 Fix a few scriptable helpers to correctly communicate NS_SUCCESS_I_DID_SOMETHING. Bug 396843, r+sr+a=jst 2007-09-28 07:28:16 -07:00
bzbarsky@mit.edu
b25b785ddc Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes. 2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu
5ae0b67801 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00