L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
timeless@mozdev.org
8b060aa6fb
Bug 584976 mark deprecated xpconnect interfaces and methods with [deprecated]
...
r=jst
2011-03-27 23:59:44 -04:00
neil@parkwaycc.co.uk
c104ce1676
Bug 581309 - Remove unused properties from XPCOMUtils; r=sayrer
2010-11-01 09:59:00 -04:00
timeless@mozdev.org
fb721a26cc
Bug 620280 crash [@ XPCJSRuntime::GCCallback] if !self
...
r=mrbkap
--HG--
extra : rebase_source : d1677bf92510f1f5c2532a2c3755bea247b3e688
2011-03-27 23:42:23 -04:00
Ms2ger
2deca252e5
Bug 639849 - Remove nsIDOM3Document; r=bz
2011-03-26 17:06:27 +01:00
Michael Wu
c445f6e656
Bug 636811 - Use JSSCRIPT_NO_SCRIPT_RVAL in js component loader, r=mrbkap
2011-03-25 14:31:14 -07:00
L. David Baron
506701bba2
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
L. David Baron
65ba1c0595
Merge layout work from projects/birch, part 3. a=smaug
2011-03-24 08:38:19 -07:00
Mike Hommey
2cfeef8160
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
L. David Baron
6256bf49b3
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
L. David Baron
36d847de86
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
Boris Zbarsky
494d0ffc7b
Bug 614145. Fast-path null in quickstub return values. r=peterv
2011-03-23 10:45:21 -04:00
Boris Zbarsky
58a96f2303
Bug 585786. Do fast-unwrapping even for non-slim wrappers as long as they're cached. r=peterv
2011-03-23 10:45:21 -04:00
Boris Zbarsky
250488127b
Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking
2011-03-23 10:45:21 -04:00
Mitchell Field
a7b458884e
Merge mozilla-central to build-system.
2011-03-11 11:05:04 +11:00
Blake Kaplan
bff040d432
Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker
2011-02-24 19:36:33 +01:00
mrbkap@gmail.com
229848dc69
Fix bug 636097 (r=gal, a=blocker).
2011-02-23 22:13:17 -08:00
bent.mozilla@gmail.com
5e450f9830
Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker
2011-02-23 00:08:36 -08:00
Blake Kaplan
239d15c104
Fixing bug 623810. r=jst@mozilla.org, gal@uci.edu, a=blocker. CLOSED TREE
2011-02-11 16:17:25 -08:00
Luke Wagner
3f83a00d7e
Bug 634594 - Ensure XPCCallContext string cache is aligned (r=mrbkap,a=pavlov)
2011-02-16 16:43:15 -08:00
Mike Shaver
85c4348adc
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange
2011-02-19 20:46:44 -08:00
Jeff Walden
3db0e1e2a2
Followup fix for bug 631135 to use the right method to compute calling scope when calling evalInSandbox. r=mrbkap, a=reported-extension-bustage
2011-02-18 20:54:47 -08:00
Jeff Walden
414ac259f6
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
...
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Peter Van der Beken
1cd3e600fb
Fix for bug 634855 (Memory leak with NoScript 2.0.9.8 installed). r=bent, a=sicking.
2011-02-17 19:13:28 -08:00
Chris Leary
e5a463842a
Merge mozilla-central and tracemonkey. (a=blockers)
2011-02-17 15:30:14 -08:00
Michael Wu
6b366b61a3
Bug 634752 - Always drop jsPrincipals before returning from LoadSubScript, r+a=jst
2011-02-17 14:20:00 -08:00
Chris Leary
ad3af1b94e
Merge mozilla-central to tracemonkey.
2011-02-17 10:36:55 -08:00
Andreas Gal
adc7d18078
Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap).
2011-02-16 15:47:12 -08:00
Ben Turner
9af6c69d00
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-16 12:47:08 -08:00
Andreas Gal
5a206a522e
Xray wrappers don't cache resolved native properties on the holder object (bug 633382, r=mrbkap/jst, a=blocker).
2011-02-15 19:00:55 -08:00
Steve Fink
86e9633eff
Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke)
2011-02-11 17:12:00 -08:00
Andreas Gal
abcd4c32b1
Backed out changeset dd5c76d35ac4 (bug 632343).
2011-02-14 23:29:39 -08:00
Luke Wagner
bc1bb93fb2
Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke)
2011-02-11 17:12:00 -08:00
Phil Ringnalda
e2e7d537fa
Back out 5b7eab632ba6 (bug 633382) for breaking the world
2011-02-14 19:29:27 -08:00
Andreas Gal
0599088dc3
Xray wrappers don't cache resolved native properties on the holder object (bug 633382, r=mrbkap, a=blocker).
2011-02-14 18:26:20 -08:00
Luke Wagner
d314f4fc7a
Bug 633520 - Un-break scope of XPCCallContext in WrapperFactory::PrepareForWrapping (r=mrbkap)
2011-02-11 19:32:45 -08:00
Jesse Ruderman
ab5a5375c3
Bug 633023: Add -p option to xpcshell. r=billm
2011-02-12 15:57:54 -08:00
Chris Leary
d314637891
Bug 618017: Encountering XML should not override the version. (r=lw)
2011-02-11 17:44:55 -08:00
Chris Leary
7cd988f331
Merge tracemonkey and mozilla-central. (a=blockers)
2011-02-11 09:56:19 -08:00
Olli Pettay
1a941e311f
Backout Bug 630932, a=backout, we need Bug 614347
2011-02-11 18:33:50 +02:00
gal@uci.edu
7a64b61491
Bug 630932, change CC/GC scheduling, r=smaug, a=blocker
2011-02-11 17:12:47 +02:00
Jonas Sicking
05cbdc2ddd
Bug 633414: Update cursor properties to latest spec. r=bent a=jst
2011-02-10 23:47:00 -08:00
Ginn Chen
59707430da
Bug 633048 32bit Firefox failed to start on a machine with 16GB memory r=gal a=gal
2011-02-11 14:12:27 +08:00
Blake Kaplan
abb62339da
Bug 629227 - ObjectIsNativeWrapper lies for document.domain. a=blocker
2011-02-16 20:29:14 -08:00
Andreas Gal
867ed02473
Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). a=blocker
2011-02-16 15:47:12 -08:00
Ben Turner
855fe52f2e
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-16 12:47:08 -08:00
Benjamin Smedberg
c4a2a5e8a4
More diagnostics for bug 626768 - It seems likely that creating a new XPCJSRuntime is failing, but we don't know why or when. Abort in the most obvious failure location to help diagnose the problem. r=bent a=myself
2011-02-16 11:52:31 -05:00
Andreas Gal
bb44a6acb4
Xray wrappers don't cache resolved native properties on the holder object (bug 633382, r=mrbkap/jst, a=blocker).
2011-02-15 19:00:55 -08:00
Chris Leary
a718b751ed
Merge tracemonkey to mozilla-central. (a=blockers)
2011-02-15 12:05:57 -08:00
Michael Wu
3e3e7c29eb
Bug 633666 - Ignore return code from GetHost in PathifyURI, r=bsmedberg a=shaver
2011-02-14 12:54:40 -08:00
Luke Wagner
89d7214860
Bug 627954, part 2: ensure nsXPCConvert::VariantData2JS et al are in the correct compartment (r=mrbkap)
...
--HG--
extra : rebase_source : c924f5e87e2f5a6339f4c83c78db1c7f05b600f7
2011-02-05 04:56:05 -08:00
Ben Turner
e29dc44bff
Backout 10ebc5ea11ac due to test failures.
2011-02-09 15:29:31 -08:00
Ben Turner
3fb884d2a6
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-09 12:51:16 -08:00
Jim Blandy
b775bfcb46
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
314aa75aac
Backout bug 614347 due to test failures
2011-02-08 22:15:48 -08:00
Ben Turner
4e5f2c1808
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. Bustage fix.
2011-02-08 20:12:48 -08:00
Ben Turner
3dd9784466
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-08 18:54:14 -08:00
Blake Kaplan
f1f6cc2faf
Bug 615834 - get rid of annoying build warning. r+a=merge error
...
--HG--
extra : rebase_source : f90083159468d4430eeb76787e6f34fd35dfd444
2011-01-31 20:54:19 -08:00
Chris Leary
4e1d0a6b70
Merge mozilla-central and tracemonkey. (a=blockers)
2011-02-06 15:30:39 -08:00
Johnny Stenback
6b87b64c44
Backed out changeset 3fb25cc2c040 due to orange.
2011-02-11 18:04:09 -08:00
Andreas Gal
cabd660fbb
Bug 630072. Fix issue with wrappers holding objects from old scopes alive. r=mrbkap@gmail.com, a=blocker
2011-02-11 16:36:48 -08:00
Blake Kaplan
ec5802cfe2
Fixing bug 623810. r=jst@mozilla.org, gal@uci.edu, a=blocker.
2011-02-11 16:17:25 -08:00
Matt Brubeck
ccb0540dd3
Bug 632490: Use a content-type hint in mozJSSubScriptLoader::LoadSubScript. r=shaver a=blocking-fennec
...
--HG--
extra : rebase_source : ff4aba30c6ac11b97921c368d8220a63d698692d
2011-02-08 12:16:06 -08:00
Dan Witte
b39a896a01
Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner
2011-02-08 14:16:07 -08:00
Boris Zbarsky
596e3fdc0b
Fix test description. a=DONTBUILD
2011-02-08 16:41:47 -05:00
Peter Van der Beken
66e6b2447c
Bug 623437 - restore for-in order of canvas methods (r=gal/peterv, a=jst).
2011-02-08 13:34:25 -08:00
Boris Zbarsky
ac8850b133
Bug 623437. Restore the relative enumeration order of arc and arcTo. r=peterv,gal a=jst
2011-02-08 16:30:57 -05:00
Justin Wood
bd3654e3bd
Bug 589506 - Scrub the codebase of MOZ_VIEW_SOURCE and MOZ_JSLOADER. r+=ted
2010-08-24 23:27:34 -04:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
timeless@mozdev.org
717b9e0a0b
Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst
2010-08-02 16:52:12 +03:00
Ehsan Akhgari
c07c875d05
Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
...
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
timeless@mozdev.org
6493b0d2b1
Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst
...
--HG--
extra : rebase_source : 4b4ddb3c7c720ff1266f0d868d1e101942d72b10
2010-08-02 16:52:12 +03:00
Blake Kaplan
5b0b819c30
Bug 630716 - Use a better method of comparing URIs for determining whether two compartments are same origin. r=bzbarsky, r=gal, a=blocker
2011-02-02 22:05:07 -08:00
Blake Kaplan
9790bbbe74
Bug 629331 - Fix handling of class getters with slotful values. r=gal, r=brendan, a=blocker
...
try: -b do -p linux,win32 -u all
2011-02-03 20:13:18 -08:00
Andreas Gal
5c5bdfb009
Bug 630772. Fix compartment mismatch in evalInSandbox(). r=jst@mozilla.com. a=blocker
2011-02-02 19:47:34 -08:00
Peter Van der Beken
359a7a5eac
Bug 628599. Traverse expando objects. r=jst@mozilla.com, a=blocker
2011-02-02 14:08:13 -08:00
timeless@mozdev.org
bf00e23933
Bug 577913 mark DEBUG only variables as ifdef DEBUG in xpconnect; r=mrbkap a=jst
...
--HG--
extra : rebase_source : ce14e3eb2ea17a5350cbb85af355b89c5d002fce
2010-07-11 15:42:47 +03:00
Andreas Gal
c342e4f1c3
Enter compartment in AutoScriptEvaluate (bug 630243, r=jst, a=blocker).
2011-02-01 14:58:00 -08:00
Jim Blandy
672dd55a28
Bug 621103: Rename js::Anchor to JS::Anchor: 'JS' is the public namespace. r=waldo
2011-01-31 14:42:53 -08:00
Jonas Sicking
8ae905de30
Tests for bug 594999 (r=mrbkap).
2011-01-29 18:53:59 -08:00
Andreas Gal
80068e5cca
Silenty return undefined instead of throwing when content tries to access non-exposed chrome properties (bug 594999, r=mrbkap).
2011-01-29 18:48:30 -08:00
Jonas Sicking
6c6a7cea3e
Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal).
2011-01-29 18:47:17 -08:00
Blake Kaplan
f6e1daac94
Bug 611485 - Don't enter the foreign compartment when calling through Xray wrappers. r=gal
2011-01-25 15:06:45 -08:00
timeless@mozdev.org
313f426282
Bug 615834 warning: inline function ‘JSCompartment* JSObject::getCompartment() const’ used but never defined. r=gal
...
r=mrbkap
--HG--
extra : rebase_source : fe12e4864bb95a55802be395bd119a064af64baf
2011-01-18 14:25:46 -08:00
Chris Leary
074bd0c596
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Blake Kaplan
8f27ca08f2
Catch chrome eval escaping into content (bug 625559, r=gal).
2011-01-26 18:28:49 -08:00
Luke Wagner
36e619deba
Bug 627227 - Remove retval-jsval optimization in CallMethod; take the normal wrapping path (r=jst)
...
--HG--
extra : rebase_source : 899a628dd668efc48d91bd7098010f9c8d4ae61c
2011-01-25 12:27:17 -08:00
Luke Wagner
acc89d7129
Bug 627959, part 2 - wrap exception in XPCThrower::ThrowExceptionObject (r=gal)
...
--HG--
extra : rebase_source : ea39e580d733130b63d0a71c19c32e773e50f50b
2011-01-24 16:30:16 -08:00
Steve Fink
afccee8a2d
Bug 627943 - Bad ordering of exception save/wrap/restore, r=gal
...
--HG--
extra : rebase_source : bc2bdd4af8c4639456a8a7c77f8a0353e44ac1d2
2011-01-21 17:32:00 -08:00
Chris Leary
1771b7c232
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Chris Leary
a490c5bc24
Merge mozilla-central and tracemonkey. (a=blockers)
2011-01-24 19:47:52 -08:00
Steve Fink
db1cdf9f0a
Backed out changeset e13f3b909fa2
2011-01-24 15:12:18 -08:00
Steve Fink
2dacef3f04
Backed out changeset b7e91bafdcd9
2011-01-24 15:10:52 -08:00
Steve Fink
31df3a402a
Backed out changeset d54eac606dd7
2011-01-24 15:10:23 -08:00
Steve Fink
b500ebd4d9
Bug 626830 - XPConnect should turn debugging off immediately, without waiting for a quiescent stack
...
--HG--
extra : rebase_source : 62a7bb8024313841b4c40c86ccaedd1ae9f56ad1
2011-01-24 13:24:52 -08:00
Steve Fink
e2145da10c
Bug 626830 - Allow JSD to turn on debugging when no JS code is running, not just when XPConnect stack is completely empty, r=dmandelin
...
--HG--
extra : rebase_source : 3f177904d2708642dfec8d5937964ec8fc83427a
2011-01-24 13:21:18 -08:00