Commit Graph

232351 Commits

Author SHA1 Message Date
Jason Orendorff
f43c96af4d Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
2015-01-30 11:37:07 -06:00
Jason Orendorff
143ed465ec Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo. 2015-01-29 23:02:26 -06:00
Jason Orendorff
de1c1c9fb9 Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo. 2015-02-18 18:49:17 -06:00
Jason Orendorff
d7beadeba1 Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").
2015-02-02 17:06:47 -06:00
Jason Orendorff
1c7d0cb2b3 Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak. 2015-02-28 09:17:43 -06:00
Jason Orendorff
155abd81e7 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust. 2015-01-30 13:56:15 -06:00
Shu-yu Guo
1e9bde7734 Bug 1140059 - Stop leaking mThreadNameFilters in the profiler. (r=mstange) 2015-03-06 17:58:26 -08:00
Shu-yu Guo
6882fefbde Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj) 2015-03-06 17:58:26 -08:00
Chris Manchester
e915293d5d Bug 1137388 - Add a facility to restart firefox from marionette from within the browser for update tests.;r=automatedtester 2015-03-06 17:39:26 -08:00
Barbara Miller
9ba1d8cc93 Bug 1134872 - Fixing getElementValueOfCssProperty to support chrome elements. r=dburns 2015-03-06 13:45:00 -08:00
Jeff Walden
4250c0166a Bug 1140196. r=jorendorff 2015-03-05 18:03:56 -08:00
L. David Baron
6d3ce826c6 Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
dvander@alliedmods.net
4c1bf43dbd Don't try to async scroll frames that have less than one pixel of scrollability. (bug 1126090 part 7, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
3564b8945d Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
e2a7179153 Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
4c457d62a6 Translate coordinates in events synthesized from the child process. (bug 1126090 part 4, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
24b5711248 Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3, r=smaug) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
70d90515b1 Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
0620293f8c If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08:00
David Keeler
2a097b53b6 bug 1137538 - remove nsIIdentityInfo and nsNSSSocketInfo::GetPreviousCert r=mayhemer 2015-02-27 11:33:36 -08:00
Jan-Ivar Bruaroey
eabcb6cc42 Bug 1140363 - fire recording-window-ended on gUM failures, like we do on deny r=jesup 2015-03-06 13:23:33 -05:00
Botond Ballo
4c2cf92a71 Bug 914666 - Exclude the frame borders from the composition bounds. r=tn 2015-02-25 17:08:40 -05:00
Mason Chang
229752182a Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange 2015-03-06 13:58:22 -08:00
Chris Manchester
2827c4933d Bug 1140507 - Bump mozprocess version and release to pypi to pick up recent changes.;r=ahal DONTBUILD 2015-03-06 13:55:58 -08:00
Jim Blandy
98dc527088 Bug 1140182: JS GDB pretty-printers: Implement pretty-printer for js::AbstractFramePtr. r=sfink 2015-03-04 17:34:49 -08:00
Kartikaya Gupta
3a803b3ac1 Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
fe14f0752a Bug 1139575 - Reset velocity on axes when going from a pan to a pinch. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
b68a6e6feb Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro 2015-03-06 16:52:34 -05:00
Markus Stange
92fb53e0cc Bug 976722 - Use -moz-appearance:toolbox on Mac so that sheets attach in the right place. r=dao 2015-03-06 14:44:38 -05:00
Markus Stange
40387eda22 Bug 976722 - Make -moz-appearance:toolbox influence the sheet attachment edge. r=roc 2015-03-06 14:43:46 -05:00
Markus Stange
22102f166b Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel 2015-03-06 13:04:05 -05:00
Andrew Halberstadt
abcd159a11 Bug 1140441 - Add substring matching option to |mach mach-debug-commands|, r=gps 2015-03-06 11:25:55 -05:00
David Anderson
981b0310be Fix some fields missing in the widget event IPC glue. (bug 1139711, r=kats) 2015-03-06 13:45:59 -08:00
Ben Kelly
5a43c12edb Bug 1140051 Avoid Cache shutdown assert when Manager alive, but not active. r=ehsan 2015-03-06 13:39:05 -08:00
Aaron Klotz
f118833932 Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm 2015-03-06 12:31:17 -07:00
L. David Baron
30caea41e9 Bug 1140134 - Don't skip the rest of the properties in an animation after hitting one that we shouldn't apply. r=dholbert
Both sets of new tests pass with the patch, but without the patch the
"top is animating" test fails.
2015-03-06 13:35:45 -08:00
Boris Zbarsky
01957edaef Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo 2015-03-06 16:33:31 -05:00
Boris Zbarsky
57f6535651 Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley 2015-03-06 16:33:31 -05:00
Boris Zbarsky
76179d5e5e Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv 2015-03-06 16:33:31 -05:00
Boris Zbarsky
4997daa8b5 Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence 2015-03-06 16:33:30 -05:00
Boris Zbarsky
5d6bc44366 Bug 1140399. Add friend API to check whether a given function object has a JSNative and to get that JSNative as needed. r=jandem 2015-03-06 16:33:30 -05:00
Boris Zbarsky
3f848c8f54 Bug 1102042. Fix the test to not have a race between the binding and the test bits. r=terrence 2015-03-06 16:33:30 -05:00
Boris Zbarsky
f83746f1d1 Bug 1139604. Remove incorrect assert from ArrayCache::EntrySlotMustExist and the unused GetUnforgeableHolder function. r=petev 2015-03-06 16:33:30 -05:00
Boris Zbarsky
88d16b811f Bug 1140216. Remove asserts that stuff that we never create is not null, since it clearly is null. r=jwatt 2015-03-06 16:33:30 -05:00
Ryan VanderMeulen
9df25bfc88 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Daniel Holbert
dc5c473839 Bug 1140502 - Request longer mochitest timeout threshold for test_media_queries.html & test_selectors.html. r=dbaron, a=me 2015-03-06 11:43:00 -05:00
Ryan VanderMeulen
9f94c17364 Merge fx-team to m-c. a=merge 2015-03-06 15:53:56 -05:00
Ryan VanderMeulen
4835e9fc1d Merge b2g-inbound to m-c. a=merge 2015-03-06 15:50:27 -05:00
B2G Bumper Bot
6d5b45a9bb Bumping manifests a=b2g-bump 2015-03-06 11:07:41 -08:00
B2G Bumper Bot
de6dfd2202 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/a0be455745a7
Author: Johan Lorenzo <jlorenzo@mozilla.com>
Desc: Revert "Bug 1137766 - merge pull request #28687 from JohanLorenzo:bug-1137766 to mozilla-b2g:master"

This reverts commit dbbc7d427bef39ccf2e6e9facf68d3fbbe04e039, reversing
changes made to 4c38360375ae2692ffc4e644bd3f56a2bf58c002.
2015-03-06 11:05:14 -08:00