Commit Graph

22970 Commits

Author SHA1 Message Date
Jason Orendorff
cfeb868739 Bug 807001 - Change Map and Set size() methods to accessor properties. r=Waldo.
--HG--
extra : rebase_source : bf2809aa1d943caa6349d7b44621cd1b0bb85742
2012-11-02 10:12:36 -05:00
Jason Orendorff
c508d70974 Bug 805003 - Implement Map and Set clear methods. r=luke.
--HG--
extra : rebase_source : 02c641c57f556f83dbaf6fbf568f0d67e53c9982
2012-10-30 17:02:29 -05:00
Ryan VanderMeulen
d716366c32 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Ryan VanderMeulen
7ce522bbc4 Merge fx-team to m-c. 2012-11-02 15:45:53 -04:00
Panos Astithas
ceacb0d392 Implement Debugger.removeAllDebuggees for efficient debugger shutdown (bug 740551); r=jimb,jorendorff 2012-11-02 18:30:23 +02:00
Bill McCloskey
35845d607b Bug 807535 - Avoid toggling Ion write barrier too often (r=sstangl) 2012-11-01 08:08:21 -07:00
Axel Hecht
c315945bdd bug 797745, use l10n-base and relativesrcdir instead of config.mk for l10n-merge, r=ted
--HG--
extra : rebase_source : 0d280e5cfabe7efdbe112309da6ef87d3848c441
2012-11-01 13:25:53 +01:00
Nicolas B. Pierron
72fe66e92b Bug 807035 - Skip guard insertion if there is no proto. r=dvander 2012-10-31 18:55:33 -07:00
Eric Faust
17311133e4 Check to make sure compilations haven't been invalidated (bug 799803, r=pierron). 2012-10-31 18:41:56 -07:00
David Anderson
ce5e3ac378 Respect object's extensibility in addprop ICs (bug 805747, r=djvj). 2012-10-31 16:23:53 -07:00
Sean Stangl
0945cd5537 Bug 800617 - Fix some ARM-specific uber-nits. r=mjrosenb 2012-10-31 15:41:20 -07:00
Rafael Ávila de Espíndola
111917a5c3 Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Bill McCloskey
70a8d7ef1c Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Jan de Mooij
e8004990a9 Bug 802809 - Assert PRESET LDefinitions are not followed by instructions with fixed uses. r=dvander 2012-10-31 16:27:00 +01:00
Jan de Mooij
04a5e0b510 Bug 801831 - Don't mark EnterJIT thunk if it's NULL. r=dvander 2012-10-31 14:04:18 +01:00
Tom Schuster
85c2e983ae Bug 805222 - Change some usages of GetFunctionId to GetFunctionDisplayId for better JS stacktrace. r=bholley,robcee 2012-10-31 13:34:42 +01:00
Peter Van der Beken
5f0fc13698 Test for bug 798264. 2012-10-12 12:48:25 +02:00
Bill McCloskey
f5c13821a8 Bug 739681 - Allow DumpHeapComplete to print unreachable objects (r=mccr8) 2012-11-02 12:24:19 -07:00
Geoff Brown
e3a9de9f57 Bug 799863 - Fix paths so check-one-remote can find mozdevice; r=wlach 2012-11-02 13:19:54 -06:00
Ed Morley
b159aab211 Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html 2012-11-02 14:12:51 +00:00
Robert O'Callahan
6a3039a63c Bug 807237. Add 'data' parameter to JS_StealArrayBufferContents. r=sfink
--HG--
extra : rebase_source : 5c9fe8f9b09ac63f3e130e7ff3418301f868cb8d
2012-11-02 23:42:59 +13:00
Robert O'Callahan
5b81ee2437 Bug 807212. Call TypedArray methods instead of accessing slots directly. r=sfink
--HG--
extra : rebase_source : 05af21bea8caf6d80bb3f97762d559f21e0c4157
2012-11-02 23:42:58 +13:00
Robert O'Callahan
009abd8982 Bug 807223 - Implement JS_ArrayBufferViewBuffer. r=sfink
This is really sfink's patch, but we wrote basically the same code and the
review looks better this way.

