Mounir Lamouri
3973bb035e
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-19 10:49:17 -07:00
Ed Morley
ef538d7e2b
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
0ec84b3d0f
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
889b49f2a0
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
c6b2969ceb
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-18 13:35:15 -07:00
Bill McCloskey
a4d863d341
Bug 770759 - Add mutable handles (r=bhackett)
2012-07-04 11:12:16 -07:00
Mark Banner
6ec1f2a03d
Bug 766269 - Thunderbird Permanent orange: TEST_UNEXPECTED_FAIL | test_0030_general.js. Correctly handle MOZ_APP_BASENAME and MOZ_APP_VENDOR being unset when determining the update location for unit tests on Windows. r=ehsan, test-only
2012-06-29 07:24:33 +01:00
Bobby Holley
3890e89e91
Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
...
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Blake Kaplan
9799bf5594
Bug 769265 - Fix these calls. r=bent
2012-06-28 16:14:11 +02:00
Luke Wagner
a1671dae7e
Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
2012-06-20 08:57:29 -07:00
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Jason Orendorff
97c660a9e4
Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo.
2012-05-30 15:05:59 -05:00
Jason Orendorff
63f82c9d34
Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo.
2012-05-30 15:05:58 -05:00
Ehsan Akhgari
e1af685c9b
Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
...
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart. This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.
Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.
2012-05-22 10:50:04 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
b4c002a912
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
4f8baecc9e
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
b7d2500332
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Andrew Paprocki
a8d6820bef
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04:00
Johnny Stenback
775bd54e22
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
Bobby Holley
90f81beea0
Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE
2012-05-02 23:57:43 +02:00
Bobby Holley
745beebaa4
Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz
2012-05-02 23:57:34 +02:00
David Anderson
216b1b1c3e
Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
2012-04-16 12:25:28 -07:00
Igor Bukanov
401a036771
Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
...
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.
The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Bill McCloskey
38062ea556
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
David Anderson
eb3f356a23
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Igor Bukanov
4797d46af3
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Bobby Holley
9462576942
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
3ce325ec9b
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Igor Bukanov
c0611e12fb
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
Matt Brubeck
d34102c071
Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes
2012-02-29 16:18:22 -08:00
Igor Bukanov
7607cdb290
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
David Mandelin
f0690b22d1
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Kyle Huey
b905d1b182
Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan
2012-02-22 15:05:28 -08:00
Phil Ringnalda
695ef380d2
Back out b27980f1de54 and 39ea8d8f9768 (bug 728429) for potential Windows PGO build bustage on a CLOSED TREE
2012-02-21 20:01:01 -08:00
Kyle Huey
99fecfee2b
Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan
2012-02-21 16:09:39 -08:00
Igor Bukanov
6fefb1df81
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
2012-02-05 21:07:23 +01:00
Igor Bukanov
ae7ab9b03a
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
12633fbfdd
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
2012-02-05 21:07:23 +01:00
Igor Bukanov
889c9d4073
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Igor Bukanov
1b90308e6d
bug 722348 - eliminate JSRuntime::requestCount. r=luke
2012-01-30 11:15:13 +01:00
Ms2ger
cc1b920929
Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley
2012-01-15 09:13:07 +01:00
Ms2ger
d8a8e3ccf9
Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey
2012-01-02 19:05:19 +01:00
Ms2ger
6c35a44d1b
Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke
2011-12-28 09:13:37 +01:00
Jeff Walden
937f1b2b48
Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones
2011-12-13 14:26:58 -05:00
John Schoenick
a1cdb05405
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
ec54627bab
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
02925f4636
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Jeff Walden
12e010ddeb
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Ryan VanderMeulen
340b13b1c1
Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander
2011-11-28 14:57:31 -08:00