463572 Commits

Author SHA1 Message Date
Andrew McCreight
37ec2c1c6f Bug 1251837, part 5 - Make prepare() in doTestScroll take a callback, and use pushPrefEnv. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
112ff3a7ee Bug 1251837, part 4 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
47c168f53f Bug 1251837, part 3 - Use pushPrefEnv in doTestWholeScroll in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
4ffb7332ed Bug 1251837, part 2 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
4d1db7462a Bug 1251837, part 1 - Use pushPrefEnv in setDeltaMultiplierSettings in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
e226e5ac19 Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-29 05:42:56 -08:00
Andrew McCreight
2c6fb590c4 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-29 05:42:56 -08:00
Trevor Saunders
32fdac666f bug 1250486 - get rid of the static ctor for XPCShellImpl.cpp r=bz
The dtor for PersistentRooted<> removes it from a linked list, which means we
need a static ctor to register that dtor with the atexit machinary.  So the
easiest thing to do is make sScriptedInterruptCallback a pointer that points to
a PersistentRootedValue we allocate on the heap.
2016-02-29 08:35:07 -05:00
Trevor Saunders
fb15614836 bug 1250486 - make the ComponentsSH ctor constexpr r=bz 2016-02-29 08:35:07 -05:00
Trevor Saunders
079ee8ff2e bug 1250486 - make some xpconnect wrapper ctors constexpr to get rid of static constructors r=bz 2016-02-29 08:35:06 -05:00
Nicolas B. Pierron
a5c0cc524c Bug 1248412 - inlineIsTypedArrayHelper: Check for TypedArray and Proxy classes when we allow wrapped TypedArray. r=Waldo 2016-02-29 13:20:37 +00:00
Nicolas B. Pierron
f791967bf9 Bug 1248412 - Prevent immediate bailout from innermost for-of loops. r=h4writer 2016-02-29 13:20:37 +00:00
Nicolas B. Pierron
542b5d673c Bug 1242462 - IonSpewer: Write one log file per process. r=h4writer 2016-02-29 13:20:37 +00:00
Nicolas B. Pierron
010ddafa03 Bug 1242462 - Add a newline when calling TypeSet::print from a debugger. r=jandem 2016-02-29 13:20:37 +00:00
Nicolas B. Pierron
846f654fed Bug 1242462 - Allow IonMonkey re-enter until we reached the frequent bailout threshold. r=jandem 2016-02-29 13:20:37 +00:00
Nicolas B. Pierron
c930346b03 Bug 1246229 - Enable DCE to remove OSR guards if their values are optimized-out. r=h4writer 2016-02-29 13:20:36 +00:00
Ted Mielczarek
c4e64b365a bug 1249923 - use PogoSafeMode for MSVC PGO. r=gps
MozReview-Commit-ID: 4CMiqba5NZd

--HG--
extra : rebase_source : 0ad6a0ac3785ff45527b31ee845cd67eb7ee4021
extra : histedit_source : 05010c17bf8dc0f52f711a832f6ee037728bfedb
2016-02-24 13:04:54 -08:00
Ted Mielczarek
b862f7401a bug 1250971 - pass cgthreads with number of cores for Windows PGO builds. r=gps
MozReview-Commit-ID: Hf5QoDHXPUz

--HG--
extra : commitid : 42qB3HeFqda
extra : rebase_source : 21048ea52c2e0ef60eaac79b886048016c6204c0
extra : amend_source : 11f4ec10f94338e7af283164dc1300e7cd96233b
extra : histedit_source : b0e629b9eee1bcfffb312a3a43a137c7c957e0e0
2016-02-24 10:27:27 -08:00
Bogdan Postelnicu
5a04584913 Bug 1252039 - corrected MOZ_ASSERT expression in SeparatorRequiredBetweenTokens. r=dbaron
MozReview-Commit-ID: 89XUK8hKSSE

--HG--
extra : rebase_source : 53a336311edc4faabf20a829f58ed95461aa6cf6
2016-02-29 14:26:22 +02:00
Mason Chang
4650fce727 Bug 1249036 Check that DWMFlush executes correctly. r=kats 2016-02-29 13:52:26 +01:00
Henrik Skupin
a6756a5e68 Bug 1239808 - Fix mozharness mach command for test_packages.json retrieval. r=jlund
MozReview-Commit-ID: 7jxV7VuI9rS

--HG--
extra : rebase_source : b670a2e7f73c423825440add02415120e8da34d1
2016-02-25 21:45:25 +01:00
Henrik Skupin
c5eae82e98 Bug 1239808 - Fix B2G build script and configs for test_packages.json renaming. r=chmanchester
MozReview-Commit-ID: 7tJS7LTPiLt

--HG--
extra : rebase_source : 3d51b9c21af95f05f1d630db9c37083717f6ff19
2016-02-25 21:44:21 +01:00
Henrik Skupin
9b0d4303cf Bug 1239808 - Update taskcluster configs for test_package.json renaming. r=garndt
MozReview-Commit-ID: GxqQH94Isgg

