Commit Graph

286264 Commits

Author SHA1 Message Date
Andy McKay
b3be7b1717 Bug 1250667 - Sign the devtools addons and bug687194.xpi. r=ahal
MozReview-Commit-ID: DBUgeyKRLYJ
2016-02-25 15:39:16 -08:00
Sebastian Hengst
a501bc99c2 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: enable eslint. r=MattN
MozReview-Commit-ID: F8nvRExCbff
2016-02-28 14:12:00 -08:00
Sebastian Hengst
fbac16698b 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
2016-02-28 14:11:46 -08:00
Sebastian Hengst
39edb4d96a 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
2016-02-28 14:11:30 -08:00
Sebastian Hengst
1b5b08cf61 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
2016-02-28 14:11:17 -08:00
Sebastian Hengst
565bd3a395 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: general, simple changes. r=MattN
MozReview-Commit-ID: IdecwypP6on
2016-02-28 14:10:55 -08:00
Gijs Kruitbosch
63eaedcb69 Bug 1251622 - fix save link tests to work in e10s, rs=trivial,green-try
MozReview-Commit-ID: CvQIMjZKCXl
2016-02-26 16:07:44 +00:00
Gijs Kruitbosch
ea79203612 Bug 1101993 - test seems to have fixed itself, rs=test-enabling-with-green-try
MozReview-Commit-ID: IqDoAcfUIVy
2016-02-26 16:01:43 +00:00
Gijs Kruitbosch
c08513c3e9 Bug 1101973 - fix browser_printpreview.js to work in e10s mode, r=mconley
MozReview-Commit-ID: HG5yGatBdj2
2016-02-26 16:34:40 +00:00
Gijs Kruitbosch
a4f5012788 Bug 1088710 - part 3: wait for STATE_STOP as well as load, r=mconley
MozReview-Commit-ID: 3ztx6kPOdON
2016-02-26 21:26:43 +00:00
Gijs Kruitbosch
e57a059f77 Bug 1088710 - part 2: make it work on e10s, r=mconley
MozReview-Commit-ID: FhlfqJ1gmjR
2016-02-24 15:24:20 +00:00
Gijs Kruitbosch
ee1c45fc1a Bug 1088710 - part 1: fix some leftover gunk from pre-australis menubutton, r=mconley
MozReview-Commit-ID: C4fA6cboVZY
2016-02-24 15:23:35 +00:00
Nicholas Nethercote
757b6fbbe5 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.
2016-02-23 16:17:59 +11:00
Nicholas Nethercote
b68d05bdab 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.
2016-02-23 16:17:58 +11:00
Nicholas Nethercote
e5e86e88ed 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.
2016-02-23 16:17:44 +11:00
Nicholas Nethercote
6f093e5857 Bug 1249174 (part 5) - Remove the useless BLK_HDR::size field. r=khuey. 2016-02-23 05:34:33 +11:00
Nicholas Nethercote
9096f3cb06 Bug 1249174 (part 4) - Don't store unused XPTHeader fields in memory. r=khuey.
This requires merging XPT_DoHeaderPrologue() and XPT_DoHeader(), which is
straightforward.

This reduces "xpti-working-set" by 16 KiB on 64-bit platforms.
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
5e1d02e244 Bug 1249174 (part 3) - Don't store the unused XPTInterfaceDirectoryEntry::name_space field in memory. r=khuey.
Removing it reduces the "xpti-working-set" measurement by 16 KiB (measured on
64-bit).
2016-02-23 05:33:35 +11:00
Julian Descottes
7fbe5de75f Bug 1207997 - about:debugging use factories/dom helpers instead of createElement;r=janx
Make about:debugging code less verbose:
- use component factories to avoid having to remove calls to createElement
- use React.DOM helpers
- components only module.export their class
  (require('my-component.js').MyComponent -> require('my-component.js'))

