Commit Graph

45283 Commits

Author SHA1 Message Date
Jason Orendorff
2018b51d54 Add some test cases involving Symbol.iterator as a prelude to bug 918828. no_r=me, testonly.
--HG--
extra : rebase_source : 1bd8721f904456a7805d75e6e6b91c6cdf9eabb1
2014-07-01 15:33:48 -05:00
Jason Orendorff
73007e4784 Bug 1083204 - Handlify js::GetPropertyKeys and Snapshot. r=efaust.
--HG--
extra : rebase_source : 8c8da9cd1612c4ed7aa1319e7e68f41f9c79a9fc
2014-10-13 14:20:13 -05:00
Jason Orendorff
ea94038f6d Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
87d538f309 Bug 1081255 - Rewrite comments in jsproxy.h; reclassify the methods a bit. No change in behavior. r=efaust, r=bz, r=jwalden.
--HG--
extra : rebase_source : b3440548322d65b2bd01862fb863e6197eb263c6
2014-10-08 12:09:08 -05:00
Kannan Vijayan
45e8946fb1 Bug 1064835 - Fix SPS crash. r=jandem 2014-10-16 15:36:47 -04:00
Tom Schuster
bfd10d6554 Bug 1071177 - Support symbol keys and throw exception on unique symbols with CPOWs. r=billm 2014-10-16 18:39:38 +02:00
Tom Schuster
b19fa39e01 Bug 1081660 - Remove property iterator from JSAPI. r=Waldo 2014-10-16 18:39:30 +02:00
Jim Blandy
1abc2ba1ca bug 1073743: Comment all static member functions of js::Debugger. r=sfink 2014-10-16 10:48:13 -04:00
Carsten "Tomcat" Book
e156f56b85 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book
5cbd2e1c3c merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Nick Fitzgerald
b1db9690ab Bug 1082761 - Add Debugger.prototype.findObjects; r=jimb 2014-10-15 19:21:00 +02:00
Bobby Holley
291f713ec2 Bug 1065186 - Drop support for exposing privileged arrays to untrusted content. r=gabor 2014-10-16 14:12:37 +02:00
Bobby Holley
7186eed046 Bug 1065186 - Fix up test suite to not rely on COWed Arrays. r=gabor 2014-10-16 14:12:36 +02:00
Brian Hackett
32c4b4c2ae Bug 1081180 - Undefined reference to JSInlineString::MAX_LENGTH_TWO_BYTE. r=gkeeley 2014-10-15 10:10:53 -07:00
Benjamin Bouvier
6cabe21fff Bug 1077031: Move dependent condition out of an if statement to work around a clang codegen bug; r=luke 2014-10-15 15:44:30 +02:00
Bobby Holley
93d99955cc Bug 1082450 - Tests. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
870851e291 Bug 1082450 - Deny access to cross-origin callables on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
24ea99f72c Bug 1082450 - Deny access to accessor properties on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
edc0fa28c5 Bug 1082450 - Correctly propagate exceptions from ExposedPropertiesOnly::check. r=gabor
Yuck yuck yuck.
2014-10-15 15:05:09 +02:00
Bobby Holley
a77c4b1347 Bug 1082450 - Remove test for filtering setters on property descriptors. r=gabor
In the next patch, we deny access to any accessor property, so this is now
obsolete for COWs. We also do something like this for new-style XOWs, but that's
exhaustively covered in test_crossOriginObjects.html.
2014-10-15 15:05:09 +02:00
Ehsan Akhgari
f9db208740 Bug 1082988 - Disable the JS crash diagnostics on ASAN builds; r=billm
The Windows implmentation of stack handling code is incompatible
with AddressSanitizer's assumptions, and triggers a false positive
AddressSanitizer report at startup.
2014-10-15 09:00:34 -04:00
Nicolas B. Pierron
92f8af63fc Bug 1055690 - Assert that no operands are discarded. r=sunfish 2014-10-15 14:49:38 +02:00
Nicolas B. Pierron
cc4c83bfd8 Bug 1055690 - Do not transplant resume points on MBail instructions. r=shu 2014-10-15 14:49:37 +02:00
Olli Pettay
dd8c29571f Bug 855443 - Assertion failure in nsSHEntry.cpp, don't just append a new SHEntry to parent if we already have an SHEntry for the loading page, r=bz
--HG--
extra : rebase_source : 8f8d0df030a3205d9d9845e90c849bf94115ff1b
2014-10-15 13:10:04 +03:00
Nicolas B. Pierron
42e921bd65 Bug 1069307 - Enable scalar replacement by default. r=jandem 2014-10-15 11:24:03 +02:00
Nicolas B. Pierron
aa28bed295 Bug 1078696 - Recovered store instructions should prevent Float32 operations. r=bbouvier 2014-10-15 11:24:02 +02:00
Nicolas B. Pierron
2df7cad5c1 Bug 1080991 - Replace unused Phis by an optimized-out constant. r=sunfish 2014-10-15 11:24:02 +02:00
Guilherme Goncalves
8e098b9772 Bug 1082547 - Copy sandbox option strings instead of adopting them. r=bholley
Strings coming from JS objects are allocated using js_malloc, which may
potentially use a separate heap, but nsCString is unaware of that, and
tries to free its underlying buffer using a regular free(); because of
that, we need to copy the string into a separate buffer allocated from
the correct heap.
2014-10-14 05:58:00 +02:00
Lars T Hansen
56add99667 Bug 1077346 - implement coprocessor traps for DSB, DMB, ISB. r=dtc-moz 2014-10-15 09:24:49 +02:00
Nick Fitzgerald
7ee3b3105e Bug 583083 - Use the '//# sourceURL=display.js' directive's filename in js::SavedStacks; r=shu 2014-10-15 18:42:00 +02:00
Nick Fitzgerald
94f92795a9 Bug 583083 - Use the '//# sourceURL=display.js' directive's filename in Error.prototype.stack; r=shu 2014-10-15 18:42:00 +02:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Shu-yu Guo
6829088302 Bug 1077949 - Followup: explicitly cast nullptr to work around GCC. (r=bustage) 2014-10-15 18:33:48 -07:00
Shu-yu Guo
529d320600 Bug 1077949 - Followup: refactor Parser::leaveFunction a bit. (rs=Waldo) 2014-10-15 18:06:50 -07:00
Shu-yu Guo
ee2ad83c86 Bug 1077949 - Fix TDZ checks when closing over non-dominating lexical declarations in switches. (r=Waldo) 2014-10-15 18:06:50 -07:00
Shu-yu Guo
0945f9f310 Bug 1076026 - Don't consider uninitialized lexicals when initializing a singleton object property type. (r=bhackett) 2014-10-15 18:06:49 -07:00
Mike Hommey
b79a0595df bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey
3fa39f0e02 Bug 1081682 - Make --with-ccache use --with-compiler-wrapper under the hood. r=mshal
Also, avoid removing --with-ccache from all subconfigure calls. Only remove it
from NSPR's.
2014-10-15 14:47:02 +09:00
Ehsan Akhgari
7cc9e8fd0c Bug 1082957 - Make it possible to build the JS engine in debug mode without JS_CRASH_DIAGNOSTICS; r=billm 2014-10-14 22:04:25 -04:00
Boris Zbarsky
d0757cbfc2 Bug 1080742. Make DumpJSStack() work on workers. r=bholley 2014-10-09 13:00:25 -07:00
Jeff Walden
3557efcdb1 Bug 1082662 - Don't crash trying to mark a dictionary accessor shape whose getter/setter field has previously been mutated from a callable to |undefined|. r=terrence
--HG--
extra : rebase_source : d471a2bfeaf59f83a6c0213d27ef4be8205d54ae
2014-10-14 14:43:53 -07:00
Terrence Cole
5aebfb4322 Bug 1082794 - Use Maybe instead of a separate constructor to maybe construct an AutoLockGC; r=jonco
--HG--
extra : rebase_source : 7a4c24509fd6ac4b6f1bea403fd04638536d90d6
2014-10-14 13:03:23 -07:00
Terrence Cole
62c11f3719 Bug 1081260 - Do not leak onOutOfMemory's allocation; r=luke
--HG--
extra : rebase_source : f37bd362ecb450ef479323d74b84cb8101e3faf9
2014-10-15 10:40:04 -07:00
Luke Wagner
51d895a3bf Bug 1081379 - Move js_InitArrayBufferClass into the right file (r=sfink)
--HG--
extra : rebase_source : a3dfdd55bcfc895bcc922c4d1c13483a43053c14
2014-10-15 09:10:46 -05:00
Luke Wagner
06d62e8880 Bug 1081277 - OdinMonkey: allow change heap after detachment in FFI (r=bbouvier)
--HG--
extra : rebase_source : ed10d6fefe6c1f5849c5b7f8f1951603e8c12890
2014-10-14 11:03:14 -05:00
Luke Wagner
65b1efb5a4 Bug 1081277 - OdinMonkey: move detachment logic into AsmJSModule (r=bbouvier,sfink)
--HG--
extra : rebase_source : b763dee7f3fd1c49ce92a3ea0219d58fee932bb4
2014-10-14 10:59:37 -05:00
Luke Wagner
8a4529b2bd Bug 1081277 - OdinMonkey: maintain list of asm.js modules in the runtime (r=bbouvier)
--HG--
extra : rebase_source : e8bbae4bf9af31aa31dd14da0bcbdbc4b342fc5c
2014-10-14 10:58:21 -05:00
Luke Wagner
8bfb973b6e Bug 1082107 - OdinMonkey: add maximum-length requirement to change-heap definition (r=bbouvier)
--HG--
extra : rebase_source : 71f2500219da94cf38c4f76ba52b0d1d61c97e38
2014-10-15 09:09:44 -05:00
Jeff Walden
3a0218fbba Bug 1003997 - ArrayBufferView JSAPI tests. r=sfink
--HG--
extra : rebase_source : c0e355afcd0d2a87a3280b15b15f69a193d4a76e
2014-05-06 10:38:39 -07:00
Steve Fink
caa9cb71ef Bug 1082141 - Typed objects are not ArrayBufferViews (yet), r=Waldo
--HG--
extra : rebase_source : a84692dedbfcd60744bfc09a790bddefc3c2c243
2014-10-14 14:02:15 -07:00