Commit Graph

45301 Commits

Author SHA1 Message Date
Luke Wagner
4db14ca832 Bug 1081379 - Add NIGHTLY-only ArrayBuffer.transfer (r=sfink)
--HG--
extra : rebase_source : 34d378281c18caac8a0df26938947647e6bf9529
2014-10-17 00:15:30 -05:00
Luke Wagner
717f05e866 Bug 1081379 - Change definition of ArrayBufferObject::hasStealableContents (r=sfink)
--HG--
extra : rebase_source : 4d0a60b7e03255317b9c880a9184fa9c07867212
2014-10-17 00:15:29 -05:00
Luke Wagner
da8fcab358 Bug 1081379 - change BufferKind from a bit field to a dense enum (r=sfink)
--HG--
extra : rebase_source : 19e30d746a1f4b85ae85562b5da1663bdfea2cce
2014-10-17 00:15:29 -05:00
Benjamin Bouvier
d96a11cedd Bug 1083238: Remove SIMD shuffle masks; r=till 2014-10-17 12:22:26 +02:00
Benjamin Bouvier
7734acde35 Bug 1083238: Replace SIMD's shuffle/shuffleMix by swizzle/shuffle in the interpreter; r=till 2014-10-17 12:22:21 +02:00
Benjamin Bouvier
596fb6f634 Bug 1083047: Add missing SymbolObject include in Symbol.cpp; r=fix-non-unified-builds-bustage 2014-10-17 12:14:39 +02:00
André Bargull
d4f4670ea2 Bug 1084278 - Correct function length for functions exported to self-hosting environment. r=till 2014-10-17 11:10:29 +02:00
Nicolas B. Pierron
08eb5e39bf Bug 1083681 - Discard the outer resume point when the successors are becoming unreachable. r=shu 2014-10-17 11:26:49 +02:00
Jon Coppeard
55e82e734a Bug 1083716 - This value for scripts not marked in Ion frame r=nbp 2014-10-17 10:16:38 +01:00
Tom Schuster
7cfb274825 Bug 1081978 - Make WeakSet closer to the spec. r=till 2014-10-17 11:13:41 +02:00
ziyunfei
58f72617e2 Bug 1083047 - Update ToPropertyKey to accept Symbol wrapper objects. r=jorendorff 2014-10-15 06:29:00 +02:00
Jan de Mooij
d0fa9bef04 Bug 987560 - Greatly refactor generator implementation. Patch mostly written by Andy Wingo. r=wingo 2014-10-17 10:19:40 +02:00
Chris Peterson
6d71c4447f Bug 1081561 - Treat -Wignored-qualifiers warnings as errors in SpiderMonkey's C++ code. r=glandium 2014-10-08 09:51:01 -07:00
Boris Zbarsky
6ca6944e51 Bug 1083232. Don't refcount the principals in FrameState, since it has stack lifetime and the principals will be kept alive by the JS stack while he FrameState is alive. r=fitzgen 2014-10-16 23:18:42 -04:00
Boris Zbarsky
9295647053 Bug 1083229. Give FrameStateVector a nonzero minimal length, so we don't end up doing a bunch of realloc/copy as we walk our stack. r=fitzgen 2014-10-16 23:16:39 -04:00
Nicholas Nethercote
d9516dbd03 Bug 1084114 - Use a better buffer growth strategy during XDR encoding. r=luke.
--HG--
extra : rebase_source : 800768a4534cedf857dbc8bff2fcc149d6adff00
2014-10-16 19:03:19 -07:00
Jason Orendorff
8ec9f238d9 Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
--HG--
extra : rebase_source : f78cbb83f63dfffd648c6d3c280273f4a61c9fe8
extra : amend_source : f006a096174eee166125430753e65e9a31bd930b
2014-09-18 12:30:38 -05:00
Jason Orendorff
07d717f6df Bug 1082672, part 1 - Add JSAPI macros JS_SYM_FN etc. to support defining functions with well-known symbol keys. r=Waldo.
--HG--
extra : rebase_source : 9791c940599844802c9a262fe8b1610a0de3ef40
2014-07-25 18:50:48 -05:00
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