Commit Graph

4323 Commits

Author SHA1 Message Date
Ryan VanderMeulen
0271067944 Backed out 7 changesets (bug 1117242) for mochitest failures.
Backed out changeset 694f7ac58964 (bug 1117242)
Backed out changeset b3f8122dd990 (bug 1117242)
Backed out changeset 442d41779bd8 (bug 1117242)
Backed out changeset ccf6dfe1ac75 (bug 1117242)
Backed out changeset 86421767cd26 (bug 1117242)
Backed out changeset 2f996950fb2f (bug 1117242)
Backed out changeset 4414e9d0b66b (bug 1117242)

CLOSED TREE
2015-02-06 13:40:53 -05:00
Nick Fitzgerald
16213c2fc2 Bug 1117242 - Part 5: Implement xray support for SavedFrame; r=bholley 2015-02-06 09:15:01 -08:00
Bobby Holley
30bbe1f4f2 Bug 1126911 - Tests. r=gabor 2015-02-05 11:07:40 -08:00
Bobby Holley
0a4d9d8104 Bug 1126911 - Special-case all chrome objects in wrapper selection. r=gabor 2015-02-05 11:07:40 -08:00
Bobby Holley
e7bd96ca2d Bug 1126911 - Fix rest of test suite. r=gabor 2015-02-05 11:07:40 -08:00
Jan de Mooij
1248c3e7ef Bug 1125784 - Remove JS_ConvertArguments and JS_ConvertValue. r=jorendorff 2015-02-05 12:01:11 +01:00
Nicholas Nethercote
c326200932 Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
e2d6f1e1be Bug 1050035 (part 3) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
Because they are now just equivalent to |new PLDHashTable()| +
PL_DHashTableInit() and PL_DHashTableFinish(t) + |delete t|, respectively.

They're only used in a handful of places and obscure things more than they
clarify -- I only recently worked out exactly how they different from Init()
and Finish().

--HG--
extra : rebase_source : c958491447523becff3e01de45a5d2d227d1ecd3
2015-02-01 20:36:52 -08:00
Nicholas Nethercote
9735520732 Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible.

--HG--
extra : rebase_source : 848cc9bbdfe434525857183b8370d309f3acbf49
2015-02-01 20:19:08 -08:00
Tooru Fujisawa
67bc459181 Bug 1108930 - Part 6: Call WeakMap with new in xpconnect. r=mrbkap 2015-02-05 00:59:15 +09:00
Ms2ger
a799855d8f Bug 1125901 - Part d: Remove unused nsIXPConnect.holdObject; r=bholley
It is now unused, so can be removed.
2015-02-04 09:41:41 +01:00
Andrew McCreight
20276bdcf6 Bug 1122758 - Get rid of XPCJSObjectHolder::newHolder(). r=gabor 2015-02-03 09:13:54 -08:00
Jason Orendorff
81e4343779 Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
2015-01-28 17:12:44 -06:00
Terrence Cole
ac62cfcddb Bug 1125929 - Remove the unused GC stack capture; r=billm
--HG--
extra : rebase_source : e32779f431f0ddc70ead1b2d273a0a23d99541ac
2015-01-28 11:52:01 -08:00
Brian Hackett
567fb34963 Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem. 2015-02-02 11:20:38 -07:00
Tom Schuster
995dea3f6f Bug 1127443 - Remove JS_NewObject proto argument. 2015-01-31 16:18:51 +01:00
Tom Schuster
3374698e65 Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto 2015-01-31 16:18:51 +01:00
Terrence Cole
61cc18bea4 Backed out changeset f6ac06e9143d (Bug 1125929) for breaking win32 builds on a CLOSED TREE.
--HG--
extra : rebase_source : 20adf8603c62c967257d4603a6b1e8303d8bdd1c
2015-01-29 12:01:23 -08:00
Bill McCloskey
73cced6be2 Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Terrence Cole
f827967a35 Bug 1125929 - Remove the unused GC stack capture; r=billm
--HG--
extra : rebase_source : e3e11fcde39720c6bf5b62bf670b04debc193426
2015-01-28 11:52:01 -08:00
Bill McCloskey
1210edb775 Bug 1123868 - Clear interposition map after deleting it (r=mccr8) 2015-01-28 12:10:53 -08:00
Nicholas Nethercote
70b1eacc9e Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.

--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Tooru Fujisawa
c6ae19c92b Bug 1069416 - Part 2: Remove JS_HAS_SYMBOLS from js tests. r=evilpie,mrbkap 2015-01-28 13:06:37 +09:00
Shu-yu Guo
528a77747c Bug 1119363 - Tweak trusted stack buffer size to give Win64 PGO more room. (r=bholley) 2015-01-27 17:06:23 -08:00
Eric Skoglund
d98cdbaf0a Bug 1107645 - Implement TypedArray.forEach in accordance with the ecma 6 revision 31 spec. r=evilpie
Added reference to the forEach function in TypedArrayObject.cpp. Also added the correct specification reference to the function.

