Commit Graph

433 Commits

Author SHA1 Message Date
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
bzbarsky@mit.edu
ee86dfedb4 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
Olli.Pettay@helsinki.fi
f9c785fb8b backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
1d42d7ad32 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
Olli.Pettay@helsinki.fi
3d3dee855b backout patch for Bug 373462, Bug 385322 2007-09-21 03:00:47 -07:00
Olli.Pettay@helsinki.fi
08d334c65d Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking 2007-09-21 01:54:36 -07:00
sayrer@gmail.com
8bcd5fb9f2 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
Olli.Pettay@helsinki.fi
ae89765af6 Bug 395426, Contextmenu opened using keyboard should have .button == 0, r=enndeakin,sr+a=jst 2007-09-18 00:25:49 -07:00
brendan@mozilla.org
19b6fcc0f0 Back-out due to test failure. 2007-09-17 18:22:20 -07:00
brendan@mozilla.org
2260fcfe2e Make GCF_SYSTEM immutable per object (396487, r=igor). 2007-09-17 17:47:42 -07:00
dbaron@dbaron.org
9ecd521da1 Add shouldBeFreed calls for nsJSContext. b=394566 r+sr=peterv a=bzbarsky 2007-09-17 17:30:58 -07:00
mrbkap@gmail.com
eaabef106d Set the script's filename correctly and don't treat the lack of a filename as a failure. bug 391470, r+sr=bzbarsky 2007-09-15 09:51:12 -07:00
jst@mozilla.org
1db047424e Fixing bug 393900. Make windows opened with showModalDialog() obey window feature prefs. r+sr=jonas@sicking.cc, a=dsicore@mozilla.com 2007-09-07 13:30:15 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
jst@mozilla.org
ab77ec8567 Fixing thunderbird bustage. 2007-08-28 18:30:04 -07:00
jst@mozilla.org
f967dad17e Fixing bug 394086. Pave the way for java applets that are scriptable using NPRuntime. r+sr=cbiesinger@gmx.at 2007-08-28 17:28:32 -07:00
tor@cs.brown.edu
085f1967a7 Bug 392928 - new style nsSVGEnum. r=longsonr, sr=roc, a=roc 2007-08-27 16:11:14 -07:00
philringnalda@gmail.com
bec07479a7 Bug 393713 - Landing bug 393300 broke building without MOZ_STORAGE, patch by romaxa <romaxa@gmail.com>, r+sr+a1.9=jst 2007-08-26 17:13:54 -07:00
mrbkap@gmail.com
1947edab7c Be consistent as to when we forward to the inner window. bug 393669, r+sr=jst 2007-08-25 13:11:34 -07:00
cbarrett@mozilla.com
75990c3f1f Bug 393117 - Remove native resize API. r=josh r=mconnor sr+a1.9=pav 2007-08-24 18:55:28 -07:00
sayrer@gmail.com
2c8e395988 Bug 393300. DOMStorage leaks mozStorage classes on shutdown. r+sr+a=jst 2007-08-23 15:37:05 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
igor@mir2.org
35b27bae9a Bug 386265: missing commit to fix compilation. 2007-08-11 13:40:43 -07:00
smontagu@smontagu.org
30e73a1db8 Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst 2007-08-11 11:37:16 -07:00
jst@mozilla.org
c996f32b61 Fixing orange due to fix for bug 390275. 2007-08-09 16:53:23 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
jst@mozilla.org
64193de21c Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu 2007-08-09 15:19:59 -07:00
jst@mozilla.org
93dead394b Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc 2007-08-09 15:03:01 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
9599540800 Bug 347480, Potentially incorrect script context used for event handlers, r+sr=jst, a=brendan 2007-08-05 06:23:03 -07:00
mrbkap@gmail.com
d407d9b035 The outerObject hook needs to wrap the outer object in an XOW, to match every other place. bug 390116, r+sr=jst 2007-08-02 16:34:38 -07:00
jst@mozilla.org
22d117a70f Fixing bug 389856. Fix dialog argument handling. r=mrbkap@gmail.com, sr=jonas@sicking.cc 2007-08-01 15:38:44 -07:00
mrbkap@gmail.com
56b8a3d9f3 Fix assertion and incorrect '!' that could cause us to create cross-origin wrappers in the wrong scope. bug 389796, r+sr=jst 2007-07-30 14:47:03 -07:00
jwalden@mit.edu
b6ec5fdf20 Bug 389988 - showModalDialog should not throw when blocked by the popup blocker (should return null instead). r+sr=jst, a=mconnor over IRC 2007-07-29 21:59:17 -07:00
cbiesinger@gmx.at
4afa23fd6d 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc
2007-07-26 19:40:45 -07:00
tor@cs.brown.edu
5ae1a82c12 Bug 373572 - Implement feTile filter.
Patch by longsonr@gmail.com, r=tor, sr=roc, a=schrep
2007-07-26 17:50:45 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
mrbkap@gmail.com
2ccd5c8afc Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan 2007-07-26 12:18:06 -07:00
jst@mozilla.org
895b24daf7 Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc 2007-07-26 10:52:26 -07:00
tor@cs.brown.edu
57371777f8 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
dmose@mozilla.org
d73aa4ab8c Relanding mrbkap's patch for bug 369259 since backing it out didn't fix our perf test woes 2007-07-25 17:54:41 -07:00
jonas@sicking.cc
18a76cc5a2 Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst 2007-07-25 17:36:19 -07:00
dmose@mozilla.org
92a8613d45 Backing out patch for bug 369259 in the hopes that it will cure the perftest orange 2007-07-25 15:55:09 -07:00
mrbkap@gmail.com
66cc6ede79 Propagate getters, setters and attributes when forwarding addproperty to the inner window. bug 369259, r=jst sr=brendan 2007-07-25 13:21:26 -07:00
dcamp@mozilla.com
0b135acaad fix bustage from bug 389223 2007-07-24 23:55:27 -07:00
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
67423b50ef Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
bzbarsky@mit.edu
6b99198f47 Cancelling the loadgroup after we've run JS but before we've started pumping
data should still work.  Bug 389151, r+sr=biesi
2007-07-24 17:08:58 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
bzbarsky@mit.edu
a6530cf834 Actually return a failure rv on failure. Bug 388115, r=jst, sr=brendan 2007-07-20 20:22:24 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
peterv@propagandism.org
98f744f6e4 Fix for bug 386189 (Cursor navigation by keyboard (arrow keys) does not work on designMode (including composer)). r/sr=jst 2007-07-18 03:24:37 -07:00
mrbkap@gmail.com
243fcf04c8 Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst 2007-07-17 13:12:21 -07:00
enndeakin@sympatico.ca
f1b527c30a Bug 323805, tab switching not working when for non-html and non-xul elements are focused, r=neil,sr=bz 2007-07-12 15:57:17 -07:00
jst@mozilla.org
ca6f124d7a Landing fix for bug 387478. NS_ScriptErrorReporter() no longer needs to check for a null report. Patch by sciguyryan@gmail.com, r+sr=jst@mozilla.org 2007-07-11 17:04:11 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
mozilla.mano@sent.com
603344be95 Bug 385872 - Strict warnings should only be enabled for chrome by default (in debug builds). r=jst, sr=brendan. 2007-07-10 01:05:54 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
jst@mozilla.org
1619a2d5a9 Fixing tinderbox orange. r=mrbkap@gmail.com 2007-07-09 17:24:26 -07:00