Commit Graph

22925 Commits

Author SHA1 Message Date
Brian Hackett
4dcb603901 Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 13:46:49 -07:00
Anant Narayanan
1ceeaa0d12 Backout 4aef9921a9d6, build failed 2012-10-25 12:28:05 -07:00
Brian Hackett
d177fc87e2 Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 12:00:00 -07:00
Bobby Holley
488778aa80 Bug 797821 - Null check to fix intermittent orange. r=me 2012-10-25 18:36:45 +02:00
Ehsan Akhgari
f117c7a7b0 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley
6bae1ef04d Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
c8500076c1 Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50 Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
a257acaeb2 Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
4ab5b9a39a Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c14f6e265e Bug 797821 - Decide whether we need to trace DOM stuff based on more relevant information than JSCLASS_XPCONNECT_GLOBAL. r=mrbkap
This will let us rip out that flag.
2012-10-25 17:01:08 +02:00
Bobby Holley
19e17dc08a Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley
05aea8b835 Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
18d529092b Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
36cb31b1bc Bug 797821 - Remove xpc_NewSystemInheritingJSObject and cached mJSPrototypeObject. r=mrbkap
xpc_NewSystemInheritingJSObject is totally unnecessary now that the system bit
has been removed (\o/). Furthermore, the mJSPrototypeObject optimization is
really dumb. it complicates tracing significantly, and we don't actually use it
in any critical places: XPCWrappedNative and slim wrapper creation use a different
prototype, so this is used only for the creation of tearoff reflectors (seldom/
never used), XPCWrappedNativeProto objects, and the nohelper prototype on the
scope (once per scope).

We could actually just pass NULL to JS_NewObject and let it deal. However, this
would actually trigger a dynamic lookup for the prototype object of the
associated JSClass, which isn't what we want. So we just explicitly pass in
Object.prototype.
2012-10-25 17:01:08 +02:00
Bobby Holley
ddca166933 Bug 797821 - Remove unused aNative parameter to XPCWrappedNativeScope creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
9e5696d887 Bug 797821 - Stop storing mScriptObjectPrincipal. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
703a9798c9 Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
d6ecaf26fe Bug 797821 - Allow compartment privates to be lazily created when using them just for storing about:memory URIs. r=mrbkap
This will allow us to stop making nsXULPrototypeDocument and nsXBLDocumentInfo
globals XPConnect globals.
2012-10-25 17:01:07 +02:00
Bobby Holley
826ce1e16b Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
961bc14d2b Bug 797821 - Loosen the CompartmentPrivate contract so that having one does not imply being in the compartment set. r=mrbkap
The compartment set goes away in later patches anyway. This is to allow us to
create compartment privates for things like XUL prototype document globals
without having to put them in the set and trace expandos and such.
2012-10-25 17:01:07 +02:00
Bobby Holley
3b50be121c Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap 2012-10-25 17:01:07 +02:00
Bobby Holley
78e479ed30 Bug 797821 - Remove CreateNewGlobal. r=mrbkap
It doesn't do anything useful at this point.
2012-10-25 17:01:07 +02:00
Bobby Holley
b04ca561e8 Bug 797821 - Remove the dependency of XPCWrappedNativeScope instantiation on XPCCallContext and expose the raw constructor. r=mrbkap 2012-10-25 17:01:07 +02:00
Benjamin Peterson
100afe236c Bug 804857 - Start with a small compression buffer. r=njn 2012-10-24 16:15:48 -07:00
Benjamin Peterson
13a625e950 Bug 804857 - Allocate memory in the compression thread and have its clients check for error. r=njn 2012-10-24 16:15:48 -07:00
Benjamin Peterson
751b0aad58 Bug 804558 - Make JSScript::loadSource GC-safe. r=terrence 2012-10-24 13:51:28 -07:00
Bobby Holley
39688c3cc6 Bug 801576 - Android bustage fix. r=me 2012-10-24 14:18:39 +02:00
Bobby Holley
add541742c Bug 801576 - Add tests for the same-origin policy. r=mrbkap 2012-10-24 12:04:19 +02:00
Bobby Holley
32af1d27d9 Bug 801576 - Forbid cross-origin access to the History object. r=mrbkap 2012-10-24 12:04:18 +02:00
Ryan VanderMeulen
f514f1397a Merge m-c to inbound. 2012-10-23 22:41:34 -04:00
Ryan VanderMeulen
ce44cdfbd3 Merge the last PGO-green inbound changeset to m-c. 2012-10-23 22:28:33 -04:00
Kannan Vijayan
1126411f71 Bug 795801 - IC StrictPropertyOp setters in IonMonkey. (r=dvander) 2012-10-23 22:18:11 -04:00
Olli Pettay
b0e3180948 Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley 2012-10-24 01:26:36 +03:00
Benjamin Peterson
b6d6f226f0 No bug: Make constructor explicit. rs=Waldo 2012-10-23 15:37:58 -07:00
Benjamin Peterson
1adbee29f9 Bug 804404 - Set source hook in XPC initialization. r=bz 2012-10-23 18:09:00 -04:00
Brian Hackett
554176192e Keep the interpreter stack synced for GC scanning, bug 781657. r=billm 2012-10-23 09:20:56 -07:00
Brian Hackett
fcff772478 Propagate callee 'this' types more often, bug 788822. r=jandem 2012-10-23 09:05:27 -07:00
Brian Hackett
6fcba53d19 Don't get confused by unreachable opcodes before loop headers when picking chunk boundaries, bug 781859. r=jandem 2012-10-23 07:45:34 -07:00
Jonathan Kew
df166e73aa backout 4c79da81e6fc (bug 800785) on suspicion of burning the Linux PGO builds 2012-10-23 11:57:45 +01:00
Chuck Lee
ddac623d6a Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug 2012-10-22 18:18:26 +08:00
Chuck Lee
a7168749c9 Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug 2012-10-22 17:17:18 +08:00
Makoto Kato
32f135c952 Bug 800785 - unnecessary PGO for js shell. r=ted 2012-10-23 16:42:19 +09:00
Till Schneidereit
749af984d3 Bug 784400 - adapt GlobalObject::hasIntrinsicFunction to changes in self-hosting initialization. r=luke
--HG--
extra : rebase_source : 6afbfcc0264e44bf7a740635e47ee1ea6ce23655
2012-10-21 20:48:06 -07:00
Gregory Szorc
3e476bcb7f Bug 800614 - Require Python 2.6 to build the tree; r=ted 2012-10-22 12:24:40 -07:00
Nick Hurley
31985d7fa6 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Andres Hernandez
e456defc7f Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-19 15:52:21 -06:00
Boris Zbarsky
2c0d8809e7 Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
ad8c0e8444 Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
5592281fbe Bug 801723. WebIDL binding objects may not have classinfo even if they're nsISupports. r=peterv 2012-10-22 13:08:51 -04:00
Rafael Ávila de Espíndola
5d094213a0 Bug 803707 - Don't assume pointers are 64 bits. r=benjamin. 2012-10-22 09:07:04 -04:00
Bobby Holley
dc33cae831 Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.