Tests added for the TypedArray#forEach based on the tests for TypedArray#some

Added reference to forEach in test_xrayToJs.xul

Added test to assert that forEach returns undefined.

Added new Proxy() to list of invalid receivers.
2015-01-26 12:46:00 -05:00
Bobby Holley
3efe48f5ef Bug 1126023 - Annotate assertion. r=me 2015-01-26 15:44:00 -08:00
Bill McCloskey
411974faf9 Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Bobby Holley
9ea8e2c253 Bug 1124898 - Tests. r=bz 2015-01-26 10:26:33 -08:00
Tom Schuster
0998506fdb Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Tom Schuster
8875fc0ed6 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Boris Zbarsky
6f4d6855aa Bug 1107443 part 3. Stop defining non-configurable properties on the window in xpconnect sandbox code. r=peterv,jorendorff 2015-01-23 09:54:15 -05:00
Boris Zbarsky
321e238728 Bug 1107443 part 2. Stop defining non-configurable properties on the window in dom and xpconnect JS files. r=peterv 2015-01-23 09:54:14 -05:00
Jon Coppeard
5edd0e2f4a Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
Jon Coppeard
66471074d2 Bug 1107639 - Use two phase construction rather than Maybe<PersistentRooted> r=terrence 2015-01-23 10:23:57 +00:00
Nicholas Nethercote
0ca85f0b94 Bug 1122322 (follow-up) - Fix busted paths in worker memory reporter. r=bent.
--HG--
extra : rebase_source : c191acaa96ff7fd3d973eb542a56e7b96efb7466
2015-01-22 21:26:21 -08:00
Wes Kocher
604504d962 Backed out 3 changesets (bug 1123461, bug 1123090) for windows build bustage
Backed out changeset 2c442905d0af (bug 1123461)
Backed out changeset d7aa4c72ebab (bug 1123461)
Backed out changeset 8bb689ec8086 (bug 1123090)
2015-01-22 21:04:33 -08:00
Bill McCloskey
72bdc7e0df Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-22 20:00:19 -08:00
Ehsan Akhgari
11f8900c41 Bug 1123108 follow-up: Fix the Windows only build bustage on a CLOSED TREE 2015-01-22 19:13:39 -05:00
Ehsan Akhgari
16b003d149 Bug 1123108 - Mark nsIXPConnectWrappedNative::mIdentity as an nsCOMPtr; r=bholley 2015-01-22 17:54:54 -05:00
Ehsan Akhgari
5688d549a4 Bug 1116357 - Prevent double releasing the wrapper object in the error handling code in FinishCreate; r=bholley 2015-01-22 17:54:53 -05:00
Ehsan Akhgari
98e50f6d70 Bug 1119260 - Mark virtual overridden functions as MOZ_OVERRIDE in XPConnect; r=bholley 2015-01-22 17:54:52 -05:00
Tom Schuster
e600e170fe Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00
Bill McCloskey
67a97e37f5 Bug 1114345 - Don't pop up slow script dialog after waking up laptop (r=bholley) 2015-01-21 16:13:21 -08:00
Jon Coppeard
dd69d264f1 Bug 650161 - Don't trace contents of wrapped native scope in wrapped native proto's trace hook, just the scope's global r=billm 2015-01-21 09:25:13 +00:00
Ehsan Akhgari
b5efb3dca0 Bug 1123002 - Convert XPCStringConvert::ZoneStringCache::mBuffer to void*; r=mccr8
This variable is only used for pointer comparison in order to compute
a cache match.  This patch converts the type of the variable to void*
so that it can still be used for the pointer comparison, but not for
any other purpose, including dereferencing, since the pointer may
potentially be dangling if the string buffer dies.
2015-01-20 19:12:42 -05:00
Trevor Saunders
43229d1314 bug 1122100 - more MOZ_OVERRIDE in xpcomish stuff r=froydnj 2015-01-19 17:41:12 -05:00
Bill McCloskey
93b0905531 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Nicholas Nethercote
5a62e7fcbf Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Jason Orendorff
0a7eb056ad Bug 1112778, part 2 - Rename js::DefaultValue -> js::OrdinaryToPrimitive. r=Waldo.
--HG--
extra : rebase_source : 90e9de457d157d0ac30308ceb633f981917645ff
2014-12-18 05:02:30 -06:00
Phil Ringnalda
9a3738d626 Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00