Commit Graph

2809 Commits

Author SHA1 Message Date
Lin Clark
2f43f4c15f Bug 1264676 - [rep tests] Add tests for array rep. r=Honza
--HG--
extra : transplant_source : FH8%D6%7B%AF%1E%DC%96%8D%F8%AD%87%D6%F9%0D%B7%EE%EBW
2016-06-27 12:15:46 -04:00
Carsten "Tomcat" Book
c0124de8f8 Backed out changeset b798e05334be (bug 1275330) for causing crashes and dt test failures
--HG--
extra : rebase_source : 66c19eb8abe5c8c55097b706bd03a89a0e0897be
2016-07-12 14:40:29 +02:00
Carsten "Tomcat" Book
eccfafb334 Backed out changeset d192030869ef (bug 1266414) for eslint failures 2016-07-12 13:11:26 +02:00
Nicolas Chevobbe
dcb23a03bd Bug 1285672 - New console frontend: introduce message limit. r=linclark
MozReview-Commit-ID: 1tdWAce9Q7U

--HG--
extra : transplant_source : %3D%B2%04o%11%06%96k%B8%FD%60y2%FC8%A5u%24%B3%D5
2016-07-09 12:00:59 +02:00
Ricky Chien
f8e036af7c Bug 1285455 - Firebug theme - element-picker button is too tall in Animation Inspector. r=Honza
MozReview-Commit-ID: EDmgDU2vJ3V

--HG--
extra : transplant_source : %CA%81w%BD%00G%89%C4%B7%D7%87%0AhtM%16%90T%8C%D1
2016-07-11 16:40:14 +08:00
gasolin
4ece307f63 Bug 1284673 - Reps: add a cropLimit property to string rep; r=linclark
MozReview-Commit-ID: GCVISe8zhyD

--HG--
extra : transplant_source : %CD8%3E%9B%A6%B6%000%BFMc%E5%B5%8E%E0Rj%1A%AC%88
2016-07-11 17:56:41 +08:00
moby
5b7c407889 Bug 1283730 - Do not disable 'expand all' option in inspector context menu if a node is selected; r=bgrins 2016-07-08 14:42:00 +02:00
Michael Ratcliffe
3e3392e6b3 Bug 1281047 - Properly sort array indexes; r=honza
MozReview-Commit-ID: BWQMkPiMkM7
2016-07-12 09:33:07 +01:00
Nicolas Chevobbe
ed609be9a0 Bug 1283123 - Reps: make it possible to pass in a component to handle object links. r=linclark,honza
MozReview-Commit-ID: 20xvwUua4WA

--HG--
extra : transplant_source : %EC%13%B8%CB%FF%7BQ%ADY%29%94%120%12%C8%0E%1D.%F6_
2016-06-21 22:56:10 +02:00
Matthew Wein
fbcca5fe45 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : u%EF%BA%C8%12%89%92%CB%FC%A2%9F%CF%2B%04V%13%87%A0x%E6
2016-07-07 16:17:43 -07:00
Dalimil Hajek
717b6d148b Bug 1275614 - aboutdebugging: Add localization comments to aboutdebugging.properties. r=jdescottes 2016-07-12 00:10:00 +02:00
"Helen V. Holmes"
58456e4356 Bug 1266414 - device modal fades in/out, r=jryans
Device modal can be closed with escape and outside click
2016-07-07 06:32:00 +02:00
Greg Tatum
d5b8bff9fd Bug 1259228 - Fix shortcut bug in performance tools r=jsantell 2016-07-08 08:07:00 +02:00
Julian Descottes
acedf8891b Bug 1279703 - use theme body-color for devtools font-preview;r=pbro
MozReview-Commit-ID: 23KqLhfpWuj

--HG--
extra : rebase_source : 7ae625e90dd32f858c1e36d7bfc6ad2842f9c433
extra : source : 5b110e44f7a649a7b98d202ae36750a37efd95e1
extra : histedit_source : 85770e8d5e2d06a75b9b4db70c534fa802b9942a%2Cc4e8a7c39c502c1f1553cfc386a9b3bda623eb2f
2016-07-11 15:21:15 +02:00
Sebastian Hengst
c9b2e89a26 Backed out changeset 5b110e44f7a6 (bug 1279703) for failing browser_styleinspector_tooltip-longhand-fontfamily.js. r=backout 2016-07-11 13:37:21 +02:00
Carsten "Tomcat" Book
8604ef5140 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02:00
Jarda Snajdr
3a9649172e Bug 1285638 - Network monitor leaks window when a parent-side tab is closed. r=ochameau 2016-07-10 10:37:00 +02:00
Luca Greco
39fafd8999 Bug 1285289 - add Devtools test addons as Temporary Addons. r=ochameau
MozReview-Commit-ID: 1plXeerEAJp

