Commit Graph

32351 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
e87bfc3778 Bug 845478 - Part 9: Remove JS_{CALLEE,ARGV,RVAL,SET_RVAL}. r=evilpie 2014-03-25 14:42:34 -04: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
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