1453 Commits

Author SHA1 Message Date
mrbkap%gmail.com
dbea1036d8 Minimal fix for bug 504021. r=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@259482 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-27 01:21:43 +00:00
mrbkap%gmail.com
3b88dd0cc1 Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/trunk@259480 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-26 23:34:11 +00:00
dveditz%cruzio.com
7594c8f0a6 Bug 503451 - remove GeckoActiveXObject/COMObject, and similar functions which aren't usable by content except that content can still detect which COM objects are present on the system. patch by bsmedberg, r=mrbkap sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258963 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 08:15:18 +00:00
mrbkap%gmail.com
96be241b3e Try to fix orange.
git-svn-id: svn://10.0.0.236/trunk@258477 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-23 02:46:47 +00:00
mrbkap%gmail.com
4552195883 Bug 509583 - Deal with empty arrays the same way we deal with regular arrays. r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258475 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-23 00:09:09 +00:00
mrbkap%gmail.com
f6778a40b6 Fix bug 505988. r=bzbarsky sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258474 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-23 00:07:47 +00:00
mrbkap%gmail.com
d72b3550e5 Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258405 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-16 18:33:46 +00:00
jst%mozilla.org
977b27f860 Fixing bug 500644. PAC: crash when using PAC-based manual proxy config and the attached testcase. Patch by bnewman@mozilla.com, r=mrbkap@gmail.com, sr=brendan@mozilla.org, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@258383 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-15 00:29:45 +00:00
mrbkap%gmail.com
8bc644e9d7 Bug 500931 - Ensure that weak reference wrappers return the right object when called upon. r=bent sr=jst a=ss
git-svn-id: svn://10.0.0.236/trunk@258049 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:41:49 +00:00
mrbkap%gmail.com
5815f2cfd0 Bug 501577 - Add a missing call to Release in nsXPCWrappedJS::GetNewOrUsed. r+sr=peterv a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258048 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:14:21 +00:00
mrbkap%gmail.com
3beff105d6 Bug 455633 - Protect against the weird Sandbox global object case when creating XPCNativeWrappers. r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257634 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-06 05:57:37 +00:00
mrbkap%gmail.com
407a1f1f43 Bug 481434 - Fix up the logic a bit. r+sr=bzbarsky a=ss
git-svn-id: svn://10.0.0.236/trunk@257583 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-25 06:58:18 +00:00
mrbkap%gmail.com
a3d3acbb16 Bug 460882. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@257562 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-24 02:30:25 +00:00
igor%mir2.org
1f68049513 bug 488995, r=mrbkap,sr=jst,a1.9.0.12=ss
git-svn-id: svn://10.0.0.236/trunk@257561 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-23 20:27:33 +00:00
igor%mir2.org
a8e486f0d8 backing out the patch for bug 488995 due to build failure on windows
git-svn-id: svn://10.0.0.236/trunk@257559 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-23 18:56:41 +00:00
igor%mir2.org
63a8fd8863 bug 488995, r=mrbkap,sr=jst,a1.9.0.12=dveditz
git-svn-id: svn://10.0.0.236/trunk@257557 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-23 14:46:14 +00:00
Olli.Pettay%helsinki.fi
e0860f9cc0 Bug 461861, r+sr=mrbkap, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257490 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-14 14:31:37 +00:00
mrbkap%gmail.com
5ae7f6792b Bug 479560, r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256978 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-19 03:17:46 +00:00
mrbkap%gmail.com
67ffe2b343 Bug 477128 - Add a mochitest.
git-svn-id: svn://10.0.0.236/trunk@256805 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-02 22:10:57 +00:00
mrbkap%gmail.com
567673e3cf Bug 477128 - Don't throw if XPCNativeWrapper is called as a function but passed a primitive value to allow for safe primitive testing. r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256562 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:42:09 +00:00
mrbkap%gmail.com
a8c3f6520e Bug 478433 - Use a better method to create this function. r+sr=jst a=dvedtiz
git-svn-id: svn://10.0.0.236/trunk@256561 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:41:15 +00:00
mrbkap%gmail.com
9dac5e7dc9 Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255105 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 23:58:23 +00:00
mrbkap%gmail.com
68e2ba2266 Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255087 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 05:03:47 +00:00
gavin%gavinsharp.com
3269d7b305 Backout bug 450633 because its fix is broken (see bug 450633 comment 12)
git-svn-id: svn://10.0.0.236/trunk@254764 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-25 21:07:23 +00:00
reed%reedloden.com
bc7b7fe0ac Bug 450633 - ""script stack space quota is exhausted" exception in JSON.jsm when calling SessionStore API for sessions with a large amount of data" (split the string in JSON.jsm when it's too large) [p=zeniko@gmail.com (Simon Bünzli) r=sayrer sr=brendan a=dveditz]
git-svn-id: svn://10.0.0.236/trunk@254701 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-21 02:18:46 +00:00
mrbkap%gmail.com
b3d0410bd3 Create implicit XPCNativeWrappers in fewer situations. bug 441087, r=jst sr=bzbarsky a=ss
git-svn-id: svn://10.0.0.236/trunk@253646 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 22:52:31 +00:00
mrbkap%gmail.com
6e923ee242 Make XPCNativeWrapper deal with non-browser embeddings. bug 422113, r+sr=jst a=ss
git-svn-id: svn://10.0.0.236/trunk@253525 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 23:33:51 +00:00
bugzilla%standard8.plus.com
bd332ebd4c Bug 435853 Running xpcshell tests involving Mac components leaks memory due to not having an NSAutoreleasePool. r=shaver,sr=brendan,a=ss
git-svn-id: svn://10.0.0.236/trunk@253423 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-07 09:12:57 +00:00
jst%mozilla.org
36abf6c32b 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
git-svn-id: svn://10.0.0.236/trunk@251867 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 05:42:53 +00:00
jst%mozilla.org
07f19d9216 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
git-svn-id: svn://10.0.0.236/trunk@251861 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-27 21:59:58 +00:00
bent.mozilla%gmail.com
95b39e9b49 Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@251283 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 21:37:50 +00:00
bent.mozilla%gmail.com
2cf89300ee 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.
git-svn-id: svn://10.0.0.236/trunk@250932 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-29 18:01:03 +00:00
igor%mir2.org
f2b9f36ac1 [Bug 430871] Eliminating unused JSINVOKE_INTERNAL and JSFRAME_INTERNAL. r=brendan a1.9=dsicore
git-svn-id: svn://10.0.0.236/trunk@250849 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-28 06:50:44 +00:00
gavin%gavinsharp.com
9ecdecc3c4 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
git-svn-id: svn://10.0.0.236/trunk@250731 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 23:17:45 +00:00
jruderman%hmc.edu
5816fadab2 Add mochitest
git-svn-id: svn://10.0.0.236/trunk@250675 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 05:40:56 +00:00
jruderman%hmc.edu
87235da8b9 Add crashtest
git-svn-id: svn://10.0.0.236/trunk@250657 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 04:16:56 +00:00
jonas%sicking.cc
31975ee7ea Fix redness. Stupid second security manager
git-svn-id: svn://10.0.0.236/trunk@250474 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 17:51:10 +00:00
gavin%gavinsharp.com
7247c09406 Bug 425139: XPCSafeJSObjectWrapper provides incorrect type information, patch by shaver@mozilla.org, r=mrbkap, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250179 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 01:18:30 +00:00
bent.mozilla%gmail.com
233b6f4403 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.
git-svn-id: svn://10.0.0.236/trunk@249990 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 17:35:57 +00:00
jruderman%hmc.edu
91bb1e6ae8 Reduce the length of the "XPConnect is being called on a scope without a 'Components' property!" assertion message (bug 426954). r=mrbkap, debug-only.
git-svn-id: svn://10.0.0.236/trunk@249967 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 05:19:30 +00:00
reed%reedloden.com
933778d2a9 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]
git-svn-id: svn://10.0.0.236/trunk@249917 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 07:27:16 +00:00
jonas%sicking.cc
9fce957868 Bug 425201: Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@249871 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 00:38:13 +00:00
bent.mozilla%gmail.com
e57a5cdc9b Bustage fix for DEBUG_CC builds as a result of the fix for bug 423874. r=dbaron, a=NPOTDB.
git-svn-id: svn://10.0.0.236/trunk@249018 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 22:18:06 +00:00
igor%mir2.org
2357239d6b [Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@248998 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 07:46:13 +00:00
reed%reedloden.com
5ff10fc2dd Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248995 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 06:41:23 +00:00
igor%mir2.org
088bbf6cb0 [bug 423874] backing out as a simpler patch would do the job with less code.
git-svn-id: svn://10.0.0.236/trunk@248816 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-29 10:34:31 +00:00
jst%mozilla.org
9f4f8f9182 Fixing bug 424449. Clear scope on XOWs when scope is cleared on the object wrapped by the XOW. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@248636 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 01:04:14 +00:00
reed%reedloden.com
01b0d67c41 Bug 422025 - [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=mrbkap a1.9b5=schrep]
git-svn-id: svn://10.0.0.236/trunk@248564 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 23:16:21 +00:00
shaver%mozilla.org
cb5a8c5385 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


git-svn-id: svn://10.0.0.236/trunk@248539 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 14:08:48 +00:00
igor%mir2.org
99df75fa8a bug=423874 r=brendan a1.9b5=dsicore
Allocating native functions together with JSObject


git-svn-id: svn://10.0.0.236/trunk@248353 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 08:19:27 +00:00