--HG--
extra : transplant_source : UL%0D%BF%12%A5%BA%E8%84%1C%EE%03dv%05%CD%95%3B%27%12
2016-07-06 18:41:58 +02:00
Matthew Wein
5fd39e311a Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : %1E2%DD%D8%1F%A0%C5%8D%02oR%F4%A3%15%0Fo%C7%EC%5E%F0
2016-07-07 16:17:43 -07:00
Lin Clark
e23659c57a Bug 1264684 - [rep tests] Add tests for grip-array rep. r=Honza 2016-06-27 09:50:44 -04:00
Julian Descottes
8fffcab35f Bug 1279703 - font-preview should use white fillstyle only for dark theme;r=pbro
MozReview-Commit-ID: 23KqLhfpWuj

--HG--
extra : rebase_source : 1f08a034a73e90ebb1c0859f76c984099b831edd
2016-07-08 17:49:04 +02:00
Alexandre Poirot
c660dc1021 Bug 1267414 - Convert color picker, cubic bezier and filter widgets to HTML Tooltip. r=jdescottes
--HG--
rename : devtools/client/themes/spectrum.css => devtools/client/shared/widgets/spectrum.css
2016-07-11 01:26:02 -07:00
Alexandre Poirot
0f4f5e6448 Bug 1267414 - Apply scoped stylesheet to HTMLTooltip container. r=jdescottes 2016-07-11 01:26:02 -07:00
Julian Descottes
e1bf411118 Bug 1266456 - part10: fix tests for autocomplete-popup HTMLTooltip migration;r=bgrins
Most test modifications deal with listening to the proper events.
As mentioned in the parent commit, the keyboard navigation for the
inspector-search changed a bit with this change, so the related test
case is using a slightly different scenario.

MozReview-Commit-ID: BgSa69bSSFB

--HG--
extra : rebase_source : a1b565f6b54f2c8e3d641794aaa6aa43a2c75134
2016-07-10 19:10:21 +02:00
Julian Descottes
d03c3018a5 Bug 1266456 - part9: use HTMLTooltip for autocomplete-popup;r=bgrins
Modify the devtools autocomplete-popup to rely on a HTMLTooltip instance
instead of a XUL panel.

Other than the straightforward migration to HTML, the main difference with
the new implementation is that the richlistbox has now been replace with a
simple HTML list element. The former XUL widget used to be able to take the
focus from the input it was linked to.

This is no longer the case. Most autocomplete users were always keeping the
focus in the input, except for the inspector-search, which was moving the
focus back and forth between the input and the autocomplete's richlistbox.
Now the focus is always in the input. A practical example to illustrate how
this changes the UX: before when the user had the focus on the first element
of the list, pressing "DOWN" would keep the element selected but visually move
the focus in the input. Now the selection simply cycles to the next item.

Even though this introduces a difference in behaviour compared to the previous
implementation, it makes the inspector search UX consistent with the other
autocomplete widgets used in devtools.

Another difference is about the display for the inspector-search. The position
of the autocomplete popup used to be above the input. This is now impossible to
achieve because the search input is at the top of the toolbox and the HTML tooltip
can not exceed the limits of the toolbox.

For this #2 issue, either we manage to use XUL panel wrappers, in which case, the
autocomplete will be displayed as it used to. Or we can invert the order in which
items are inserted and explicitly ask for the autocomplete to be displayed below the
input. I prefered not to change this here in order to make the code change easier to
understand, but it should be addressed in a follow-up.

MozReview-Commit-ID: jH9aXm9Jvz

--HG--
extra : rebase_source : 57267be0d214ed807f3152838c4123400ab7b7e3
2016-07-07 16:32:42 +02:00
Julian Descottes
74d5a93a8f Bug 1266456 - part8: move HTML search autocomplete css to tooltips.css;r=bgrins
MozReview-Commit-ID: 56QVG5IPS97