I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.

--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Bobby Holley
9f03d6c96b Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap 2012-10-22 08:29:55 +02:00
Justin Wood
a08aa7e3fc Merge backout of Bug 800613 2012-10-22 00:43:31 -04:00
Justin Wood
6c551d0d0f Backout bug 800613 (09dc2dc1fc9f) due to l10n breakage 2012-10-22 00:42:56 -04:00
Peter Van der Beken
9f37e05526 Fix for bug 803872 (Remove remaining references to the dom.new_bindings pref). r=Ms2ger. 2012-10-21 13:06:55 +02:00
Ms2ger
ff1fb0488f Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Ryan VanderMeulen
4dfc29c3c1 Merge m-c to inbound. 2012-10-20 18:02:38 -04:00
Olli Pettay
2e10612fef Bug 802829 - Don't add nsXPCWrappedJS objects to CC graph if they only point to a certainly alive object, r=mccr8 2012-10-20 22:53:25 +03:00
Andrew McCreight
9352dfe0e2 Bug 801957 - use isFull for gcFinalizeCallback. r=billm 2012-10-20 11:26:28 -07:00
Gregory Szorc
7d163043a5 Bug 800614 - Require Python 2.6 to build the tree; r=ted
Previous minimum Python was 2.5.

This only affects the build system. Some code (including some testing
code) still needs to run on older versions of Python.
2012-10-19 11:13:37 -07:00
Terrence Cole
179cac20c4 Bug 801114 - Remove JSD's unused out-of-memory hook; r=billm
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
rename : dom/base/test/test_gsp-qualified.html => dom/base/test/test_gsp-standards.html
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bea54e63e4712ab097b7d7882092968aed82170b
2012-10-19 10:49:48 -07:00
Kannan Vijayan
2aabd8b3ba Bug 802384 - Bug in GeneratePrototypeGuards in IonCache.cpp. (r=mjrosenb) 2012-10-19 13:34:56 -04:00
Peter Van der Beken
0fca6b2112 Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
foudfou
96e3df5cd9 Bug 799537 - Sort xpconnect chrome mochitests in tests/chrome. r=bholley 2012-10-19 23:16:07 +02:00
foudfou
f830f40097 Bug 799537 - Move xpconnect chrome mochitests in tests/mochitest to tests/chrome. r=bholley
--HG--
rename : js/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/chrome/test_bug361111.xul
rename : js/xpconnect/tests/mochitest/test_bug760131.html => js/xpconnect/tests/chrome/test_bug760131.html
2012-10-19 22:44:26 +02:00
Nicolas B. Pierron
fdc5d505f9 Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem 2012-10-19 17:05:31 -07:00
Nicolas B. Pierron
12229b498b Bug 799818 part 2 - Handle unknown double as input of a table switch. r=djvj,h4writer 2012-10-19 17:05:31 -07:00
Nicolas B. Pierron
3d304bf96c Bug 799818 part 1 - Ensure return type before optimizing getelem for strings. r=jandem 2012-10-19 17:05:31 -07:00
Phil Ringnalda
461c6c79bf Back out 0498e3bb74bd:9011919fcf00 (bug 799818) for build bustage
on a CLOSED TREE
2012-10-19 14:55:53 -07:00
Nicolas B. Pierron
f057d60dc4 Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem 2012-10-19 14:32:36 -07:00
Nicolas B. Pierron
147904b297 Bug 799818 part 2 - Handle unknown double as input of a table switch. r=djvj,h4writer 2012-10-19 14:32:22 -07:00
Nicolas B. Pierron
20830fb699 Bug 799818 part 1 - Ensure return type before optimizing getelem for strings. r=jandem 2012-10-19 14:32:22 -07:00
Jan de Mooij
d3a1975923 Bug 803219 - Fix TI sanity checks in the interpreter. r=terrence 2012-10-19 21:10:01 +02:00
Bobby Holley
8f227813bb Bug 793969 - Define an identity transformation at the Xray layer. r=mrbkap 2012-10-19 21:00:48 +02:00
Jim Blandy
4b30589daf Bug 738480: Simplify Debugger::ScriptQuery after CPG. Fix missing compile-and-go scripts. r=luke 2012-10-19 09:53:00 -07:00
Isaac Aggrey
5d8d5083ea Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc 2012-10-11 01:00:54 -05:00
Peter Van der Beken
57adeb4354 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Jacek Caban
f155653bf2 Bug 803084 - Port bug 789753 to mingw-w64 builds r=m_kato DONTBUILD
--HG--
extra : rebase_source : 05e1649e02e473a22ceacb55f05afa9a9de2bda2
2012-10-19 13:17:05 +02:00
Makoto Kato
0638f34655 Bug 802529 - crash in js::detail::HashTableEntry with methodjit=false. r=luke 2012-10-19 16:37:00 +09:00
Nikhil Marathe
51a2c616e8 Bug 802751 - Remove outdated comment. r=luke DONTBUILD
--HG--
extra : rebase_source : 9641e600293c846e4c7a002d32b1b0da1de28cb5
2012-10-18 22:27:31 -04:00
Ryan VanderMeulen
e7c57435cb Bug 798123 - Fix build bustage. r=Waldo
CLOSED TREE
2012-10-18 22:21:38 -04:00
Gabriele Svelto
cc3411e5ab Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Benjamin Peterson
632234f58e Bug 803358 - Remove JSOPTION_RELIMIT. r=luke 2012-10-18 21:06:42 -04:00
Joel Maher
05d832e89a Bug 788653 - Make enablePrivilege pref name more dire. r=bholley 2012-10-18 08:03:37 -04:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Josh Matthews
17184e0206 Backed out changeset 12002e126b39 (bug 769298) 2012-10-18 17:27:23 -04:00
Jim Blandy
9b0476d15a (no bug) DONTBUILD Fix comment search-and-replaceo in js/src/ion/IonMacroAssembler.h rs=nobody 2012-10-18 14:20:43 -07:00
Andres Hernandez
5714d9cba9 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-18 00:24:56 -06:00
Bill McCloskey
f7b79900c0 Bug 795532 - Add more assertions during transplant (r=bholley) 2012-10-17 14:42:41 -07:00
Ed Morley
08d7403cae Merge mozilla-central to mozilla-inbound 2012-10-18 18:14:23 +01:00
Ed Morley
4663178067 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-18 18:12:33 +01:00
Chris AtLee
657519f363 Bug 802763: Set objcopy for gonk builds. r=ted DONTBUILD 2012-10-18 10:45:31 -04:00
Mike Hommey
c318b23973 Bug 794472 - Add quoting for some commands to make pymake happier. r=ted 2012-10-18 14:44:12 +02:00
Luke Wagner
eaea7760a3 Bug 801922 - IonMonkey: LDefinition::BOX should only be defined with JS_PUNBOX64 (r=dvander) 2012-10-16 16:56:11 -07:00
Luke Wagner
c90c4baefb Bug 800650 - decouple CompileBackEnd from IonBuilder (r=dvander) 2012-10-16 16:56:11 -07:00
Bobby Holley
18c36e53ac Bug 802968 - Fix racy test behavior. r=me DONTBUILD
--HG--
extra : rebase_source : 631b1d7d8efc625725b9a733c8e065030ff795e1
2012-10-18 14:41:13 +02:00
Bill McCloskey
57de976dc0 Bug 714050 - Make JS source compression thread optional (r=luke) 2012-10-16 11:57:11 -07:00
Bill McCloskey
6aef4b6f13 Bug 714050 - Make Ion compile threads optional (r=luke) 2012-10-16 11:57:09 -07:00