--HG--
extra : rebase_source : 90d52ff6c9b7050abde98fa582984c88fa909f0c
2012-10-30 21:26:32 -07:00
Bobby Holley
2d408f61a6 Bug 805807 - Rearchitect filtering policies so that check() doesn't throw on denial. r=mrbkap
This is another one of those annoying situaitons in XPConnect right now where we
can't ask a question without potentially throwing if the answer is no. There's
also a bunch of unused cruft in here (like the Perm*Access stuff), so this stuff
was ripe for a spring cleaning. Unfortunately, I wasn't able to divide this patch
up nicely. Sorry for the big diff. :-(

In a nutshell, this patch changes things so that Policy::check() just becomes
a predicate that says whether the access is allowed or not. There's the remote
possibility that one of the underlying JSAPI calls in a ::check() implementation
might throw, so callers to ::check() should check JS_IsExceptionPending
afterwards (this doesn't catch OOM, but we can just continue along until the
next OOM-triggering operation and throw there).

Aside from exceptional cases, callers should call Policy::deny if they want to
report the failure. Policy::deny returns success value that should be returned
to the wrapper's consumer.
2012-11-02 13:27:59 +01:00
Bobby Holley
ac090a0e20 Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
There's really no reason to use the wishy-washy static COW Deny() here.

Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Andrew McCreight
c8dcda07ec Bug 806433 - Make mReleaseRunnable a ref ptr. r=smaug 2012-10-30 20:01:31 -07:00
Tony Young
449f44e70d Bug 806643 - Negate doubles by flipping signed bit. r=sstangl 2012-10-30 14:59:06 -07:00
Rafael Ávila de Espíndola
512a3dd46a Bug 803707 - Don't assume pointers are 64 bits. r=Waldo.
Use reinterpret_cast.
2012-10-30 17:38:13 -04:00
Jonas Sicking
c7d1bf58ee Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir 2012-10-30 22:24:41 +01:00
William Lachance
f3518f5541 Bug 799863 (1/3) - Make sure remote xpcshell tests can find mozdevice;r=gbrown
---
 config/makefiles/xpcshell.mk        |    1 +
 js/src/config/makefiles/xpcshell.mk |    1 +
 testing/testsuite-targets.mk        |    1 +
 3 files changed, 3 insertions(+)
2012-10-16 16:28:49 -04:00
Boris Zbarsky
7cb30ff9c6 Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Nicolas B. Pierron
1010277758 Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-30 13:51:43 -07:00
Terrence Cole
76e866779c Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Ehsan Akhgari
786e1a903f Backed out 2 changesets (bug 805883, bug 787703) because of Windows PGO bustage on non-profiling builds
Backed out changeset 792a91b91020 (bug 805883)
Backed out changeset e1c7f5195704 (bug 787703)

--HG--
extra : rebase_source : 725029fbf5e34ae198bd9f4cde53593e8f373392
2012-10-30 16:17:29 -04:00
Bobby Holley
ce50e5bd1b Bug 804630 - Tests for exposing prototype properties on a derived object. r=mrbkap 2012-10-30 18:29:11 +01:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
331f5d8222 Bug 798491: Followup bustage fix. 2012-10-30 08:42:47 -07:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Phil Ringnalda
9434ca32e9 Back out 4770ab40cdb6 (bug 804064) for bustage 2012-10-29 22:59:21 -07:00
Nicolas B. Pierron
a4a41f91ca Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-29 22:31:20 -07:00
Bill McCloskey
946abd6a57 Bug 806644 - Back out 782072 (r=terrence)
--HG--
extra : rebase_source : ac0be1c64b09a18d9617ccae0a6e015f0b14b797
2012-10-29 17:34:59 -07:00
Nicolas B. Pierron
3c85803aac Bug 792631 - Add IC for missing properties. r=dvander 2012-10-29 15:17:06 -07:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Daniel Holbert
c8e4b17456 Bug 806442: Remove unused variable "slot" from Compiler::markUndefinedLocal. r=billm 2012-10-29 13:40:20 -07:00
Hannes Verschore
ccf61ba4e7 Bug #807380: Report to the compiler the function is constructing when entering at a branch, r=dvander 2012-11-02 11:45:25 +01:00
Shu-yu Guo
46d2757561 Bug 807525 - Have embedjs.py append newlines when not present. (r=till) 2012-11-01 23:40:38 -07:00
David Anderson
88229dd518 Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). 2012-11-01 21:35:25 -07:00