MozReview-Commit-ID: CBWLgcPUkMf
2016-02-21 01:58:00 +01:00
Patrick Brosset
6ba232996c Bug 1247263 - Round 2 of fixing unhandled rejected promises in ruleview tests; r=tromey
MozReview-Commit-ID: 1sSlXBepsB0
2016-02-27 21:03:23 +01:00
Patrick Brosset
c72f65f779 Bug 1249888 - try/catch SourceMapConsumer to avoid empty rule-view when source map is invalid; r=gl 2016-02-27 20:39:21 +01:00
Marco Bonardo
d15713c1d4 Bug 1251469 - Add telemetry probes for the time needed to sanitize a loaded or unloaded Flash. r=yoric
MozReview-Commit-ID: 8j9teGzMSV2
2016-02-26 14:50:41 +01:00
Tim Nguyen
efa58b3729 Bug 1251727 - Fix missing toolbox left border when docked to the side. r=pbro
MozReview-Commit-ID: 8Fr2yw4ZY2L
2016-02-27 15:31:54 +01:00
Tim Nguyen
a03cef8939 Bug 1201829 - Fix devtools tooltip arrows on HDPI screens. r=pbrosset
MozReview-Commit-ID: L5G9NKANubW
2016-02-27 15:30:54 +01:00
Alexandre Poirot
e0a7a4d86f Bug 1248601 - Fix focus race due to dynamic XUL insertion. r=jwalker 2016-02-27 04:51:11 -08:00
Alexandre Poirot
29b3efb6b9 Bug 1248601 - Register the Developer Toolbar dynamically. r=jwalker 2016-02-27 04:51:11 -08:00
Alexandre Poirot
76389a9410 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00
Alexandre Poirot
0e5e11ebc6 Bug 1250430 - Remove SrcDir loader support from devtools. r=jryans 2016-02-27 04:51:11 -08:00
Alexandre Poirot
1e96ba50cf Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Nicholas Nethercote
48839673ad Bug 1249174 (part 2) - Shrink xptiInterfaceEntry by reordering its fields. r=khuey.
This reduces "xpti-working-set" by another 16 KiB on 64-bit.
2016-02-17 15:23:46 +11:00
Nicholas Nethercote
120e0f668c Bug 1249174 (part 1) - Don't store the unused XPTTypeDescriptorTags::argnum2 field in memory. r=khuey.
XPTTypeDescriptor::argnum2 is unused. Removing it reduces
sizeof(XPTTypeDescriptor) from 6 bytes to 4 bytes, which reduces the
"xpti-working-set" measurement by 80 KiB (measured on 64-bit).
2016-02-17 15:23:42 +11:00
Jean-Yves Avenard
b0787f9cd5 Bug 1251044: P2. Remove dead code and generalise the use of content-range header. r=roc
MozReview-Commit-ID: ESMlcBOQKsy
2016-02-29 11:41:14 +11:00
Jean-Yves Avenard
fa08ceec09 Bug 1251044: P1. Use content-range values to determine content's length. r=roc
MozReview-Commit-ID: 7oAmvRGxzw3
2016-02-29 11:41:07 +11:00
Ryan VanderMeulen
cdb42a7e99 Backout changeset 49ab89b42dbf (bug 1246029) for browser_ext_commands_onCommand.js permafail. 2016-02-28 19:30:09 -05:00
Matthew Gregan
cd76f1b1a4 Bug 1251504 - Update libnestegg to remove generated nestegg-stdint.h. r=giles 2016-02-26 15:38:14 +13:00
Sebastian Hengst
07887733a7 Bug 1220124 - Add support for chrome.tabs.onhighlight. Followup: fix code style to pass eslint. r=kmag over IRC 2016-02-29 00:34:01 +01:00
Franziskus Kiefer
848fe314a2 Bug 1244116 - Telemetry for mixed content requests by plugins. r=smaug, p=ally
MozReview-Commit-ID: F9rOb1SdPnL
2016-02-16 15:46:36 +01:00
Jan de Mooij
702fd43c93 Bug 1249193 - Fix Debugger.Frame.this to work correctly if we're still in the script's prologue. r=shu 2016-02-29 09:10:28 +01:00
Carsten "Tomcat" Book
cb6f5ebd55 Backed out changeset bc33885d2034 (bug 1240749) for bustage 2016-02-29 08:37:55 +01:00
Jonathan Kew
f5c989ae0d 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
Ting-Yu Lin
a75460fab2 Bug 1250560 - Fix crash in HandleTouchEvent. r=roc
When enabling "dom.w3c_pointer_events.enabled", we might get a
eTouchCancel event without any touch data. That is, aEvent->touches is
an empty array. We need to make sure it's non-empty before accessing
aEvent->touches[0].

MozReview-Commit-ID: BQUsrJjHHEl
2016-02-28 23:16:45 +08:00
David Anderson
4005143dc8 Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
d083cc0b75 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
fce0a919cc Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson
8385f81d79 Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson
92d67d3075 Fix async drawing when we lose the D3D11 device. (bug 1245765 part 4, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson
d88bee95e2 Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson
8e8a84e06a Propagate D3D9 device resets to remote layers. (bug 1245765 part 2, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson
38a3138143 Add a helper function for iterating indirect layer trees. (bug 1245765 part 1, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson
d34056d3c0 Fold nsDisplayBlendContainer constructors. (bug 1209278 part 3, r=mstange) 2016-02-29 01:45:43 -05:00