Commit Graph

32412 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e87bfc3778 Bug 845478 - Part 9: Remove JS_{CALLEE,ARGV,RVAL,SET_RVAL}. r=evilpie 2014-03-25 14:42:34 -04:00
Eric Faust
53d456cfa2 Bug 983462 - Implement own property native getter cacheing at JSOP_GETPROP sites in BC. (r=djvj) 2014-03-24 14:55:25 -07:00
Jon Coppeard
f78ea3e2c8 Bug 986843 - Replace AutoHoldZone with AutoCompartmentRooter r=terrence 2014-03-24 21:45:23 +00:00
Terrence Cole
3d22e54b54 Bug 987160 - Avoid over-reserving address ranges on Windows. r=jonco 2014-03-24 14:49:50 -04:00
Vladimir Vukicevic
df884377ad b=974660, remove unneeded and broken VTune cruft from xpcshell, r=sstangl
DONTBUILD

--HG--
extra : amend_source : f801a3a6b58dfa110e1d95ccf003d6475f589ee7
2014-03-24 15:28:12 -04:00
Ms2ger
593a960690 Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Gabor Krizsanits
8e3d1d7a05 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
Bobby Holley
7f56c979e3 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Bobby Holley
1ece5fe4b9 Bug 986940 - Remove Cu.createDateIn. r=gabor
When we switch ObjectWrapper.jsm to use Cu.cloneInto, this became unused.
2014-03-24 11:30:20 -03:00
Birunthan Mohanathas
b1a28ed119 Bug 845478 - Part 6: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc, vp in js/xpconnect/. r=bz 2014-03-24 08:49:57 -04:00
Birunthan Mohanathas
9b429429a5 Bug 845478 - Part 5: Use JS::CallArgs instead of vp in js/src/. r=evilpie 2014-03-24 08:49:44 -04:00
Birunthan Mohanathas
e7d6d85e5f Bug 845478 - Part 4: Use JS::CallArgs instead of argc in js/src/builtin/. r=evilpie 2014-03-24 08:49:27 -04:00
Birunthan Mohanathas
e4ab0995d4 Bug 845478 - Part 3: Use JS::CallArgs instead of argc in js/src/. r=evilpie 2014-03-24 08:49:11 -04:00
Birunthan Mohanathas
489454f8a3 Bug 845478 - Part 2: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/. r=evilpie 2014-03-24 08:48:52 -04:00
Birunthan Mohanathas
2c771b4b2f Bug 845478 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/shell/. r=evilpie 2014-03-24 08:48:37 -04:00
Bobby Holley
a9c7ecee69 Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Phil Ringnalda
bd5dc6100a Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Bobby Holley
65bdef473a Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-23 11:02:14 -03:00
Bobby Holley
c3ea2d36c4 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
a36edc6394 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-23 11:02:14 -03:00
Bobby Holley
f5d3232143 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
eb7d9c3465 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
437a94dcfd Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
27bc1e0d24 Bug 975042 - Implement createHolder. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
8a57cf0534 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-23 11:02:13 -03:00
Bobby Holley
21fc488f1f Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-23 11:02:12 -03:00
Bobby Holley
0a3a4dab47 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-23 11:02:12 -03:00
Phil Ringnalda
4220e17e44 Merge m-c to f-t 2014-03-22 17:48:30 -07:00
Shu-yu Guo
f2bdb81af6 Bug 986717 - Fix typo in SnapshotIterator::allocationReadable. 2014-03-21 22:38:39 -07:00
Bobby Holley
483948e0a1 Bug 986304 - Augment JSAPI to give callers the option to not define named functions on the scope object. r=terrence 2014-03-21 23:31:02 -03:00
Jeff Walden
6a807105c1 Bug 980962 - Fix the AsmJSArrayBuffer function when called using |new|. r=terrence over IRC
--HG--
extra : rebase_source : 6050d0283041fb5fbb549780abece586d1e9f918
2014-03-21 15:28:46 -07:00
Jeff Walden
d3340fc45f Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Jeff Walden
f664b8ae51 Remove an unused variable in the shell. No bug, r=themaid
--HG--
extra : rebase_source : 2793c32ddb79901439d93f19136a906c96e3371a
2014-03-20 15:09:05 -07:00
Terrence Cole
226d4a6189 Bug 985562 - Do not allocate large call objects in the nursery; r=jandem 2014-03-20 14:38:51 -07:00
Boris Zbarsky
f8115c0dde Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
51d9175a36 Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Jan de Mooij
36526a5b38 Bug 983709 part 2 - Fix MBinaryInstruction to not override congruentTo. r=h4writer 2014-03-21 15:53:00 +01:00
Jan de Mooij
f30ab3701b Bug 983709 part 1 - Don't mark shift instructions as commutative. r=h4writer 2014-03-21 15:48:27 +01:00
Lars T Hansen
2f31b53f76 Bug 983675 - Intrinsify and inline TypeDescrIsArrayType, TypeDescrIsUnsizedArrayType, TypeDescrIsSizedArrayType, TypeDescrIsSimpleType, ObjectIsTypedObject. r=shu 2014-03-21 09:18:09 -04:00
Dave Townsend
363d510707 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07:00
Lars T Hansen
98b3628c4b Bug 983577 - Improvements to parallel and sequential map for TypedObject. r=shu 2014-03-21 09:05:37 -04:00
Carsten "Tomcat" Book
9468864ecc Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
bb48a49dd4 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
78052541e1 Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
97ef36ac53 Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
7a8da8c316 Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
4b438d3d7a Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
be38538d25 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
f8212b78d2 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
d8d768555c Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
dbdb175c96 Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
b138bfaeec Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley
35f8f8d688 Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
fb059d76d6 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03:00
Bobby Holley
b28a8e3b81 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
ce9c4ef5c4 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
b65a5d12b4 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
3ef7622033 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
6f32cdd540 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
867afa81f6 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
2b514f18c9 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Bobby Holley
ba01d93b50 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Gabor Krizsanits
b368adf53a Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits
6949913c28 Bug 985472 - Name fixup in ExportFunction. r=bholley 2014-03-25 16:21:51 +01:00
Nicholas D. Matsakis
8ead34644b Bug 975446 -- Load the KIND from the descriptor, not the typed object, in toSource() r=sfink 2014-03-18 15:32:06 -04:00
Nicholas D. Matsakis
34cda3e53e Bug 981650 -- Check the variable-size flag on the type descriptor, not the type representation r=sfink 2014-03-18 08:19:04 -04:00
Terrence Cole
61b57a399b Bug 619558 - Enable generational GC on desktop; sr=naveed 2014-02-05 10:04:16 -08:00
Nathan Froyd
bfa7382195 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Ed Morley
9e758c90e9 Backed out changeset 738a4b230194 (bug 988326) for assertions 2014-03-26 18:11:11 +00:00
Luke Wagner
7dfc57b7b5 Bug 974700 - cached asm.js doesn't cache profiled function info (r=bbouvier) 2014-03-25 12:55:13 -04:00
Terrence Cole
dc6410d514 Bug 988326 - Start GC arenas in the decommitted state; r=jonco 2014-03-26 13:12:45 -04:00
Kannan Vijayan
de35048eca Bug 987442 - Correctly clear compile-time tracking frame for SPS when emitting OOL code. r=sstangl 2014-03-26 13:06:04 -04:00
Sankha Narayan Guria
b8b45d5fb2 Bug 885788 - Implement Object.setPrototypeOf; r=jorendorff 2014-01-25 20:13:07 +05:30
Jeff Walden
e6d7a3c3dd Bug 987087 - Fix ggc-only typos. r=i-am-so-smrt
--HG--
extra : rebase_source : 8a382a4f4baed3c4b39f2e5ce8ba97dd9f7e722d
2014-03-26 12:22:03 -04:00
Jeff Walden
d8e15aa0e5 Bug 987807 - Split a NewSingletonCallObject out of NewCallObject. This produces slightly leaner code and creates all call objects with the correct type initial type from birth. r=terrence
--HG--
extra : rebase_source : 6b27082de6e5c05e0bf672d56a8701a39c8c7090
2014-01-15 17:55:39 -05:00
Jeff Walden
9d69004099 Bug 987243 - Don't use .call(...) in self-hosted code. r=till
--HG--
extra : rebase_source : 05c8d1126fc15279ed43522fd91fb277c0f80c6a
2014-03-25 10:27:35 -04:00
Bobby Holley
311ff27b73 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Bobby Holley
c7ea45b3a7 Bug 979481 - Add a helpful assertion indicating that the caller probably needs a JSAutoCompartment. r=luke 2014-03-26 10:59:03 -03:00
Bobby Holley
655ad8ddf4 Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz 2014-03-26 10:59:03 -03:00
Bobby Holley
fd6d0d6aab Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz 2014-03-26 10:59:02 -03:00
Bobby Holley
d9cab97202 Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz 2014-03-26 10:59:02 -03:00
Carsten "Tomcat" Book
d8e38b0239 Backed out changeset 6a72a2510405 (bug 969436) for bustage 2014-03-26 09:35:04 +01:00
Ben Hackett
57bc490fc5 Bug 969436 - Changed the SafepointReader constructor to properly read safepoints, depending on the size of PackedRegisterMask; r=Nicolas B. Pierron 2014-03-24 18:09:00 +01:00
Phil Ringnalda
47d8f404e5 Back out 033a5dd2e159 (bug 985312) for build bustage
CLOSED TREE