--HG--
extra : rebase_source : 1abda68c7021bcfa6ba32670aef246a432386ea0
2016-02-25 21:39:26 +01:00
Henrik Skupin
32c7706715 Bug 1239808 - Rename test_packages.json to include package basename as prefix. r=chmanchester,jlund
MozReview-Commit-ID: 6JiHIbSjhoR

--HG--
extra : rebase_source : fde19a1ef1f2256104600980c12fffae391f5784
2016-02-25 21:37:47 +01:00
Thomas Zimmermann
0fc8c3e5a1 Bug 1251541: Replace |nsAutoArrayPtr<>| with |UniquePtr<[]>| in Bluetooth interfaces, r=shuang
This patch replaces all instances of |nsAutoArrayPtr<>| in the Bluetooth
interfaces with |UniquePtr<[]>|.

In contrast to |nsAutoArrayPtr<>|, |UniquePtr<[]>| doesn't convert to the
underlying pointer type implicitly. This is a problem for the daemon-socket
runnable, which depend on this feature when calling their operations. To
solve this issue, the patch adds |ConvertArg| for each arguemnt, which does
the conversion explicitly.
2016-02-29 12:15:08 +01:00
Thomas Zimmermann
83da4d603d Bug 1251541: Pass arguments to AVRCP passthrough command as uint8_t, r=shuang
The AVRCP passthough-command notification doesn't require |int| type
arguments. Using |uint8_t| is sufficient. This change is required to
prepare replacing |nsAutoArrayPtr<>| with |UniquePtr<[]>|.
2016-02-29 12:15:08 +01:00
Thomas Zimmermann
d8cb801b6f Bug 1251541: Replace |nsAutoArrayPtr<>| with |UniquePtr<[]>| in Bluetooth managers, r=shuang 2016-02-29 12:15:08 +01:00
Carsten "Tomcat" Book
63ee16b1e1 Merge mozilla-central to mozilla-inbound 2016-02-29 11:44:03 +01:00
Carsten "Tomcat" Book
7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Ryan VanderMeulen
4daa1d1d8d Backed out changesets 764c86198573 and 90494d4d76ab (bug 1220124) for e10s browser_ext_tabs_onHighlighted.js permafail. 2016-02-29 00:15:06 -05:00
Ryan VanderMeulen
a309d2255d Backed out changesets 3a116d8cb42f and b61ca87b91e1 (bug 1251659) for making test_bug967796.html permafail. 2016-02-29 00:03:01 -05:00
Jonathan Kew
51b8759a25 Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
Heiher
60ea58c4de Bug 1250031 - IonMonkey: MIPS: Fix ion/bug1233343.js crash. r=h4writer
---
 js/src/jit/SharedIC.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2016-02-29 17:20:18 +08:00
Julien Wajsberg
8832806e81 Bug 1250691 - [Devtools][Responsive mode] The "touchend" event should not have the removed touch. r=jryans 2016-02-26 09:40:00 -05:00
Cykesiopka
b9a9010687 Bug 1249595 - Enable 11 more ESLint rules for PSM. r=keeler
MozReview-Commit-ID: FxS9SPRMMxf

--HG--
extra : transplant_source : %18%08%F0%EB%E3%AD%3E%F7%94%80%05%C0%D0P%5Co.%940%7E
2016-02-26 12:35:34 -08:00
Andy McKay
ca41ad5fe1 Bug 1250667 - Sign the devtools addons and bug687194.xpi. r=ahal
MozReview-Commit-ID: DBUgeyKRLYJ

--HG--
extra : transplant_source : N%EF%3F%A6%83%91%B5%C8%F9Ep%8A%F3g%1C%5C%FA%98%89G
2016-02-25 15:39:16 -08:00
Sebastian Hengst
d34912b8e7 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: enable eslint. r=MattN
MozReview-Commit-ID: F8nvRExCbff

--HG--
extra : rebase_source : 07d5a9136de52a2af8f8591884f564f7c3284299
extra : amend_source : 5762ef9d2ddc1d1023a68a411a2f5584d0ee15e1
2016-02-28 14:12:00 -08:00
Sebastian Hengst
4f4fb2a030 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: ignore statements which eslint regards as native reassignments. r=MattN
It treats Assert, is and ok as natives. eslint rule: http://eslint.org/docs/rules/no-native-reassign

MozReview-Commit-ID: JzwQ37Y97jJ

--HG--
extra : rebase_source : aac538173662c5cbd2fb62c557a8f145fdd6b77a
2016-02-28 14:11:46 -08:00
Sebastian Hengst
bf2bcbd4d8 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: replace conditional catch statements. r=MattN
While it doesn't seem like this SpiderMonkey feature will go away soon, replacing it makes tooling easier and is suitable here because the unconditional catch js already used.


MozReview-Commit-ID: 3G3LxrW24HF

