Bobby Holley
2afd934910
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
35f4a1d02f
Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap
2012-10-25 17:01:09 +02:00
Bobby Holley
e5281ffe10
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
fecbbb3ade
Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap
2012-10-25 17:01:09 +02:00
Bobby Holley
678c7b3e05
Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap
2012-10-25 17:01:09 +02:00
Bobby Holley
2cf0594417
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
5d518d9c54
Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
...
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley
0cdf333aaa
Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap
2012-10-25 17:01:08 +02:00
Bobby Holley
7ec5eb0580
Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap
2012-10-25 17:01:08 +02:00
Bobby Holley
f0c6fb319b
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
c2707a9093
Bug 797821 - Remove unused aNative parameter to XPCWrappedNativeScope creation. r=mrbkap
2012-10-25 17:01:08 +02:00
Bobby Holley
467b5d350e
Bug 797821 - Stop storing mScriptObjectPrincipal. r=mrbkap
2012-10-25 17:01:08 +02:00
Bobby Holley
6e408995a1
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
2c3ca83d1f
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
115b01b88b
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
9fa3c57db6
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
c563a12b76
Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap
2012-10-25 17:01:07 +02:00
Bobby Holley
64e6dab665
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
669dc56dfe
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
64f17f75f7
Bug 804857 - Start with a small compression buffer. r=njn
2012-10-24 16:15:48 -07:00
Benjamin Peterson
8444e1bdb4
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
04b113155e
Bug 804558 - Make JSScript::loadSource GC-safe. r=terrence
2012-10-24 13:51:28 -07:00
Bobby Holley
ededf3d730
Bug 801576 - Android bustage fix. r=me
2012-10-24 14:18:39 +02:00
Bobby Holley
5a6219b643
Bug 801576 - Add tests for the same-origin policy. r=mrbkap
2012-10-24 12:04:19 +02:00
Bobby Holley
f2880fe1d1
Bug 801576 - Forbid cross-origin access to the History object. r=mrbkap
2012-10-24 12:04:18 +02:00
Ryan VanderMeulen
72c7e10300
Merge m-c to inbound.
2012-10-23 22:41:34 -04:00
Ryan VanderMeulen
7d0be33071
Merge the last PGO-green inbound changeset to m-c.
2012-10-23 22:28:33 -04:00
Kannan Vijayan
84f5850fcd
Bug 795801 - IC StrictPropertyOp setters in IonMonkey. (r=dvander)
2012-10-23 22:18:11 -04:00
Olli Pettay
c370341643
Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley
2012-10-24 01:26:36 +03:00
Benjamin Peterson
e50fd62051
No bug: Make constructor explicit. rs=Waldo
2012-10-23 15:37:58 -07:00
Benjamin Peterson
a7f69029d0
Bug 804404 - Set source hook in XPC initialization. r=bz
2012-10-23 18:09:00 -04:00
Brian Hackett
1b2a480e61
Keep the interpreter stack synced for GC scanning, bug 781657. r=billm
2012-10-23 09:20:56 -07:00
Brian Hackett
247bf2747b
Propagate callee 'this' types more often, bug 788822. r=jandem
2012-10-23 09:05:27 -07:00
Brian Hackett
32f9505d3f
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
def7614df5
backout 4c79da81e6fc (bug 800785) on suspicion of burning the Linux PGO builds
2012-10-23 11:57:45 +01:00
Chuck Lee
6a13b77a08
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
c686d1e157
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Makoto Kato
56cde82f4d
Bug 800785 - unnecessary PGO for js shell. r=ted
2012-10-23 16:42:19 +09:00
Till Schneidereit
9d41299d4c
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
0112dac4ee
Bug 800614 - Require Python 2.6 to build the tree; r=ted
2012-10-22 12:24:40 -07:00
Nick Hurley
3b308213ec
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Andres Hernandez
8fbf84fbd1
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
b598ec354c
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
7a7136cc71
Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
7b364a60a1
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
3084d97cdf
Bug 803707 - Don't assume pointers are 64 bits. r=benjamin.
2012-10-22 09:07:04 -04:00
Bobby Holley
10241f928c
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
02f7765031
Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap
2012-10-22 08:29:55 +02:00
Justin Wood
5a1614d42c
Merge backout of Bug 800613
2012-10-22 00:43:31 -04:00
Justin Wood
8f71dde779
Backout bug 800613 (09dc2dc1fc9f) due to l10n breakage
2012-10-22 00:42:56 -04:00
Peter Van der Beken
052fbed287
Fix for bug 803872 (Remove remaining references to the dom.new_bindings pref). r=Ms2ger.
2012-10-21 13:06:55 +02:00
Ms2ger
bf2b5f9bda
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
2012-10-21 09:38:41 +02:00
Ryan VanderMeulen
7cf590e075
Merge m-c to inbound.
2012-10-20 18:02:38 -04:00
Olli Pettay
e2db7fffa5
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
8ef63c75d3
Bug 801957 - use isFull for gcFinalizeCallback. r=billm
2012-10-20 11:26:28 -07:00
Gregory Szorc
b8ead98943
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
655049da80
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
e529312818
Bug 802384 - Bug in GeneratePrototypeGuards in IonCache.cpp. (r=mjrosenb)
2012-10-19 13:34:56 -04:00
Peter Van der Beken
9af14c557f
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
foudfou
04435bb71f
Bug 799537 - Sort xpconnect chrome mochitests in tests/chrome. r=bholley
2012-10-19 23:16:07 +02:00
foudfou
1bf98be1e7
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
307976c182
Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem
2012-10-19 17:05:31 -07:00
Nicolas B. Pierron
2c06fd4088
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
9bdcb44c8c
Bug 799818 part 1 - Ensure return type before optimizing getelem for strings. r=jandem
2012-10-19 17:05:31 -07:00
Phil Ringnalda
87844c69b0
Back out 0498e3bb74bd:9011919fcf00 (bug 799818) for build bustage
...
on a CLOSED TREE
2012-10-19 14:55:53 -07:00
Nicolas B. Pierron
009e82fae0
Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem
2012-10-19 14:32:36 -07:00
Nicolas B. Pierron
a243dbcb81
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
55ea96ff64
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
2e5c70a819
Bug 803219 - Fix TI sanity checks in the interpreter. r=terrence
2012-10-19 21:10:01 +02:00
Bobby Holley
2b400bf0e8
Bug 793969 - Define an identity transformation at the Xray layer. r=mrbkap
2012-10-19 21:00:48 +02:00
Jim Blandy
107003f921
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
f3cb73b9c7
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
e4c543b77c
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
fdcf4df496
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
fed22904dc
Bug 802529 - crash in js::detail::HashTableEntry with methodjit=false. r=luke
2012-10-19 16:37:00 +09:00
Nikhil Marathe
8becb422d9
Bug 802751 - Remove outdated comment. r=luke DONTBUILD
...
--HG--
extra : rebase_source : 9641e600293c846e4c7a002d32b1b0da1de28cb5
2012-10-18 22:27:31 -04:00
Ryan VanderMeulen
caba3228c3
Bug 798123 - Fix build bustage. r=Waldo
...
CLOSED TREE
2012-10-18 22:21:38 -04:00
Gabriele Svelto
44557fe8f0
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
18527f9e0b
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00
Joel Maher
11c4a06d66
Bug 788653 - Make enablePrivilege pref name more dire. r=bholley
2012-10-18 08:03:37 -04:00
Isaac Aggrey
c984edf823
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
622cda9c90
Backed out changeset 12002e126b39 (bug 769298)
2012-10-18 17:27:23 -04:00
Jim Blandy
b7456b619f
(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
a84d1976b8
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
96bd1922df
Bug 795532 - Add more assertions during transplant (r=bholley)
2012-10-17 14:42:41 -07:00
Ed Morley
11408182a0
Merge mozilla-central to mozilla-inbound
2012-10-18 18:14:23 +01:00
Ed Morley
2dceb90299
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-18 18:12:33 +01:00
Chris AtLee
c558fd6e98
Bug 802763: Set objcopy for gonk builds. r=ted DONTBUILD
2012-10-18 10:45:31 -04:00
Mike Hommey
5055bfb2f5
Bug 794472 - Add quoting for some commands to make pymake happier. r=ted
2012-10-18 14:44:12 +02:00
Luke Wagner
59d4cdf89e
Bug 801922 - IonMonkey: LDefinition::BOX should only be defined with JS_PUNBOX64 (r=dvander)
2012-10-16 16:56:11 -07:00
Luke Wagner
64a38ea397
Bug 800650 - decouple CompileBackEnd from IonBuilder (r=dvander)
2012-10-16 16:56:11 -07:00
Bobby Holley
94a49ebb50
Bug 802968 - Fix racy test behavior. r=me DONTBUILD
...
--HG--
extra : rebase_source : 631b1d7d8efc625725b9a733c8e065030ff795e1
2012-10-18 14:41:13 +02:00
Bill McCloskey
d3f82bacd5
Bug 714050 - Make JS source compression thread optional (r=luke)
2012-10-16 11:57:11 -07:00
Bill McCloskey
2d2d33f92b
Bug 714050 - Make Ion compile threads optional (r=luke)
2012-10-16 11:57:09 -07:00
Bill McCloskey
dabce15796
Bug 714050 - Make GC helper thread optional (r=luke)
2012-10-16 11:57:09 -07:00
Bill McCloskey
fadcc33157
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Sean Stangl
07051f705a
Bug 801915 - Handle JSOP_IN with IonMonkey. r=jandem
2012-10-17 13:57:16 -07:00
Bobby Holley
e799cc3495
Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz
2012-10-17 19:44:30 +02:00
Ehsan Akhgari
16f73f960a
Merge mozilla-central into mozilla-inbound
2012-10-17 13:03:16 -04:00
Hannes Verschore
71038944c9
Bug 801830: Ionmonkey: correctly compare definitions in MMul
2012-10-17 18:34:39 +02:00
bzbarsky@mit.edu
3b30ad1062
Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
...
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Steve Fink
1aa9703a18
Bug 802319 - Various rooting fixes. r=terrence
...
js/src/tests (jstests) currently passes all tests with rooting analysis on with this patch applied.
2012-10-15 16:23:33 -07:00
Steve Fink
a3407e54d1
Bug 802422 - Pay attention to the actual test result. r=terrence
2012-10-12 14:53:45 -07:00
Bobby Holley
7c0ed6fd80
Bug 792280 - Only censor function.caller for non-same-origin calls. r=luke
2012-10-17 17:56:49 +02:00
Justin Lebar
be2864ee16
Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn
2012-10-17 10:44:31 -04:00
Jan Beich
b905e6a742
Bug 788955 - Check for malloc_usable_size() and malloc_np.h via autoconf. r=glandium
2012-10-17 16:39:15 +02:00
Jan Beich
760aad6d54
Bug 795742 - Remove a configure check unused in JS code. r=glandium
2012-10-17 16:33:31 +02:00
Benjamin Peterson
f8c980d8d8
Bug 801961 - Make ion compile threads start lazily. r=luke
2012-10-17 00:18:21 -04:00
Bill McCloskey
5758e4554d
Bug 791174 - Clean up GC tracing code (r=jonco)
2012-10-15 17:02:52 -07:00
Terrence Cole
48105e69e7
Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
...
Return<T> wraps GC things that are returned from accessor methods. The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Bobby Holley
889232fd33
Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Bobby Holley
a3164aaa90
Bug 797304 - Add special handling for nuked parents in orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Bobby Holley
1021325c42
Bug 797304 - Be more aggressive when fixing up orphans. r=peterv
...
To make stronger assumptions, we should dig deeper on the parent chain, and also morph any slim wrappers. This is slightly slower, but not much, since this stuff only gets called for HTML documents, and the parent chains there tend to be short. Moreover, this only gets called during document.open(), where performance doesn't matter so much.
2012-10-16 15:07:54 +02:00
David Zbarsky
09d92493b0
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-16 00:26:51 -04:00
David Zbarsky
691b27fa27
Backout 368cd30cccda for bustage
2012-10-15 23:52:17 -04:00
David Zbarsky
7a57538d03
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 23:37:34 -04:00
Sean Stangl
12141909b3
Bug 801839 - Clean up jsop_getprop(). r=pierron
2012-10-16 15:08:58 -07:00
Sean Stangl
c27b2d4d5c
Backout 73f735acc3e1.
2012-10-16 13:17:59 -07:00
Sean Stangl
652fe3f4ac
Bug 801839 - Clean up jsop_getprop(). r=pierron
2012-10-16 12:07:17 -07:00
Bill McCloskey
b352722f4b
Bug 798678 - Weakmap key preservation test (r=mccr8)
2012-10-17 18:22:54 -07:00
Bill McCloskey
151b2aba2f
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Bill McCloskey
aea3aad693
Bug 798678 - Refactor wrapper preservation for weakmaps (r=mccr8)
2012-10-08 18:22:47 -07:00
Jesse Ruderman
5bddb75e4a
Bug 742570 followup - fix typos. DONTBUILD.
2012-10-17 17:14:03 -07:00
Jim Blandy
07155b183d
(no bug): Fix comment in UpdateDepth in js/src/frontend/BytecodeEmitter.cpp (DONTBUILD) rs=waldo
2012-10-17 15:39:54 -07:00
Brad Lassey
b66de766f1
bug 802616 - don't use software floating point math on ARMv6 r=glandium
...
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Nicolas B. Pierron
8ddd8ecea6
Bug 800878 - EvalInFrame, Check debug mode before iterating the stack. r=luke,decoder
2012-10-17 15:01:09 -07:00
Jeff Walden
e2d7ad602b
Fix up and un-skip the test for bug 406572, following up on a comment in bug 577325. r=jorendorff
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 8457c42ff9ba9151f240462e06192fa4dc444a75
2012-01-29 03:03:18 -08:00
Bill McCloskey
7ad7a8b043
Backout bug 791174 for orange
2012-10-15 17:00:39 -07:00
Bill McCloskey
463de3b214
Bug 791174 - Clean up GC tracing code (r=jonco)
2012-10-12 11:28:44 -07:00
Benjamin Peterson
35f1927bcd
Bug 800407 followup - Fix running in browser environment. r=me
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 5f42dac25147c4e44cc24a0b254d047e9bac6203
2012-10-15 17:16:12 -04:00
Benjamin Peterson
8110859480
No bug - Add executable bit. rs=terrence
2012-10-15 16:15:52 -04:00
Benjamin Peterson
19a0e65d9d
Bug 800407 - Remove incorrect assertion that Function constructor defined functions cannot have inherited strict mode. r=benjamin code=Nikhil Marathe
...
--HG--
extra : rebase_source : 54cb7adb34ea2b9825d9aadf19f896f68f5dc508
2012-10-15 16:12:41 -04:00
Ehsan Akhgari
ee902c51f9
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Ed Morley
057bdb3632
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Kannan Vijayan
46c9ff5428
Bug 800935 - Fix ASSERT error in generateCallGetter. (r=nbp)
2012-10-15 10:56:20 -04:00
Ryan VanderMeulen
409f1f5ca2
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ehsan Akhgari
c046eecc51
Bug 801344 - Make sure that JSRuntime::initSelfHosting never returns an uninitialized value; r=till
2012-10-14 11:12:03 -04:00
Ryan VanderMeulen
87b15267d4
Merge the last PGO-green inbound changeset to m-c.
2012-10-13 19:26:29 -04:00
Jan Beich
0541b9caf5
Bug 801295 - mincore() call has incorrect type on tier3 (non-Linux). r=jlebar
...
--HG--
extra : rebase_source : 3201ac0b491a8cb40f916276e5b34a14d3122dc7
2012-10-13 09:34:00 -04:00
Andrew Quartey
3ca8d029a6
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Justin Lebar
2721f60472
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-12 10:26:06 -04:00
Justin Lebar
a82900f6ee
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Ed Morley
f214df21b4
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Ehsan Akhgari
518619c774
Bug 801346 - Remove s_VOID_id from dombindings.cpp; r=bholley
2012-10-15 09:05:09 -04:00
Peter Van der Beken
b981fdd138
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
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 : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Aryeh Gregor
aaf30c8f52
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Aryeh Gregor
c24a828b17
Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz
2012-10-11 14:48:31 +02:00
Jim Blandy
2e198f619e
Bug 743311: Implement Debugger.prototype.findAllGlobals. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
b24c65d207
Bug 743311: Implement Debugger.prototype.onNewGlobalObject. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
5aac88c22d
Bug 743311: Add option to shell 'evaluate' to catch termination, for tests. r=jorendorff
2012-10-13 16:04:41 -07:00
Jim Blandy
0f355c830c
Bug 796073: Identify debuggees only by Debugger.Object instances and CCWs that can be unwrapped securely. r=luke
...
This patch affects behavior that a lot of debugger tests rely on; I've
tried to update the tests without losing coverage of behavior that is still
supported:
- A prior patch in this series removes uses of addDebuggee to generate
Debugger.Object instances referring to random objects, using
makeDebuggeeValue instead.
- The test debug/Debugger-debuggees-07.js is deleted, because it's testing
for the very behavior we're removing. Other tests are trimmed to remove
usage that is no longer supported.
- The new test debug/Debugger-debuggees-17.js checks that we reject objects
that don't designate debuggees. The existing test
Debugger-debuggees-06.js checks that non-object values are properly
rejected.
- The new test debug/Debugger-debuggees-18.js checks that globals are
correctly identified regardless of how we designate them.
2012-10-13 16:04:41 -07:00
Jim Blandy
f767de9ba4
Bug 796073: Use Debugger.Object.prototype.makeDebuggeeValue where appropriate, not Debugger.prototype.addDebuggee. r=luke
...
Many tests use Debugger.prototype.addDebuggee to produce Debugger.Object
instances referring to random objects. Now we have
Debugger.Object.prototype.makeDebuggeeValue to do that, which is more
careful about wrappers. This patch changes all the existing tests that
abuse addDebuggee in this way (well, they didn't have any choice when they
were written) to use makeDebuggeeValue instead, in preparation for
tightening up addDebuggee to only accept global objects.
2012-10-13 16:04:41 -07:00
Jim Blandy
041dc31787
Bug 795119: Complain coherently when evalInGlobal{,withBindings} is passed a CCW to a global, not a global. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
c31b40cbb3
Bug 799272: Implement Debugger.Object.prototype.unwrap. r=luke
2012-10-13 16:04:16 -07:00
Jim Blandy
026411b23e
Bug 799272: Implement Debugger.Object.prototype.global. r=luke
2012-10-13 16:04:16 -07:00
Jacek Szpot
06b915eb2e
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Peter Van der Beken
1884e4827d
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Nicholas Cameron
4996f7f194
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
95b7ba0d53
Bug 734668; remove canvas quickstubs. r=Ms2ger
...
--HG--
extra : rebase_source : ceefaf29933c58a0605d60a599fddf31b0c1b229
2012-10-12 22:42:53 +13:00
Saurabh Anand
994150f1a7
Bug 795780 - Remove unnecessary rooting in proxy methods. r=nnethercote.
...
--HG--
extra : rebase_source : ff593ecc2082dea276f7fe09734394dce595a20c
2012-10-14 17:46:28 +05:30
Siddharth Agarwal
9ba10dd002
Back out bug 585011 (making cl.py a pymake native command) because of bug 794490.
2012-10-14 18:54:18 -07:00
Till Schneidereit
6c6f1fbcaf
Bug 784400 - Move all intrinsics initialization from the globalObject->intrinsicsHolder object to the runtime's selfHostingGlobal. r=luke
2012-10-11 14:43:21 +02:00
Till Schneidereit
d76f7d081f
Bug 784400 - Enable cloning of object literals within functions. r=luke
2012-10-11 11:53:02 +02:00
Till Schneidereit
fe77160adc
Bug 784400 - Give self-hosted code access to standard builtins. r=luke
2012-08-28 04:58:00 +02:00
Till Schneidereit
351128d188
Bug 784620 - Support reading self-hosted JS from a file set via environment variable. r=terrence
2012-10-11 11:19:43 +02:00
Benjamin Peterson
88b22faee7
Bug 779118 - Try to be more robust about waiting for compression to finish. r=luke
2012-10-13 09:24:13 -04:00
Benjamin Peterson
4a9d49c642
Bug 791465 - Fix processDirectives' ASI emulation. code=André Bargull r=benjamin
2012-10-13 09:23:53 -04:00
Benjamin Peterson
4c71fe77a0
No bug - Readd executable bit. rs=terrence
...
--HG--
extra : rebase_source : c3a77fb2fd8d6b1bae65efdd2bbc481f139b91e9
2012-10-12 14:44:20 -04:00
Nicholas Nethercote
146880df7e
Bug 800481 - Remove unnecessary second arg from HashTable::hash{1,2}. r=luke.
2012-10-11 16:36:29 -07:00
Ehsan Akhgari
360f83a99f
Backout bug 798510 because of xpcshell orange
2012-10-11 20:17:33 -04:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Justin Lebar
4fb614dd4c
Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn
2012-10-11 18:55:53 -04:00
Justin Lebar
94115895ce
Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
...
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-11 18:55:53 -04:00
David Anderson
81e29d6d46
Don't explicitly unbox before GetPropertyCache (bug 799907, r=djvj).
2012-10-11 13:47:50 -07:00
Bobby Holley
da4fce7951
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz
2012-10-11 19:44:20 +02:00
Nicolas B. Pierron
4ccf62b3ab
Bug 797977 - Rename StackIter::fp() to StackIter::interpFrame(). r=luke
2012-10-10 20:50:07 -07:00
Sean Stangl
ef39e70ccb
Bug 798946 - Confer with TI about the return type of Math.random(). r=dvander
2012-10-10 17:07:53 -07:00
Rafael Ávila de Espíndola
793b72e4d0
Bug 799807 - update reference to llvm bug. r=dvander.
2012-10-10 10:31:02 -04:00
Bobby Holley
a9295dd2c0
Bug 797204 - Remove API. r=mrbkap
...
\o/
2012-10-10 11:01:26 +02:00
Bobby Holley
2a4c1de7d5
Bug 797204 - Consolidate XBL filename hack logic into nsContentUtils. r=mrbkap
...
These two functions do the exact same thing, as far as I can tell.
2012-10-10 11:01:26 +02:00
Bobby Holley
eb1cc5decf
Bug 789224 - Remove chrome check in xpc_EvalInSandbox. r=mrbkap
...
This function is also called to evaluate javascript:// URIs, at which point the chrome caller assumption isn't actually valid. Let's just do the modern thing here, and fix up the caller that breaks.
2012-10-10 11:01:26 +02:00
foudfou
f9dda29b0b
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02:00
Marty Rosenberg
9288a8d847
Change the method we use to update ranges on phis so narrowing works properly (bug 799282, r=jandem)
2012-10-10 01:25:03 -04:00
Marty Rosenberg
512a54765a
The fix bitand to not compute bogus ranges (bug 799793, r=dvander)
2012-10-10 01:25:03 -04:00
Nicholas Nethercote
86d11cb219
Bug 793967 - Refactor Proxy::getElementIfPresent(). r=ejpbruel.
...
--HG--
extra : rebase_source : 5832487556791f6fc36b840d6306875c2c3e386a
2012-10-07 22:39:54 -07:00
Terrence Cole
bb0c8edd9b
Bug 799777 - Unravel the threaded interpreter; r=luke
...
With the JITs, this is no longer buying us performance proportional to its
complexity.
2012-10-09 17:26:13 -07:00
Terrence Cole
9fd0191df4
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
extra : rebase_source : 122785b474af371ed22d43a6bfcb600c05440405
2012-10-08 15:04:36 -07:00
Ehsan Akhgari
91f6375b08
Bug 799432 - Backout changeset 30ab4e1d4874 and changeset dbcc29e9fcf6 from bug 777292 since they're no longer necessary with bug 795238
2012-10-09 16:01:24 -04:00
Jim Blandy
70e7dca277
Bug 795173: Make Debugger.Object.prototype.evalInGlobalWithBindings pass the right 'this' value. r=jorendorff
...
This also adds a test for Debugger.Frame.prototype.evalWithBindings, to
make sure it puts new variables on the right object; I couldn't find any
existing tests for the non-strict case (Frame-evalWithBindings-11.js
handles the strict mode case).
2012-10-09 12:02:30 -07:00
Benoit Jacob
ee49c790ba
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00
Chris Peterson
0407a3da60
Bug 799307 - Remove some XPCDebug.cpp cruft that was obsoleted by bug 787856. r=billm
2012-10-08 17:29:47 -07:00
Bobby Holley
35741f8d98
Bug 786142 - Make sure we have a real WN in MoveWrappers. r=peterv
2012-10-09 17:28:13 +02:00
Gabor Krizsanits
c497e1461d
Bug 684601 - window.toString.call() with native JS Object; r=bz
2012-10-09 17:21:53 +02:00
Eddy Bruel
e8eace5748
Bug 797469 - Avoid putting a JSFunction in Objectbox; r=jorendorff
2012-10-09 17:02:00 +02:00
Ted Mielczarek
d53b2c12ef
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Mike Hommey
21a591bb9f
Bug 795204 - Trick make/pymake into waiting for shared libraries rules to run before installing import libraries in DIST/lib. r=ted
2012-10-09 10:17:26 +02:00
Nicolas B. Pierron
d085653a7f
Bug 798913 - Prevent inlining of overflow of arguments. r=dvander
2012-10-08 18:12:25 -07:00
Sean Stangl
0d84f06cf0
Bug 799297 - Pass explicit type to loadUnboxedValue(). r=dvander
2012-10-08 17:27:10 -07:00
Terrence Cole
f56b69f5b1
Backout 754a1efb5b37 for bustage on a CLOSED TREE
2012-10-08 15:42:39 -07:00
Nicholas Nethercote
9ddf540b9b
Bug 799019 - Tweak per-compartment memory reporting. r=Ms2ger.
...
--HG--
extra : rebase_source : 66bab372c7b3a7f4cebfd059b4c64a7562ba1f5d
2012-10-08 15:20:26 -07:00
Nicholas Nethercote
6ce031f394
Bug 799000 - Don't double count when memory-reporting for JSObject2WrappedJSMap. r=terrence.
...
--HG--
extra : rebase_source : 77553d19751c45e050b5945bb0813dd7155dfea6
2012-10-08 15:20:13 -07:00
Terrence Cole
8d60e1a402
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
rename : content/html/content/test/test_bug797113.html => content/html/content/test/test_bug780993.html
extra : rebase_source : 19b24e3decfc37c7387ea941233aec8239550927
2012-10-08 15:04:36 -07:00
Nicolas B. Pierron
35e961a158
Bug 798834 - Remove reset of non-actual arguments for StackFrame. r=luke
2012-10-08 14:57:10 -07:00
Ehsan Akhgari
ac82e1045c
Merge mozilla-central into mozilla-inbound
2012-10-08 16:53:58 -04:00
Alex Keybl
5e5b54cfae
Merging in version bump NO BUG
2012-10-08 11:01:15 -07:00
Marty Rosenberg
d4348a58a0
Fix the backwards code so it matches the well thought out comment (bug 792589, r=jbramley)
2012-10-08 06:32:39 -04:00
Jacek Caban
71a55bf600
Bug 797793 - Disable format warnings on mingw r=glandium
2012-10-08 11:46:53 +02:00
Brian Hackett
1a4b671a0e
Bug 793491. There isn't really any reason to have lots of type barriers for different objects at a site, since if we manage to discharge all the barriers the target will probably just be marked as a generic object anyways. So go ahead and just fall back to an AnyObject barrier once we have more than BARRIER_OBJECT_LIMIT barriers on a single pc. r=jandem
2012-10-08 10:14:10 +02:00
Hsin-Yi Tsai
86b07b748e
Bug 783525 - part 1 - idl and DOM impl for ICCCardLockErrorEvent. r=smaug, sr=sicking
2012-10-03 14:29:07 +08:00
Phil Ringnalda
d78d19d61b
Back out 20899bf87646 (bug 798913) for Windows opt browser-chrome bustage
2012-10-07 23:26:03 -07:00
Marty Rosenberg
bdbebf04d9
Ranges should all be signed, never unsigned, even when the operation should logically be unsigned (bug 765119, r=djvj)
2012-10-07 23:19:23 -04:00
Marty Rosenberg
0fa4c160f2
Fix windows by adding in an initializer (bug 765119, r=dvander)
2012-10-05 06:15:36 -04:00
Marty Rosenberg
c8ff738d43
Add in two patches that were lost while rebasing (bug 765119, r=jandem)
2012-10-03 09:37:50 -04:00
Marty Rosenberg
5e3dc41768
Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
9748e49904
Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
284ae01633
Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
9ac4c02c7f
Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
ded18ef32d
Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander)
2012-10-02 04:34:27 -04:00
Phil Ringnalda
a82288204e
Back out 9157b71a7df1 (bug 793491) for assertion failures
2012-10-07 21:02:46 -07:00
Nicolas B. Pierron
8329059ea7
Bug 798913 - Prevent inlining of overflow of arguments. r=dvander
2012-10-07 20:50:20 -07:00
Brian Hackett
0a213b1326
Bug 793491. There isn't really any reason to have lots of type barriers for different objects at a site, since if we manage to discharge all the barriers the target will probably just be marked as a generic object anyways. So go ahead and just fall back to an AnyObject barrier once we have more than BARRIER_OBJECT_LIMIT barriers on a single pc. r=jandem
2012-10-07 23:04:38 -04:00
Nicholas Nethercote
e58e9709e7
Bug 793076 (part 8) - Make GetCachedLocalTime() infallible. r=jwalden.
...
--HG--
extra : rebase_source : a0631d386fb6666b03c32bd96f594000add57d32
2012-10-07 18:03:20 -07:00
Nicholas Nethercote
e076d2ab01
Bug 793076 (part 7) - Rename CacheLocalTimes() and change its return type from bool to void. r=jwalden.
...
--HG--
extra : rebase_source : 99a9b3e5944d61d5cad87f80afafb0dd22379179
2012-10-07 18:01:54 -07:00
Nicholas Nethercote
def69f4aa0
Bug 793076 (part 6) - Remove SetDateToNaN. r=jwalden.
...
--HG--
extra : rebase_source : 2fddc9bf0e38c215f169afbc3480a5d793315bb9
2012-10-07 18:01:51 -07:00
Nicholas Nethercote
1d29c8af5b
Bug 793076 (part 5) - Change SetUTCTime()'s return type from bool to void. r=jwalden.
...
--HG--
extra : rebase_source : 33411aca5216e1e8bf298500c7f9fd5dd61d8d6a
2012-10-07 18:01:35 -07:00
Nicholas Nethercote
e19b123ba3
Bug 793076 (part 4) - In jsdate.cpp, exactly root remaining JSObject* pointers. r=jwalden.
...
--HG--
extra : rebase_source : f90b0eecbb1f81c38ff55132faf05384b98ef622
2012-09-20 23:23:54 -07:00
Nicholas Nethercote
7a69104c60
Bug 793076 (part 3) - In jsdate.cpp, convert Rooted<JSObject*> pointers to RootedObject. r=jwalden.
...
--HG--
extra : rebase_source : a6493707a8ddc223a5a72b8131483c285543dc02
2012-09-20 23:23:18 -07:00
Nicholas Nethercote
1b72132349
Bug 793076 (part 2) - In jsdate.cpp, convert |cx| parameters to |dstOffsetCache| where possible. r=jwalden.
...
--HG--
extra : rebase_source : 27977fc5c54e7f359cdb0bf550a3d6ddcbd4cae5
2012-09-20 23:22:35 -07:00
Nicholas Nethercote
cbc812d8ca
Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
...
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
2012-09-20 21:41:49 -07:00
Jan de Mooij
3923aee558
Bug 798823 - Don't use an empty IonActivation in FastInvokeGuard. r=dvander
2012-10-07 14:27:11 -07:00
David Rajchenbach-Teller
81de20823a
Bug 795505 - Feed typed arrays to js-ctypes. r=jorendorff
2012-10-06 21:53:23 -04:00
Jan de Mooij
d00b754c77
Temporarily disable bug 797131 part 3 for fuzz crashes. r=dvander on IRC
2012-10-07 01:15:53 +02:00
Jan de Mooij
089fb725c2
Bug 798819 - Ensure the EnterJIT thunk exists when using FastInvoke. r=dvander
2012-10-06 15:39:04 -07:00
Ed Morley
44b97aef8e
Merge mozilla-central to mozilla-inbound
2012-10-06 21:47:07 +01:00
Tom Schuster
c3e35953d6
Bug 784765 - Add fastpath for string equality with different length. r=jandem
2012-10-06 21:59:14 +02:00
Ed Morley
1bcac7940e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Boris Zbarsky
c3467f2b81
Bug 796410. Make things still work right if we disable Paris list bindings. r=peterv
2012-10-06 12:21:42 -04:00
Boris Zbarsky
1060975a5f
Bug 798011. Deal with JS_ValueToString failing. r=gabor
2012-10-06 12:06:24 -04:00
Kannan Vijayan
3b092f80e9
Bug 798589 - Change GetProp IC attachCallGetter to use script being jitted to get ion framesize instaed of script the getprop belongs to. (r=jandem)
2012-10-06 09:58:06 -04:00
Jan de Mooij
f154de8ef6
Bug 797131 part 3 - Add fast path for calling into Ion. r=dvander
2012-10-06 11:38:18 +02:00
Jan de Mooij
cfaf573c1e
Bug 797131 part 2 - Add FastInvokeGuard and use it. r=dvander
2012-10-06 11:37:59 +02:00
Jan de Mooij
4e46fad7ce
Bug 797131 part 1 - Various small changes. r=dvander
2012-10-06 11:37:18 +02:00
Ms2ger
bbe52187a6
Bug 795610 - Part g: Introduce custom quickstubs that call the newly introduced WebIDL APIs; r=mounir
2012-10-06 09:20:56 +02:00
Mike Hommey
d9535a31bf
Bug 797322 - Preprocessed .jsm files don't get //@line info. r=ted
2012-10-06 10:38:58 +02:00
Jim Blandy
998fa206dc
DONTBUILD
...
(No bug): Remove inaccurate comment for js::gc::CellIter r=billm on IRC
2012-10-05 17:32:41 -07:00
Nicolas B. Pierron
216835d2b7
Bug 792398 - Recover arguments from bailouts. r=luke
2012-10-04 23:56:07 -07:00
Nicolas B. Pierron
231ae87d52
Bug 787813 - Argument object, Use StackIter instead of StackFrame. r=luke
2012-10-04 23:56:06 -07:00
Nicholas Nethercote
7df073ff5b
Bug 797695 (part 4) - Exactly root jsscript.cpp. r=terrence.
...
--HG--
extra : rebase_source : b6cc292b092b30e339a75921245d4605275c104d
2012-10-04 16:22:03 -07:00
Nicholas Nethercote
8fbf1bdfc3
Bug 797695 (part 3) - Exactly root js_NewFunction(). r=terrence.
...
--HG--
extra : rebase_source : afece8e51f17ad3ed4d7cef013f169fa957362d4
2012-10-04 16:21:51 -07:00
Nicholas Nethercote
9ba36b1aa3
Bug 797695 (part 2) - Exactly root jsfun.cpp. r=terrence.
...
--HG--
extra : rebase_source : 9a46d4b08cf0e71f34b7d87699329bc8f6ec4e47
2012-10-04 16:21:40 -07:00
Nicholas Nethercote
15fc521d61
Bug 797695 (part 1) - Exactly root jsexn.cpp. r=terrence.
...
--HG--
extra : rebase_source : 9680504cb9e93a9fe10af0ff6f2cd3253c011b06
2012-10-04 16:21:36 -07:00
Kannan Vijayan
83f3b04b46
Bug 786126 - part 3 - Allow null/undefined in typeset of target object of GetProp ICs. (r=sstangl)
2012-10-05 00:28:36 -04:00
Nicolas B. Pierron
525cb0aee4
Revert "Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke"
...
This reverts changeset 588135660310.
2012-10-05 15:00:46 -07:00
Nicolas B. Pierron
603637d92f
Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke
2012-10-05 14:01:03 -07:00
Steve Fink
eb430a3a4b
Bug 797213 - Test output may not go to stdout if -O given. r=terrence
...
--HG--
extra : rebase_source : b0ca42e73f5da97e65eb73abb2115857d14fd9fa
2012-10-05 13:17:36 -07:00
Steve Fink
747660290e
Bug 797213 - jstests.py -O<filename> should default show-output to on. r=terrence
...
I didn't expect to have to specify -o in addition to -O. I get that you might want to use -s instead of -o, but -o is probably much more common.
--HG--
extra : rebase_source : 25e5f6ec23b3b4b006f12d405a30c6c43b631423
2012-10-05 13:17:23 -07:00
Steve Fink
935b17207d
Bug 797213 - jstests.py: add a -F (--failed-only) option to only display output of failed tests. r=terrence
...
I also snuck a change to the output format, to display the test name in the output so that it is possible to associate output with the test that produced it. I mixed it in just because it was a little harder to separate out into a separate patch. I could easily do so, if you'd like.
--HG--
extra : rebase_source : ac26efd171eb6fa19b90eae22a29d047f1ba55b8
2012-10-05 13:17:01 -07:00
Steve Fink
3110eb99d4
Bug 797217 - Replace InternalHandleBase::zeroPointer with NullPtr::constNullValue. r=terrence
...
--HG--
extra : rebase_source : f70e1d996fb01e790b277524128faa68060dac6d
2012-10-05 13:16:39 -07:00
Steve Fink
5f92bc6efb
Bug 797128 - Minor rooting fix and SkipRoot justification. r=terrence
...
The first valid SkipRoot I've found. copyFromArray was inexplicably discarding a handle, and with that fixed there are some unrooted internal pointers stored on the stack. But the only things that can trigger GC will also trigger an early exit, so all of the unrooted pointers are dead if a GC happens anyway.
--HG--
extra : rebase_source : b0c0157bcfdb7461086cdec4be8f71f94ab24c55
2012-10-05 13:14:47 -07:00
Steve Fink
6a34b3a21b
Bug 797123 - Fix JS_ALWAYS_TRUE(fallible ToNumber) in jstypedarray.cpp. r=Waldo
...
Apparently, it was once believed that ToNumber is infallible when given a primitive value. It has 2 or 3 different ways of failing on OOM. For example, if you're onverting a string containing a double, you might blow out memory constructing the dtoa cache.
--HG--
extra : rebase_source : 88c91620678eb9be7ad8dd67f48c54cf843c09e6
2012-09-20 11:21:12 -07:00
Steve Fink
9d0d41cb98
Bug 794214 - Avoid putting poisoned pointer into type->newScript. r=billm
...
--HG--
extra : rebase_source : 904806c6059409c1af02624a1b4b989329f5acf3
2012-09-25 13:48:40 -07:00
Sean Stangl
73eeb4d947
Bug 797551 - Use callWithABI() for Math.random(). r=dvander
2012-10-05 12:05:21 -07:00
Jan de Mooij
d3c0716239
Bug 797825 - Port Array.prototype.concat fast path from JM to Ion. r=dvander
...
--HG--
extra : rebase_source : e5213bb7085685821f80ad9978b7b81706289c36
2012-10-05 20:25:21 +02:00
Bobby Holley
3e2bc99f16
Bug 761695 - Put Proxy and DOM expandos on the expando object, rather than the holder. r=peterv
2012-10-05 18:59:24 +02:00
Bobby Holley
54f0bae85b
Bug 761695 - Hoist expando-checking (but not expando-creating) operations into common code. r=peterv
...
We do this for delete_, enumerateNames, and resolveOwnProperty. This doesn't change
existing behavior, because for ProxyXrayTraits and DOMXrayTraits the expando object
will (currently) always be null.
2012-10-05 18:59:24 +02:00
Bobby Holley
da6cbf326f
Bug 761695 - Create XrayTraits::resolveOwnProperty. r=peterv
2012-10-05 18:59:23 +02:00
Bobby Holley
c0125cfb00
Bug 761695 - Reorder checks for expandos and nodePrincipal. r=peterv
...
Peter and I decided this was ok. We can't hoist expando stuff otherwise.
2012-10-05 18:59:23 +02:00
Bobby Holley
3dee0ce8e2
Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
...
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.
I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Bobby Holley
6894d29805
Bug 761695 - Move wrapper preservation stuff into a virtual trap. r=peterv
...
I'm not sure this stuff is correct for non-WN objects. Hopefully that will
come out in review.
Anyway, with this change, the expando infrastructure in XrayTraits is now
fully generic and non-WN-specific. To make things work for other objects,
we now need to implement the virtual traps and hoist the code that calls the
expando machinery out of XPCWrappedNativeXrayTraits.
2012-10-05 18:59:23 +02:00
Bobby Holley
e5b93a88c9
Bug 761695 - Make expando chain getting/setting a virtual trap. r=peterv
2012-10-05 18:59:23 +02:00
Bobby Holley
d9be4b7c75
Bug 761695 - Hoist expando infrastructure into XrayTraits. r=peterv
...
It's still WN-only, now we can move the WN-only bits into virtual traps.
Note that the new-binding reparenting code will need to have a call to
CloneExpandoChain.
2012-10-05 18:59:23 +02:00
Bobby Holley
9b34e0d88e
Bug 761695 - Hoist Xray identification machinery into XrayWrapper, and use it for trait identification. r=peterv
...
We don't currently have a good way of selecting the traits used by a given Xray
wrapper. This lets us do that.
Note: We add a call to js::UnwrapObject to GetXrayType while hoisting it. When
it was used only in WrapperFactory, this was unnecessary, because |obj| was
always unwrapped. But for our new purposes, it might not be. Aside from that,
there are no changes to the function.
2012-10-05 18:59:23 +02:00
Bobby Holley
79702a4c27
Bug 761695 - Move Xray expando infrastructure further down in the file. r=peterv
...
Just cut/paste. No code changes.
2012-10-05 18:59:23 +02:00
Bobby Holley
1a9081b1ce
Bug 761695 - Unify holder creation and access. r=peterv
...
With this patch, all holders are created lazily. There are two common accessors,
getHolder() and ensureHolder(). The former returns null if no holder exists, the
latter lazily creates the holder if it doesn't exist. It does this by calling into
a virtual trap on XrayTraits, which lets the appropriate Xray type do its thing.
2012-10-05 18:59:23 +02:00
Bobby Holley
05eeb2aa4e
Bug 761695 - Get the WN directly from the wrapper. r=peterv
...
All this indirection was getting seriously mucky. This, incidentally, means that
the XPCWN holder no longer needs a reserved slot pointing to the WN.
2012-10-05 18:59:23 +02:00
Bobby Holley
3b46b5fe43
Bug 761695 - Hoist call and construct traps into Traits, since the current implementations are XPCWN-specific. r=peterv
2012-10-05 18:59:22 +02:00
Bobby Holley
655913416f
Bug 761695 - Rename getInnerObject to getTargetObject. r=peterv
...
The current name potentially implies that the object returned is an inner
object in the JS sense, which isn't true. Really we just want the thing
we're Xraying to.
2012-10-05 18:59:22 +02:00
Bobby Holley
3ae8dedbf2
Bug 761695 - Hoist getInnerObject into XrayTraits. r=peterv
...
The only special handling here with wrapped natives is to make sure that we
bypass outer windows. But we can do this with js::UnwrapObject.
2012-10-05 18:59:22 +02:00
Bobby Holley
0aab228c02
Bug 761695 - Make Xray traits inherit from a common superclass and give them a singleton instance. r=peterv
...
There's some code that can be shared between different Xray traits, but can't
(yet) be hoisted into XrayWrapper, because it needs to be callable from outside
XrayWrapper where we don't have the appropriate template parameters. Moreover,
this code benefits from virtual function specialization. The use case here is
illuminated in the next patch.
For the moment, we skip converting the bulk of the traits calls to virtual
methods, because they're working just fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
5173bb4550
Bug 761695 - Stop stashing a raw WN pointer in XPCWN Xray holders. r=peterv
...
We might as well do this dynamically, which simplifies the code. Note that we
could avoid the reserved slot by parenting the holder to the wrapper. But the
JS parent API is deprecated, and we need to move away from it to reserved slots
anyhow. We might as well start here, with the added advantage that parenting
to the global makes us consistent with the other Xray types.
2012-10-05 18:59:22 +02:00
Bobby Holley
66236ce627
Bug 761695 - Simplify XPCWN Xray holder creation. r=peterv
...
The major semantic change here is that we parent holders directly to their
global. This should be fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
54bd828407
Bug 761695 - Fix inaccurate commenting. r=peterv
...
The .wrappedJSObject property only exists when the Xray wrapper subsumes the wrappee.
2012-10-05 18:59:22 +02:00
Justin Lebar
f489e4717d
Bug 796523 - Expire the JS timezone cache whenever we create a new compartment. r=waldo
...
This is a hack/heuristic to ensure that the JS timezone cache remains
fresh (so that if you navigate to a new page or refresh your gmail, you
always get the right timezone), while not interfering with the role the
cache plays in benchmark performance.
2012-10-05 11:33:36 -04:00
Jan de Mooij
9816e31ab0
Bug 797720 - Don't add MonitorTypes instruction if there's a type barrier. r=dvander
2012-10-05 17:16:11 +02:00
Ed Morley
2d2237893c
Backout 4a76e692a4ab, 2962951f5fcc, d1d2149443ed, 83c3735801e7, 675ef796ed5b, f4b029b6b164, 83fa2144aa1d (bug 765119) for make check failures
2012-10-05 13:12:10 +01:00
Marty Rosenberg
7342528803
Fix windows by adding in an initializer (bug 765119, r=dvander)
2012-10-05 06:15:36 -04:00
Marty Rosenberg
0c5fdbb0a8
Add in two patches that were lost while rebasing (bug 765119, r=jandem)
2012-10-03 09:37:50 -04:00
Marty Rosenberg
21c6d48457
Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
fafb254a05
Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
382ba2a0ca
Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
6b13c93c99
Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
ee125ae30d
Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander)
2012-10-02 04:34:27 -04:00
Sean Stangl
5d449321b9
Bug 793516 - Bail in case of impossible MToDouble input. r=dvander
2012-10-04 15:08:37 -07:00
Terrence Cole
7708306277
Bug 794667 - Add an AutoAssertCanGC to help with exact rooting; r=billm
...
This will allow us to annotate all methods with either an AutoAssertNoGC or
AssertCanGC. These will serve the purpose currently being served by
MaybeCheckStackRoots, but because they are lighter can be used throughout the
engine.
2012-10-04 14:22:51 -07:00
Nicolas B. Pierron
46549a6bb0
Bug 797496 - Ignore hidden PC even with try notes. r=luke
2012-10-04 14:11:27 -07:00
Benoit Jacob
7240725ea8
Bug 779611 - reland parts 5-8 - port WebGLTexture, WebGLBuffer, WebGLFramebuffer, WebGLRenderbuffer, WebGLShader, WebGLProgram to WebIDL bindings - r=bz
2012-10-04 16:35:54 -04:00
Nicolas B. Pierron
86eb03b357
Revert "Bug 797496 - Ignore hidden PC even with try notes. r=luke"
...
This reverts changeset 3b7a134bc3aa.
2012-10-04 12:35:03 -07:00
Nicolas B. Pierron
a27b377cc9
Bug 797496 - Ignore hidden PC even with try notes. r=luke
2012-10-04 12:26:53 -07:00
Benoit Jacob
0d5a123372
back out 6f3714945438, 5732dca84958, bfb93cf89612, e697a832c60b for Mac build error
2012-10-04 15:06:31 -04:00
Bill McCloskey
5835dd507f
Bug 793904 - Crash safely if JS_TransplantObject fails (r=bholley)
...
--HG--
extra : rebase_source : 2269b4fdfd9a81d73f4b598dc64ebd470c8a557f
2012-09-25 17:05:09 -07:00
Benoit Jacob
d0d8da9931
Bug 779611 - part 8 - port WebGLShader and WebGLProgram to WebIDL bindings - r=bz
2012-10-04 14:45:35 -04:00
Benoit Jacob
19d4659685
Bug 779611 - part 7 - port WebGLFramebuffer and WebGLRenderbuffer to WebIDL bindings - r=bz
2012-10-04 14:45:33 -04:00
Benoit Jacob
61562913f0
Bug 779611 - part 6 - port WebGLBuffer to WebIDL bindings - r=bz
2012-10-04 14:45:32 -04:00
Benoit Jacob
15fe2b859a
Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz
2012-10-04 14:45:25 -04:00
Jan de Mooij
5548bd24a0
Bug 797185 - Disable DVG stack search when building with --enable-more-deterministic. r=decoder
2012-10-04 13:26:16 +02:00
Bobby Holley
4404d1b89f
Bug 797583 - Remove bogus assertion. r=mrbkap
2012-10-04 11:56:51 +02:00
Makoto Kato
91b9ec6c7d
Bug 789753 - Save non-volatile XMM registers on Win64 ABI. r=dvander
2012-10-04 18:15:31 +09:00
Nicholas Nethercote
797c819f6f
Bug 797495 - Loosen overly tight assertion in Parser::setStrictMode(). r=luke.
...
--HG--
extra : rebase_source : 3b51f28ae7460f21fc3ea3554aa07f0996c99b15
2012-10-03 23:29:24 -07:00
Marty Rosenberg
cdd964064d
Don't align the contents of a pool when a pool section is empty (bug 793390, r=jbramley)
2012-10-04 00:50:12 -04:00
Kannan Vijayan
1412d1cb05
Bug 795803 - Enable ICing of JSNative and PropertyOp getters. (r=jandem)
2012-10-03 22:55:24 -04:00
Jeff Walden
1781ae5837
Bug 795745 - Properly report errors for Number.prototype.to* methods when a provided precision is invalid. r=luke
2012-10-03 21:45:03 -04:00
Gabriele Svelto
9712d5ba51
Bug 739780 - Switch Telephony.cpp to use nsTArrayHelpers.h implementation of nsTArrayToJSArray. r=khuey, r=mrbkap
2012-09-28 10:43:49 -07:00
Nicolas B. Pierron
2d50daf191
Bug 792220 - Remove lookupProperty to prevent interpreter reentrance. r=jandem
2012-10-03 15:41:16 -07:00
Andrea Marchesini
d20fd52c39
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-10-03 18:19:22 -04:00
Benoit Jacob
40e567c53c
Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert
2012-10-03 17:13:05 -04:00
Benoit Jacob
8da7053199
Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz
2012-10-03 17:13:05 -04:00
Benoit Jacob
df20918e33
Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz
2012-10-03 17:13:05 -04:00
Kannan Vijayan
7a6c377392
Bug 797435 - Add rooting of IC stub IonCodes to OOL exit frames. (r=dvander)
2012-10-03 14:21:53 -04:00
Ed Morley
de4dbce9ea
Backout 1d2a2a4ce97c, 1a3d23311a58, ec67e229cc9b, 43a250bfe33d, 43e4a8a3788b, e9cb6c217681 (bug 765119) for mochitest failures on Windows
2012-10-03 16:00:45 +01:00
Ed Morley
8b684571ae
Backout 6f31bcbcdbf4 (bug 781859) for Android M8 failures
2012-10-03 15:39:08 +01:00
Andrew Quartey
54074fe47f
Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan
2012-10-03 10:13:19 -04:00
Marty Rosenberg
c4672c4043
Add in two patches that were lost while rebasing (bug 765119, r=jandem)
2012-10-03 09:37:50 -04:00
Marty Rosenberg
c9539d92af
Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
4ec24dfa58
Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
ad893196f4
Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
21fd9ffcbf
Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem)
2012-10-02 04:34:28 -04:00
Marty Rosenberg
dbd20f9fce
Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander)
2012-10-02 04:34:27 -04:00
Jan de Mooij
95e84a5ab8
Bug 781859 - Fix chunked compilation bug with unreachable code. r=dvander
...
--HG--
extra : rebase_source : ec927c5b43c402fa97a3dee6e569c1b322f71586
2012-10-03 13:11:48 +02:00
Bobby Holley
5c2baf9e4e
Bug 795275 - Telemetry. r=mrbkap
2012-10-03 11:44:18 +02:00
Bobby Holley
90ddecc257
Bug 795275 - Warn about content access to |Components|. r=mrbkap
2012-10-03 11:44:18 +02:00
Bobby Holley
93c1c17a8b
Bug 795275 - Turn Components into a JS value getter for content scopes. r=mrbkap
2012-10-03 11:44:18 +02:00
Bobby Holley
9b319107a7
Bug 795275 - Introduce an explicit mechanism for determining if a script is from XBL. r=mrbkap
...
We want this right now so that we can avoid the scary warning when content Components
access happens in XBL (which we're allowing going forward). This patch would be overkill
just for that, but I also have plans to introduce a SOW-like protection of the Components
wrapper filtering policy. I can't just do the filename hack for that though, because real-
world XBL filenames might be all over the place. So let's just be safe here.
2012-10-03 11:44:18 +02:00
Bobby Holley
c216a1e8e8
Bug 795275 - Clean up isSystemOnlyAccessPermitted. r=mrbkap
...
A lot of this stuff can be simplified now, and we can stop using the deprecated APIs.
2012-10-03 11:44:18 +02:00
David Anderson
9418188a43
Fix buggy interactions between IC patching and invalidation (bug 793165 part 2, r=jandem).
2012-10-02 13:43:47 -07:00
David Anderson
53a969048e
Clean up IonScript privacy (bug 793165 part 1, r=jandem).
2012-10-02 13:43:44 -07:00
Nicholas Nethercote
b53b8b3ce0
Bug 796760 (part 2) - Exactly root FinalizeOp. r=terrence.
...
--HG--
extra : rebase_source : 0cd1e5a0f2aceb043b56bea8e1649847cad212f0
2012-10-02 22:03:00 -07:00
Nicholas Nethercote
7ccd4b6875
Bug 796760 (part 1) - Exactly root JSTraceOp. r=terrence.
...
--HG--
extra : rebase_source : da9591cf8013337b954d11d6921d6a666aae49e7
2012-10-02 22:02:44 -07:00
Nicholas Nethercote
378a61052d
Bug 796320 (part 3) - Remove JSContext::lastMessage. r=luke.
...
--HG--
extra : rebase_source : efda9e940e598fc037d6d51403b95c01ba3bad4b
2012-10-02 19:13:21 -07:00
Nicholas Nethercote
29615bd837
Bug 796320 (part 2) - Remove dead AutoSetGeneratingError. r=luke.
...
--HG--
extra : rebase_source : 71d471a4c98b74a166f6b94996bcb68cdb8424ea
2012-10-02 19:13:20 -07:00
Nicholas Nethercote
aa30cd140a
Bug 796320 (part 1) - Remove dead JSRuntime::waiveGCQuota. r=luke.
...
--HG--
extra : rebase_source : 5467d1b60c0b1c4d7c9a9b386a4834556e770579
2012-10-02 19:13:16 -07:00
Sean Stangl
0edb7eba3a
Bug 793516 - Avoid JS_NOT_REACHED() if assertion failure is plausible. r=dvander
2012-10-02 16:43:04 -07:00
David Mandelin
bc06cff1f7
Bug 750019: disable optimizations for nsIDOMHTMLDocument_Write on MSVC, r=bz
...
--HG--
extra : rebase_source : 00230976a1242a20c95dc7e9f841d872114d717a
2012-10-02 12:35:37 -07:00
Masatoshi Kimura
4cf6f1fa5f
Bug 795544 - Make StringEncoding API available from xpcshell/jsm. r=bz
2012-10-02 20:14:38 -04:00
Phil Ringnalda
b5fd4d2b7d
Back out 40aee4aca350 and 9bfd6c420eba (bug 793165) for Android build bustage on a CLOSED TREE
2012-10-02 14:33:20 -07:00
Ehsan Akhgari
abd9297c94
Silence two more clang unused-private-field warnings in the IonMonkey code; no bug, irc-r=dvander
2012-10-02 17:28:55 -04:00
David Anderson
a8d8cb58d6
Fix buggy interactions between IC patching and invalidation (bug 793165 part 2, r=jandem).
2012-10-02 13:43:47 -07:00
David Anderson
0947af700a
Clean up IonScript privacy (bug 793165 part 1, r=jandem).
2012-10-02 13:43:44 -07:00
Shu-yu Guo
3726251db3
Bug 795227 - ParallelArray should check length range like Array (r=dvander)
2012-10-02 11:33:46 -07:00
Shu-yu Guo
309f42e394
Bug 795165 - Rewrite ParallelArray toString from recursive to iterative (r=dvander)
2012-10-02 11:33:45 -07:00
Jeff Walden
4330ce6888
Bug 797049 - Disable C4351 as an MSVC warning about a change to be standards-compliant in MSVC2005 (!). Also sync up warning-disabling between configure.in and js/src/configure.in, and add comments about the warnings being disabled. r=khuey
...
--HG--
extra : rebase_source : 21218d7dc130c0471985dd5bcd12afc74e348595
2012-10-02 11:49:32 -07:00