--HG--
rename : js/src/builtin/ParallelUtilities.js => js/src/builtin/Parallel.js
2014-03-25 23:24:33 -07:00
Shu-yu Guo
cc1e31f40c Bug 987134 - Pare down the parallel/ic-setelement jit-test. (r=jandem) 2014-03-25 22:59:27 -07:00
Shu-yu Guo
8a3eda6b25 Bug 985312 - PJS: Remove the bounds function from ForkJoin. (r=nmatsakis)
--HG--
rename : js/src/builtin/Parallel.js => js/src/builtin/ParallelUtilities.js
2014-03-25 22:59:26 -07:00
Christian Holler
3246b34401 Bug 964803 - Cleanup the JS OOM testing code. r=jandem 2014-03-26 00:31:54 +01:00
Mike Hommey
8aba9ab7cf Bug 985836 - Move -Fd flags from configure to config.mk. r=mshal 2014-03-26 08:12:26 +09:00
Mike Hommey
5d1d8f0510 Bug 985835 - Move MOZ_DEBUG_FLAGS declaration for MSVC next to the one for GCC. r=mshal 2014-03-26 08:12:12 +09:00
Mike Hommey
105b36f5bd Bug 985833 - Don't quote CC/CXX when checking MSVC version in configure. r=mshal 2014-03-26 08:11:53 +09:00
Jeff Walden
c1673141f3 Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE 2014-03-20 16:39:30 -07:00
Julian Seward
ced006287f Bug 970643 - Valgrind does not understand OdinMonkey's guard page mechanism. r=luke. 2014-03-20 23:23:48 +01:00
Shu-yu Guo
7f53fca941 Bug 986139 - Purge caches when preserving PJS JIT code. (r=terrence) 2014-03-20 15:07:57 -07:00
Terrence Cole
17f04792e3 Bug 986147 - Loosen assertions to allow IsAboutToBeFinalized to be used during MinorGC; r=sfink 2014-03-20 14:38:43 -07:00
Jeff Walden
3d1397e2b2 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Jeff Walden
c184c8d997 Bug 985695 - Rename JSContext::getLazyType to getSingletonType, because that's the only sense in which it's used. r=terrence
--HG--
extra : rebase_source : db9807b0c311c334ae38409f0dfee259f968b8d3
2014-02-07 16:50:28 -08:00
Dan Gohman
04e776a22b Bug 981894 - IonMonkey: Merge the code in MPhi::foldsTo with MPhi::operandIfRedundant. r=nbp 2014-03-20 08:58:27 -07:00
Dan Gohman
f04a80d62a Bug 981894 - IonMonkey: Misc cleanups r=nbp 2014-03-20 08:58:24 -07:00
Terrence Cole
99ff6a733e Bug 957723 - Followup fix for decommitted nursery reporting; r=njn 2014-03-19 14:43:44 -07:00
Bob Owen
3fbc188f5e Bug 978042 - Part 1: AutoPushJSContext in nsEventListenerManager::CompileEventHandlerInternal. r=bholley 2014-03-19 11:08:13 +00:00