--HG--
extra : rebase_source : f8fb7451ed261c3482d0b3dc822086bc7dba05a0
2016-02-28 14:11:30 -08:00
Sebastian Hengst
3427f91e14 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: replace legacy generators with ES6 generators. r=MattN
MozReview-Commit-ID: KxMSovx0mfl

--HG--
extra : rebase_source : 4b033e20af1efca9e6d16e0764a33a0f264f645f
2016-02-28 14:11:17 -08:00
Sebastian Hengst
5782a0a117 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: general, simple changes. r=MattN
MozReview-Commit-ID: IdecwypP6on

--HG--
extra : rebase_source : a943e1bf6cbc47e189372cc638d9d8d9d0e806f2
2016-02-28 14:10:55 -08:00
Gijs Kruitbosch
c2d150995a Bug 1251622 - fix save link tests to work in e10s, rs=trivial,green-try
MozReview-Commit-ID: CvQIMjZKCXl

--HG--
extra : rebase_source : 4471f41791d98459250944540be06967c3fdfab4
2016-02-26 16:07:44 +00:00
Gijs Kruitbosch
0065f67e72 Bug 1101993 - test seems to have fixed itself, rs=test-enabling-with-green-try
MozReview-Commit-ID: IqDoAcfUIVy

--HG--
extra : rebase_source : 275b7240ad31c12444a9e3f69f64ebe309416470
2016-02-26 16:01:43 +00:00
Gijs Kruitbosch
460dc7daaf Bug 1101973 - fix browser_printpreview.js to work in e10s mode, r=mconley
MozReview-Commit-ID: HG5yGatBdj2

--HG--
extra : rebase_source : f65ba741948a32dc9b43f613a9d8be2ae2313248
2016-02-26 16:34:40 +00:00
Gijs Kruitbosch
3b845c302c Bug 1088710 - part 3: wait for STATE_STOP as well as load, r=mconley
MozReview-Commit-ID: 3ztx6kPOdON

--HG--
extra : rebase_source : 4ddfbdf9c641e020dba66e5c642513f8dd0fb061
2016-02-26 21:26:43 +00:00
Gijs Kruitbosch
0a197aae91 Bug 1088710 - part 2: make it work on e10s, r=mconley
MozReview-Commit-ID: FhlfqJ1gmjR

--HG--
extra : rebase_source : 915ecec63d95583114f2c01894748dfda4025321
2016-02-24 15:24:20 +00:00
Gijs Kruitbosch
cd643848b1 Bug 1088710 - part 1: fix some leftover gunk from pre-australis menubutton, r=mconley
MozReview-Commit-ID: C4fA6cboVZY

--HG--
extra : rebase_source : 8eb98fdab15cee43ba7a7b4a395d0f9a9287086e
2016-02-24 15:23:35 +00:00
Nicholas Nethercote
d7801d8f98 Bug 1249174 (part 8) - Shrink XPTInterfaceDescriptor. r=khuey.
XPTInterfaceDescriptor::num_additional_types can easily fit in 8 bits -- in
practice it doesn't exceed 20, and there's already a check in DoTypeDescriptor
that it doesn't exceed 255. This patch shrinks it and moves that check into
XPT_InterfaceDescriptorAddTypes() so that any overflow would be detected more
reliably.

On 64-bit platforms this reduces sizeof(XPTInterfaceDescriptor) from 40 to 32
and correspondingly reduces "xpti-working-set" by 16 KiB.

The patch also changes XPT_InterfaceDescriptorAddTypes() into a local function,
because it's defined and only used in xpt_struct.cpp.

--HG--
extra : rebase_source : 754a343bd52c3db35b21a4055a94c7235a70a7a2
2016-02-23 16:17:59 +11:00
Nicholas Nethercote
2ddfe18454 Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey.
This patch:

- Removes XPTArena's ability to support arbitrary alignments.

- Hardwires two sub-arenas into XPTArena, one with alignment of 8 and one with
  alignment of 1.

- Uses the first sub-arena for most allocations and the second sub-arena for C
  string allocations.

These changes reduce "xpti-working-set" by 56 KiB.

The patch also renames all the used of "malloc" in XPT identifiers with
"calloc", to make clearer that the result is always zeroed.

--HG--
extra : rebase_source : 8e6cc42644621a7f3c80593006734e25420c7229
2016-02-23 16:17:58 +11:00
Nicholas Nethercote
941e0d3432 Bug 1249174 (part 6) - Shrink XPTTypeDescriptor. r=khuey.
With careful layout we can reduce sizeof(XPTTypeDescriptor) from 4 to 3, which
also reduces sizeof(XPTParamDescriptor) from 6 to 4. This reduces
"xpti-working-set" by 16 KiB.

The union-of-structs also improves readability by making it clearer exactly
which fields are used for which types.

--HG--
extra : rebase_source : 08060096f93c756fda847b90b45df1b1b207e2b5
2016-02-23 16:17:44 +11:00