--HG--
extra : rebase_source : 5e04aacd9d441ed19115805b7d4a7aff77816c2e
2016-06-20 15:18:47 +02:00
Phil Ringnalda
bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Tim Nguyen
f332c75bae Bug 1283998 - Fix Fonts panel 'Show all' position on RTL locales. r=bgrins
MozReview-Commit-ID: 3VupMtAhcbD
2016-07-09 10:29:31 +02:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky
5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Ruturaj
6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
Wes Kocher
4725525760 Merge m-c to fx-team, a=merge CLOSED TREE 2016-07-08 15:04:54 -07:00
Brian Grinstead
f3214d3c0b Bug 1285225 - Set accesskey and disabled properties on menuitems with submenus in Menu API;r=jdescottes
MozReview-Commit-ID: GN9j5pEn3cH
2016-07-08 07:24:09 -07:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Carsten "Tomcat" Book
75e7b5bab2 merge fx-team to mozilla-central a=merge 2016-07-08 11:57:15 +02:00
Lin Clark
72d422fb86 Bug 1285348 - New console frontend: disable in browser toolbox. r=bgrins
--HG--
extra : rebase_source : cff98e95cd5b21480990f849569e7fbd2c63b329
2016-07-07 16:08:12 -04:00
Wes Kocher
86a74db006 Merge m-c to autoland, a=merge 2016-07-07 17:36:17 -07:00
Lin Clark
75503e8ad4 Bug 1283893 - New console frontend: required prop severity is sometimes undefined. r=bgrins
--HG--
extra : rebase_source : fb164f3f1b564b9c9bb7b0716275cc32a2f84843
2016-07-06 17:47:16 -04:00
Julian Descottes
7302908ebc Bug 1284851 - fix HTMLTooltip capturing events on invisible arrow container;r=bgrins
MozReview-Commit-ID: Ik85IPt7BIB

--HG--
extra : rebase_source : 011c428d3fd66410f599570af28e8a894e7ecf80
2016-07-06 22:03:57 +02:00
Julian Descottes
df13b10281 Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau
MozReview-Commit-ID: 4uEqkVbqcsC

--HG--
extra : rebase_source : 384969e88f8fb3ed23187c12d305acc113cf6a2c
2016-07-07 11:57:29 +02:00
Carsten "Tomcat" Book
1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Tom Tromey
6a91e5346c Bug 1276349 - Fix DAMP regression by speeding up _isURL. r=bgrins
MozReview-Commit-ID: C7khVe46Vjk

--HG--
extra : rebase_source : 991395b28fdc0bc6296af866a3e7b4ddd6eda9c2
2016-07-05 11:33:01 -06:00
Nicolas Chevobbe
eaa1f24d14 Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv

--HG--
extra : rebase_source : 4b77cdad5f749555acd470b61ca9627c805f1ad5
2016-07-05 23:24:21 +02:00
Wes Kocher
cd35e4422c Merge m-c to inbound, a=merge 2016-07-07 17:35:43 -07:00
Jeff Walden
aaeb46f1ff Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Nick Fitzgerald
7b0a1f6dee Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Julian Descottes
d367c125c7 Bug 1267403 - HTMLTooltip tests: destroy tooltips at the end of tests;r=ochameau
MozReview-Commit-ID: 2jMKxlsWId2

--HG--
extra : source : 806822ced9a2a28b81a66180e25d2d204227a08b
extra : histedit_source : fc3122c6d332db121bedf494553bc9d6797babfc
2016-07-04 16:02:37 +02:00
Julian Descottes
3aa417586a Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R

--HG--
extra : source : fc4d902ff01ee92a5b6742d44286e5feaaba1500
extra : intermediate-source : 126f43ff3be5505920946a77ad82401c6bbaebef
extra : histedit_source : 863888c014723f7e95742079395497ba1a30aa36%2C13ba9aaf80acb96c587739c767c20a8f0f6a9a5a
2016-07-06 14:50:44 +02:00
Luke Chang
b5cb21ec6c Bug 1263104 - Ctrl+F in Storage Inspector should open search. r=mratcliffe 2016-07-05 20:21:00 +02:00
Sebastin Santy
a7c7bee82f Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro 2016-07-05 02:16:00 +02:00