Граф коммитов

2524 Коммитов

Автор SHA1 Сообщение Дата
Helen V. Holmes 51ae650d57 Reland with fixup Bug 1266414 - Device modal fades in/out. r=jryans
--HG--
extra : amend_source : 416e58ff7e1ff28ca7521e273714de9aadf55c71
extra : histedit_source : 2c1bbfce832ff2f6605fcf3d9b4bd69930ba035e%2C2085d6494520aecf4563821b870af70facc2d668
2016-07-12 14:27:10 -07:00
Tim Nguyen 1d3d814327 Bug 1266414 - Fix dt6 browser_modal_device_exit|submit.js failure. r=bustage
MozReview-Commit-ID: 90oZoGDlRDt
2016-07-12 23:24:07 +02:00
Wes Kocher b30d0a6ed9 Backed out changeset b9cd9d6a4abe (bug 1266414) for browser_device_modal_exit.js failures a=backout 2016-07-12 14:20:24 -07:00
Julian Descottes 6bc3c91358 Bug 1283454 - migrate MDN docs tooltip to use HTML;r=ochameau
MozReview-Commit-ID: 50DceNmgGAQ

--HG--
extra : rebase_source : 669214f693c863eab72c24d3be9936fc049dd365
2016-07-05 14:39:52 +02:00
Carsten "Tomcat" Book 9c84360118 Merge mozilla-central to fx-team 2016-07-13 17:28:49 +02:00
Patrick Brosset 95fad96712 Bug 1254814 - Synthesize the key to inspect the element in the right process; r=testonly
In browser_markup_load_01.js, the browser context menu is opened and then the
Q key is pressed in order to choose the "inspect" menu item.
However this key is simulated in the content process, using the testActor.
Since the menu itself lives in the parent process, the key event should instead
be simulated in the parent process for it to work properly.

I suspect that this was sometimes causing the menu to stay open in subsequent
tests.

MozReview-Commit-ID: 1cOF7CSk7sm

--HG--
extra : rebase_source : d179968ff4521a291bf3f9ce7a6a71834bfa69bd
extra : histedit_source : 31957490cb17c5e873787578c09c9e628c267a7a
2016-07-11 15:19:46 +02:00
Julian Descottes 4dfbce99ed Bug 1280729 - split intermittent test browser_markup_tag_edit_04.js;r=bgrins
MozReview-Commit-ID: LrWkO2IEH37

--HG--
rename : devtools/client/inspector/markup/test/browser_markup_tag_edit_04.js => devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js
extra : rebase_source : 0824eba94a5fe5286f14729f9d7ba416deeada1e
2016-07-05 13:50:14 +02:00
Nancy Pang 6c2a980a72 Bug 1273211 - Add side panel enter and return controls, added keyboard space selection for controls in netmonitor and console key. r=pbro
MozReview-Commit-ID: HGGTeshLBDs

--HG--
extra : transplant_source : e%0A%19%0B%96%8F%11%8B%E8%3A%DA%7B%06%C0n%9C%09-TU
2016-07-12 14:10:57 -04:00
Sebastin Santy ed4558f67f Bug 1275546 - Use CSS lexer to parse angle values in css-angle.js . r=nchevobbe
MozReview-Commit-ID: DVqlbrruf2b
2016-07-08 06:29:00 +02:00
Jan Odvarko dbf7715579 Bug 1259819 - HTML Sidebar component; r=pbro
MozReview-Commit-ID: ABPOx2gRZpb
2016-07-14 13:26:02 +02:00
Tim Nguyen 03791602e6 Bug 1286872 - followup: move some leftover command-button styles to toolbox.css. r=me
MozReview-Commit-ID: DonbdYPHGVs
2016-07-14 18:53:20 +02:00
Tim Nguyen 69fefc241d Bug 1286872 - Split out toolbox styles from toolbars.css. r=bgrins
MozReview-Commit-ID: 9AFP1nC8in6
2016-07-14 18:26:28 +02:00
Julian Descottes f5eec4fa1e Bug 1285540 - HTML Tooltip: always use LTR direction to position arrow;r=bgrins
MozReview-Commit-ID: EGMCAZBu1x5

--HG--
extra : rebase_source : cfdcb0287724176165e7cd4b8bdcea8c61503f30
2016-07-13 18:52:51 +02:00
Lin Clark 3a79cf448f Bug 1264693 - [rep tests] Add tests for object rep. r=Honza
--HG--
extra : transplant_source : %E6V%7Cf%09%26%5C0%90%E3%FCx%88%C5%C2%CC%A5%19T%19
2016-06-27 14:28:28 -04:00
Helen V. Holmes a56fed0d97 Bug 1266414 - Device modal fades in/out. r=jryans
Device modal can be closed with escape and outside click

--HG--
extra : amend_source : 4e49c78b31b29e2176a722f67b27d2e95781ca33
2016-07-12 07:28:00 -04:00
Julian Descottes d1025c9eea Bug 1285206 - Enable xul panel for some devtools tooltips;r=bgrins
Set useXulWrapper to true for markup view image previews and rule view
tooltips.

Also slightly changed the logic in HTMLTooltip.js so that useXulWrapper is only
true when we are in a XUL context.

MozReview-Commit-ID: 9EkQYLLAn7C

--HG--
extra : rebase_source : 5b096345c087a85f3c66fdca639287196e22775c
2016-07-08 15:46:42 +02:00
Julian Descottes 6dbdb73654 Bug 1285206 - Use type=arrow for xul panel wrapper in HTMLTooltip;r=bgrins
MozReview-Commit-ID: I1DCXbl05b6

--HG--
extra : rebase_source : cda1c15be67a09fb4be3a11f8b2967de031eb122
2016-07-12 17:24:53 +02:00
Julian Descottes 5330514c42 Bug 1284461 - HTMLTooltip: use variable height only if height==Infinity;r=bgrins
MozReview-Commit-ID: LTraHLeEEp4
2016-07-05 14:35:15 +02:00
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 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
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
Wes Kocher bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Andy McKay 37cdc5fcf2 bug 1282868 re-sign devtools test addon r=me a=test-only
MozReview-Commit-ID: K1QGUvssesA

--HG--
extra : rebase_source : d3225fb7e0c99f318558e13e1b854fab788ec599
extra : source : a3f1f7a73a5502e365c59677ca57a88ccab02ae0
2016-06-27 14:52:57 -07:00
gasolin 835ed75cb9 Bug 1282427 - Reps: handle userDisplayName property on Function grips. r=linclark
MozReview-Commit-ID: 2DPfSuHeFo9

--HG--
extra : rebase_source : 2dbefb94dfdf0339bc1a63342c8e4d6c7ac1e5fb
2016-07-13 14:44:01 +08:00
Greg Tatum 180f6e66ec Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
gasolin 711ad5eab1 Bug 1264701 - combine url utils to rep-utils.js; r=linclark
MozReview-Commit-ID: Gdtg6Nf1Spj

--HG--
extra : transplant_source : 2j%91%13%E2H%E1%02%89%8A%26%B8%9A%FD%EBF%20%3Cu%F5
2016-07-12 11:53:24 +08:00
Carsten "Tomcat" Book 710a62630f Merge mozilla-central to fx-team 2016-07-14 12:07:22 +02:00
Steve Chung 333763a3d3 Bug 1287391 - Wrong sidebar tabs direction in RTL locales with Firebug theme. r=pbro
MozReview-Commit-ID: BhemDYlh703

--HG--
extra : rebase_source : 2ea23ff03574f1fcefbdd39b0316402460a203c2
2016-07-20 11:47:04 +08:00
Patrick Brosset f4f658ae9a Bug 1287042 - Always before/after CSS rules in rule-view; r=bgrins
::before and ::after pseudo-elements are visible in the markup-view today
but if, for some reason, they aren't generated, we still want to know that
the CSS rule exists.
This may happen if you use display:none on the pseudo-element CSS rule itself.
When that happens, the pseudo-element won't be generated and therefore there
will be no possibility to see the rule in the rule-view (you'd have to go to
the style-editor for that).
This change keeps the pseudo-elements in the markup-view, but also adds the
corresponding CSS rules in the rule-view.

MozReview-Commit-ID: tx5IpmtE7b

--HG--
extra : rebase_source : 19979672561e55fc5713900b83dd6d40ac33d2a3
2016-07-18 17:15:05 +02:00
Ricky Chien 47316715df Bug 1229340 - Move animation inspector scrollbar to timeline container r=pbro
MozReview-Commit-ID: DT37WGBXTiS

--HG--
extra : transplant_source : %86F%D2%2C%17n%B9K%5D%06%9FMjZ%B5%20%06%87%F1%E8
2016-05-27 18:01:19 +08:00
Alexandre Poirot a4a6cbfec2 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot 213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Jan Odvarko 7ea3330190 Bug 1287368 - Fix inspector sidebar portrait mode; r=pbro 2016-07-19 09:57:59 +02:00
gasolin 9adbc517d5 Bug 1285449 - Firebug theme - Don't apply inverted filter to sidebar-toggle, rewind-timeline, pause-resume-timeline in Inspector; r=Honza
MozReview-Commit-ID: KPB4dfRjzrD
2016-07-14 01:40:00 +02:00
Steve Chung 146f454ff5 Bug 1285530 - Reps: Off by one error in grip-array max length. r=Honza
MozReview-Commit-ID: 3rBiraUWiY0

--HG--
extra : transplant_source : %82s%1F%11%92%FCY%A1%82%89%AC%AB%E5%95up%80%1A%DC%1E
2016-07-13 16:44:31 +08:00
gasolin f1be82c16d Bug 1279526 - Firebug theme: fix CSS for rule view property; r=Honza
MozReview-Commit-ID: FaXCBK7gi7J

--HG--
extra : transplant_source : %87%CC%DB%FC%3F%2B%093%E6%B9%3E%04%03%8F%B6%F1/%01%C6H
2016-07-13 10:58:29 +08:00
Tom Tromey c1f4e8a225 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA

--HG--
extra : rebase_source : 6513acf886bef3192445ae003f413acc0143f658
2016-07-15 14:04:02 -06:00
Tom Tromey f3688e87f4 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH

--HG--
extra : rebase_source : 45d478bf4b60a869490b12b1e2cd1e8f2d204a9f
2016-07-14 12:48:47 -06:00
Luke Chang cee31bc485 Bug 1265686 - Add PageUp/PageDown/Home/End navigation in AbstractTreeItem; r=gregtatum
MozReview-Commit-ID: 1LkKblI5ghz

--HG--
extra : rebase_source : 60fc6c0852d0e193b2de27a07dc49124540a4da6
2016-07-13 19:12:31 +08:00
Joseph Yeh 711bee9e8d Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm

--HG--
extra : rebase_source : ed4d3809d97fd1c1a6661ad30b9f9d0d868fbea2
2016-07-11 20:28:00 +02:00
Greg Tatum e119f38a8d Bug 1261048 - Fix shortcut modifier bug with Flame Graph. r=jsantell
--HG--
extra : rebase_source : 582274ab347a66197c953c0d896b184fbf5f2978
2016-07-18 07:33:00 +02:00
Julian Descottes c0a152512a Bug 1280360 - markupview: a11y fix tabindex when modifying attributes;r=pbro
Modify the template for markup view attributes to accept a tabindex attribute.
The markup for attributes might be generated and inserted in an already focused
markup view line. In this case the DOM element should be created with a tabindex
of 0 instead of -1.

MozReview-Commit-ID: AaMUS1h1o0C

--HG--
extra : rebase_source : e03f187326b6b42f7e575712137118e3adcb6a6f
2016-07-01 23:34:21 +02:00
Carsten "Tomcat" Book 499b4b2166 Backed out changeset 4fb8d384921e (bug 1281125) for failing on own tests 2016-07-19 14:28:16 +02:00
Julian Descottes 5fb6669098 Bug 1287090 - HTMLTooltip: support host changes by retrieving top window dynamically;r=bgrins
MozReview-Commit-ID: 9RcM2h41DdV

--HG--
extra : rebase_source : 7990bd4ef4c519495231fc71a2176847c2dfd3cf
2016-07-15 16:30:54 +02:00
Gabriel Luong 8db07dfbc4 Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Gabriel Luong c26bfa1c50 Bug 1281125 - Split up browser_layout_update-after-navigation.js test r=jdescottes 2016-07-19 04:30:10 -04:00
Ryan VanderMeulen a12698a23e Bug 1277274 - Skip browser_responsiveui_window_close.js on Linux debug e10s for being permafail. 2016-07-15 12:55:26 -04:00
Tim Huang 5a832efcfb Bug 1282660 - Part 2 : Add a test cast to test that style editor can load stylesheets correctly with containers. r=gl 2016-07-14 04:13:00 +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
Lin Clark bcfaeeffb2 Bug 1286676 - New console frontend: use new taxonomy for RDP packet types. r=me
--HG--
extra : rebase_source : d993104d714fd7d9048d6cc4fa8154a0658deeef
2016-07-11 18:50:25 -04:00
Lin Clark fffe5181d0 Bug 1286676 - Part 1: Match current markup in pageError. r=me
--HG--
extra : rebase_source : a3c2542e638da12426a1e263e4cc1208619932d4
2016-06-29 21:10:50 -04:00
Tom Tromey 9c45a35cf2 Bug 1266832 - add dummy telemetry object to Services shim; r=gregtatum
MozReview-Commit-ID: Cg6ciWVNbEx

--HG--
extra : rebase_source : 019115aff8dc6e0329559510a8df00814452222a
2016-07-20 13:53:50 -06:00
Tom Tromey ee883aab7f Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim

--HG--
extra : rebase_source : a40ac300ff98f302bfbf5ce978172904426fa152
2016-07-18 13:58:20 -06:00
Tom Tromey c9840ff9af Bug 1276341 - remove some misleading import comments; r=jryans
MozReview-Commit-ID: 4ARx91saUtF

--HG--
extra : rebase_source : 8784a3e5b761980c53d9e8b0d928b3b71b3592a3
2016-07-12 08:39:53 -06: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
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
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
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 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
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
Lin Clark 8674b1ac25 Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: 36TkWMPePIT
2016-07-05 17:38:05 -07:00
Ian Moody 327e597570 Bug 1260297 - Force LTR direction for the eydropper color value so the # character doesn't move depending on colour in RTL locales. r=jryans
MozReview-Commit-ID: 3T5kjXB3i8d

--HG--
extra : transplant_source : Gx%20%7FZ%06%93k%EF%D0%C9%C8%A7%0F%9Du9%8E%5E%B6
2016-07-02 22:49:52 +01:00
Greg Tatum 84f5e124c1 Bug 1226898 - Make autoscroll distance depend on the document height r=pbro
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll.js => devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js
rename : devtools/client/inspector/markup/test/doc_markup_dragdrop_autoscroll.html => devtools/client/inspector/markup/test/doc_markup_dragdrop_autoscroll_02.html
2016-07-05 11:52:25 -07:00
Gregory Szorc 021d3fdfc7 Merge mozilla-central to mozilla-inbound 2016-07-06 18:26:17 -07:00
Lin Clark 4062790276 Bug 1264696 - [rep tests] Add tests for string rep. r=Honza
MozReview-Commit-ID: BK44BgMhqPN

--HG--
extra : transplant_source : %5C%A7T0%E7%A9%BC%06%B5%0Bo%17Y%C9WS8%BC%BBJ
2016-06-23 17:48:34 -04:00
Lin Clark 1e4fbb5c93 Bug 1264696 - Move string utility functions to rep-utils. r=Honza
--HG--
extra : transplant_source : %A4%BA%9C%B5%EA%0E%C03%F2%90s%E5%21%87%85%E2%5C%3Ct%3C
2016-06-23 17:14:41 -04:00
Gijs Kruitbosch ad4c50d8a8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3

--HG--
extra : rebase_source : 742b2dc71b56e32a23ca426713b3eb53a7d65f48
2016-07-07 16:38:27 +01:00
Jan Odvarko 86677d02a2 Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02:00
Ian Moody c7bd381abc Bug 1268738 - Remove the background image from devtools breadcrumbs in the firebug theme. r=ntim
Prevents two breadcrumb arrows from appearing because the light-theme breadcrumb
is a background while the firebug-theme one is a CSS generated element

MozReview-Commit-ID: 20DEHid7lOP

--HG--
extra : transplant_source : kh%A0%F2%14%0B%FF%F3%BC%A6%28%1E%A39%9E%F2F%04%15%7B
2016-07-03 17:04:47 +01:00
Jan Odvarko ad8bb89f66 Bug 1282463 - Reps: ensure that grip arrays work even when a provider is not provided; r=linclark 2016-07-01 12:48:30 +02:00
Lin Clark d78524ccac Bug 1264688 - [rep tests] Add tests for number rep. r=Honza 2016-06-30 08:52:00 +02:00
Michael Ratcliffe f71ab0d423 Bug 1244584 - Make GCLI tooltip hide after the first run experience r=jwalker 2016-07-01 12:30:00 +01:00
Jarda Snajdr 4e06c87a12 Bug 1231445 - Part 4: Tests for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr c8316a5361 Bug 1231445 - Part 3: Support for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr 23366bd7b8 Bug 1231445 - Part 2: Change format of stores-cleared event data to support clearing any store r=mratcliffe 2016-07-04 04:09:00 +02:00
Jarda Snajdr 9d2f86c967 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Ian Moody 199accd19e Bug 1205569 - Use margin-inline-start instead of margin-left for the webconsole filter icons so they look right on RTL locales. r=ntim
MozReview-Commit-ID: GTVUmgM45Yf

--HG--
extra : transplant_source : d%BA%FB%1B%FB%B06%19%96%F3%F0%88C%C3%D6%92%EF%DA4%DF
2016-07-02 22:58:18 +01:00
Patrick Brosset 3d0938464a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA

--HG--
extra : rebase_source : fef638a9abb65e918ef593434a9224828c44d29e
2016-07-04 15:21:58 +02:00
Julian Descottes 4d95e26734 Bug 1283764 - fix display of noResults message in inspector computedview;r=gl
MozReview-Commit-ID: BRZZXCRHRyW

--HG--
extra : rebase_source : 1126efefe73800aea6602c9c3f0134bf1d3d1a58
2016-07-01 12:12:13 +02:00
Patrick Brosset 6c12aa9c1b Bug 1280121 - Re-enable the font panel by default
MozReview-Commit-ID: Lg7yvfkwqx5

--HG--
extra : rebase_source : bf206d7be2fc14f7e94bcb008ad060f3ea8b2908
2016-07-04 09:44:18 +02:00
Jarda Snajdr 1071446650 Bug 1283800 - Storage inspector throws unhandled exception trying to access localStorage on about:home r=mratcliffe
MozReview-Commit-ID: D5EVRMk8zEG
2016-07-01 06:26:00 +02:00
Phil Ringnalda e38bf61245 Back out 7d431089a2d2 (bug 1283870) for failures in test_evaluation-result.html 2016-07-01 18:26:52 -07:00
James Long 2331b4c16c Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel 2016-07-01 17:40:27 -04:00
Joseph Yeh c6939fca31 Bug 1279651 - The show-all button overlaps on inspector-breadcrumbs-toolbar
MozReview-Commit-ID: 5QqTsbh50PT
2016-06-27 00:01:00 +02:00
Lin Clark 40a56b044e Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: HYRdgpKDXF
2016-07-01 11:21:08 -04:00
Peter Elmers ef47656f06 Bug 1283465 - New console frontend: Display cached messages. r=linclark
MozReview-Commit-ID: ArhGOuUY8ea
2016-06-30 06:59:55 -07:00
Eddy Bruel 32f9a9263f Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
djmdev e2dfb7824c Bug 1172412 - Moved the markers to the right of the checkbox, before the label. r=ntim
MozReview-Commit-ID: 3DYIoVO2an4
2016-06-30 21:50:27 +05:30
Jarda Snajdr 24366b36b0 Bug 1281732 - Part 8: Fix webconsole tests that inspect the stack frames r=bgrins 2016-06-27 04:54:00 +02:00
Jarda Snajdr d66c01d247 Bug 1281732 - Part 7: Clean up and simplify markup of webconsole messages r=bgrins 2016-06-24 09:28:00 +02:00
Jarda Snajdr d095253488 Bug 1281732 - Part 6: Use StackTrace React component in webconsole, cleanup message-location r=linclark 2016-06-29 04:06:00 +02:00
Jarda Snajdr 2eeeda64b7 Bug 1281732 - Part 5: Style cleanup for HTTP console log messages r=Honza 2016-06-24 09:15:00 +02:00
Jarda Snajdr 143d345a63 Bug 1281732 - Part 4: Add stack trace tab to HTTP console log message r=Honza 2016-06-28 09:29:00 +02:00
Jarda Snajdr c259458149 Bug 1281732 - Part 3: Remove duplicate styles for stack frames in Performance tool r=bgrins 2016-06-24 09:13:00 +02:00
Jarda Snajdr 4a9d73ab29 Bug 1281732 - Part 2: Fix tests that look at the Frame component markup r=linclark 2016-06-24 09:11:00 +02:00
Jarda Snajdr ff687663ee Bug 1281732 - Part 1: React components for displaying stack traces and frames r=linclark 2016-06-24 09:10:00 +02:00
Steve Melia 22d172ab4b Bug 1269226: Explicitly handle node deletion in inspector breadcrumbs. r=pbro 2016-05-25 00:06:28 +01:00
Towkir Ahmed 88e1001723 Bug 1266142 - Fixed radio button labels vertical alignment in devtools settings/options pane. r=ochameau 2016-06-29 12:36:00 +02:00
J. Ryan Stinnett fbdd664cb0 Bug 1283599 - Repair DevTools file watcher. r=tromey
MozReview-Commit-ID: IRLxJ4ZJ5ti
2016-06-30 16:07:23 -05:00
Wes Kocher 0a4e1558a6 Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Nicolas Chevobbe 9cc375021b Bug 1283247 - New console frontend: Add support for console.count(). r=linclark
MozReview-Commit-ID: 2b9cBXXMLMW
2016-06-25 14:32:37 +02:00
Michael Ratcliffe 56a8127a68 Bug 1268837 - Remove GCLI screenshot --chrome file.png. r=jwalker
MozReview-Commit-ID: GlNfyofypHt
2016-06-30 14:08:42 +01:00
Tom Tromey b2671b487f Bug 1244227 - remove unused file from devtools/client/netmonitor/test/; r=Honza
MozReview-Commit-ID: 1obunKGZYgx

--HG--
extra : transplant_source : %87%84M%B680%BC%D4%08%F5%D2%07%C8%EFd%8F%85%CD%B73
2016-06-20 11:29:36 -06:00
Andrew Swan 9a676bded2 Bug 1283622 Sign devtools test addon r=me
MozReview-Commit-ID: 4lGqR7hkrrk

--HG--
extra : source : eeaae22e8025862cd9a330876bfdf1eabf982283
extra : intermediate-source : 920000da82c37d81d6fe151d4630350983940bde
2016-07-02 20:09:37 -07:00
Tom Tromey 3f45bbeb7d Bug 1287620 - don't de-quote identifier tokens in parseDeclarations; r=pbro
MozReview-Commit-ID: GecLWyVsNAy

--HG--
extra : rebase_source : a423883724277d3fac7e606b6e8af5f39f48dc16
2016-07-19 12:47:07 -06:00
Alexandre Lissy ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Patrick Brosset 29a105a09c Bug 1277834 - Add missing promise rejection handler to breadcrumbs; r=jdescottes
MozReview-Commit-ID: C7WDd3CsMSX

--HG--
extra : rebase_source : afd75f3e560ce77722630005b227649a4b5dc3ba
2016-07-20 10:30:43 +02:00
Patrick Brosset a08bd75422 Bug 1277834 - Silence inspector warnings and add promise rejection handlers; r=jdescottes
MozReview-Commit-ID: 6NhwdVTH57R

--HG--
extra : rebase_source : 9b96832c8b0258c4de96c22929e1683d4ccec0d8
2016-07-21 23:29:19 +02:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Tom Tromey f6968e4e28 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : %88%FA%CB%0D%21%07%D9%DA%84%03%2C%92N%60%0F%E4%11%CF%8Dp
2016-03-01 11:13:41 -07:00
J. Ryan Stinnett 76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 96a4940397 Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett efa881ac27 Bug 1240907 - Clean up code style in test-actor-registry.js. r=ochameau
MozReview-Commit-ID: GKAKgnVDimD
2016-07-21 12:20:55 -05:00
Lin Clark 68e51753a6 Bug 1264687 - [rep tests] Add tests for null rep. r=Honza 2016-06-30 05:10:00 +02:00
Florian Scholz d33e806413 Bug 1279195 - Update error doc URLs and add GA parameters; r=bgrins 2016-06-24 03:58:00 +02:00
Brian Grinstead 28a5659e30 Bug 1279195 - Move error message URL onto server. r=linclark
MozReview-Commit-ID: 4paCU4JDDMv

--HG--
extra : transplant_source : %2C%5Dg%B2K%DF%F2%D0%FB%08d%E46%B77%C6MZB-
2016-06-21 15:09:13 -07:00
moby 4f92724a7b Bug 1278287 - Migrate the style-inspector-menu module; r=bgrins 2016-06-29 13:29:00 +02:00
djmdev aa478becf5 Bug 1283072 - replaced png icon reference with svg icon reference in image url of .remove-button; r=jdescottes 2016-06-29 23:33:01 +05:30
Michael Ratcliffe ed0e455d77 Bug 1249445 - Remove empty space when devtools docked right r=pbro
--HG--
extra : rebase_source : 97242d4811d073d83f50da9d4fe1922a7c57dd2e
2016-06-29 16:51:39 +01:00
Lin Clark 2c9ea43189 Bug 1264691 - [rep tests] Add tests for object-with-text rep. r=Honza
--HG--
extra : rebase_source : 4ec4eb045d7129612346a191ca0304b83e7c1cd5
2016-06-21 16:19:50 -04:00
Julian Descottes 34e58925be Bug 1278823 - styleeditor: fix csscoverage report creation;r=jryans
The sheetToUrl function in csscoverage is only used to create ids for the
csscoverage map of knownRules. Instead of asking the UI to format stylesheet
URLs using the same logic as the server, StyleEditor.jsm now sends the
stylesheet actor to create the report. The csscoverage actor can then compute
the stylesheet URL on the server.

MozReview-Commit-ID: GDtWhbi2ScW

--HG--
extra : rebase_source : bfc8dc7c680523ff8d67e8ffd5d1b1b7af862333
2016-06-28 11:18:39 +02:00
Alexandre Poirot 43a3ab0728 Bug 1283186 - Only print error instead of throwing when a key shortcut is invalid. r=bgrins 2016-06-30 01:29:56 -07:00
Jarda Snajdr 23e15b12e9 Bug 1282211 - Requests cannot be sorted by cause r=Honza 2016-06-29 06:11:00 +02:00
Greg Tatum 8b9104efd4 Bug 1261477 - Make values of long watch expressions visible r=jlongster 2016-06-20 08:47:00 +02:00
Jaideep Bhoosreddy 8f1b54dd02 Bug 1254390 - Flexible sizing for device selector to display full device names; r=gl 2016-06-29 09:29:00 +02:00
Tom Tromey 469cee9bad Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d

--HG--
extra : transplant_source : n%A3%EF0e%9F%8E%09%FC4%95%F8%60l3%B73%BDS%C7
2016-06-24 08:26:21 -06:00
Wes Kocher da658e26c2 Backed out changeset 7773873116e9 (bug 1265727) for xpcshell failures and eslint failures 2016-06-29 12:00:47 -07:00
Gabriel Luong a673a00224 Bug 1282287 - Upgrade to CodeMirror 5.16.0 r=bgrins 2016-06-30 00:58:13 +09:00
Carsten "Tomcat" Book 7b90111dfd Merge mozilla-central to fx-team 2016-06-29 16:21:46 +02:00
Eddy Bruel eb8de6c5ed Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-06-29 16:20:06 +02:00
Carsten "Tomcat" Book 5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Lin Clark dadbb21b58 Bug 1264683 - [rep tests] Add tests for function rep. r=Honza 2016-06-29 07:07:00 +02:00
Jaideep Bhoosreddy 5b0915aa18 Bug 1282472 - Add camera effects to screenshot; r=jryans 2016-06-29 00:13:00 +02:00
Alexandre Poirot 9e552a2542 Bug 1281731 - Destroy the toolbox on toolbox.xul unload. r=jryans 2016-06-28 08:39:37 -07:00
jyeh@mozilla.com 804ddb6322 Bug 1268073 - Misleading error if you click "Debug" twice. r=janx 2016-06-28 08:39:37 -07:00
Jan Keromnes 03eff3939b Bug 1268073 - Fix a few BrowserToolboxProcess leaks. r=ochameau 2016-06-28 08:39:37 -07:00
Alexandre Poirot 250e55dddb Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Alexandre Poirot b62081ba39 Bug 1268073 - Prevent leaking BrowserToolboxProcess instance when debuggerServer leaks. r=jryans 2016-06-28 08:39:36 -07:00
Carsten "Tomcat" Book bd81760f9c Merge mozilla-central to fx-team 2016-06-28 16:14:58 +02:00
Carsten "Tomcat" Book 261fe13dcd merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Jaideep Bhoosreddy 7194d53f36 Bug 1278909 - Realigning checkbox and label in RDM Device Modal; r=helenvholmes 2016-06-20 14:18:00 +02:00
Philipp Kewisch [:Fallen] b3be6df2f8 Bug 1279833 - Make less use of gBrowser and content tabs in devtools. r=jwalker 2016-06-28 11:07:09 +02:00
Philipp Kewisch a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Jaideep Bhoosreddy afa6407d7b Bug 1259132 - vertically aligning device-list label in rdm which is not aligned on windows; r=helenvholmes 2016-06-28 01:42:00 +02:00
Benoit Chabod c2a197a1a4 Bug 1275559 - Handle asynchronous loading and errors for device list, r=jryans 2016-06-28 05:33:00 +02:00
Benoit Chabod 69ae1235aa Bug 1269882 - Reload viewport when enabling touch simulation, r=jryans 2016-06-28 05:42:00 +02:00
Jarda Snajdr 1ff6daa7b0 Bug 1191216 - Part 2: Intermittent browser_console_error_source_click.js - rewrite to Task.js. r=bgrins 2016-06-27 04:49:00 +02:00
Jarda Snajdr faf82effc8 Bug 1191216 - Part 1: Intermittent browser_console_error_source_click.js - fix test. r=bgrins 2016-06-27 04:48:00 +02:00
Dalimil Hajek b2f34546ca Bug 1145655 - Remove remnants of Browser Debugger. r=jryans 2016-06-25 03:35:00 +02:00
Jan Odvarko d086fee2a2 Bug 1281489 - Fix Grip rep long mode. r=linclark 2016-06-27 13:49:49 +02:00
Julian Descottes 410925da80 Bug 1266456 - part7: tooltips.css remove unused event details tooltip rule;r=jsnajdr
MozReview-Commit-ID: K0nL7Jthc98

--HG--
extra : rebase_source : 27a8f7942918bf4d5dd8f4734c548786f6603d9f
2016-06-09 16:29:29 +02:00
Julian Descottes 35b0ed34db Bug 1266456 - part6: HTMLTooltip show() now accepts x,y offsets;r=bgrins
The autocomplete popup is displayed relatively to an anchor, but will be
shifted on the x-axis in order to be aligned with the word being completed.

To support this, the HTMLTooltip show() method now accepts x and y offsets.

MozReview-Commit-ID: 1cR3XFPdcVy

--HG--
extra : rebase_source : 0aa84be9afe977c52bffad2eb37eb35813d8a17a
2016-06-20 21:07:08 +02:00
Julian Descottes fa6cf14cb1 Bug 1266456 - part5: HTMLTooltip setContent() support "auto" width parameter;r=bgrins
The autocomplete popup defines its width by finding the longest label
to display and then applying a "width:Xch" to its content, where X is
the length of the longest label + 3.

In order to support this, the HTMLTooltip setContent() methods allows to
use width: "auto" (which also becomes the default value). In this case,
the HTMLTooltip show() method will automatically compute the preferred
width for the tooltip. It will first calculate the tooltip height, then
measure the width of the tooltip for this computed height and use it as
the preferred width.

MozReview-Commit-ID: KDxZNB3KDdR

--HG--
extra : rebase_source : 8ceedd73434551050f8d63cbf03d66870e275b03
2016-06-23 17:30:50 +02:00
Julian Descottes 31b8edef38 Bug 1266456 - part4: HTMLTooltip support XUL docs using page instead of window;r=ochameau
Some test documents are using a <page> object instead of a <window> object.
When inserting the tooltip container  inside of the document, the HTMLTooltip
will now insert the container in the documentElement

MozReview-Commit-ID: F57vP2lfvrg

--HG--
extra : rebase_source : 5f99c4c139fed9a9893a98a5de2c4c3e76c753da
2016-06-22 19:44:59 +02:00
Julian Descottes af06507c7b Bug 1266456 - part3: HTMLTooltip show() clear timeout to avoid window leaks;r=jsnajdr
When calling HTMLTooltip::show() consecutively, we were leaking a window object.
The timeout responsible for attaching the click event on window is now cleared
before attaching a new one.

MozReview-Commit-ID: 3ccIHM2QNlp

--HG--
extra : rebase_source : 645e761b8fa562bfa5b8e4abe3412ef52c03c62e
2016-06-24 16:47:01 +02:00
Julian Descottes 718a901bda Bug 1266456 - part2: HTMLTooltip setContent() use object as 2nd arg;r=jsnajdr
setContent expects 3 arguments: content, width, height. Height is already optional
but for the autocomplete migration, the width will also become optional.

Using an object argument for width and height makes this easier.

MozReview-Commit-ID: 9CiMG0BdLOR

--HG--
extra : rebase_source : 4ec54714ccc2476fa4b341aaad3773ba095cca5a
2016-06-23 17:27:32 +02:00
Julian Descottes 4ce7004bfb Bug 1266456 - part1: HTMLTooltip cleanup test & jsdoc for synchronous setContent;r=jsnajdr
MozReview-Commit-ID: Ia3aRmwFawP

--HG--
extra : rebase_source : 6a569ffd14264ff8c680e5fc8f8cf6eae4ff5877
2016-06-22 15:18:21 +02:00
Jan Keromnes b57c44dc2d Bug 1188981 - Show Push Service subscription endpoint URL for Service Workers in about:debugging. r=jryans
--HG--
extra : rebase_source : c8636b7a77d23eb0c6392dac41825f62dde00db8
2016-06-24 18:06:34 +00:00
Jan Keromnes 4bad6d5fc8 Bug 1188981 - Switch about:debugging tests to devtools shared-head. r=jryans
--HG--
extra : rebase_source : 6f14053f3c5d6ef7ee171a3bc071f11dd0f0c2cd
2016-06-24 18:06:34 +00:00
Tom Tromey 92a3aa0df3 Bug 1264654 - Use DOMParser in devtools. r=bgrins
MozReview-Commit-ID: BB829YyUBh7

--HG--
extra : transplant_source : %1Fb%17%07%CA%EE%20%01%92%8A_%F4%C6%F1%27%8D%A1%8C%96%F4
2016-06-20 06:34:32 -06:00
J. Ryan Stinnett 0068c10f19 Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
J. Ryan Stinnett 10cd63b51b Bug 1240900 - Connect primary browser UI to the viewport. r=ochameau
The primary browser navigational UI should now behave as if it's connected to
the page content in the viewport, including things like:

* Content page's URL is displayed in location bar
* Content page's title is displayed on the tab
* Back / forward navigates the viewport
* Entering a location navigates the viewport
* Page loading progress is displayed in the status bar as usual

MozReview-Commit-ID: FzxWEwj13sJ
2016-06-25 11:35:02 -05:00
Brian Grinstead 1adf4b4140 Bug 1278368 - Remove the error console. r=dolske
MozReview-Commit-ID: AIw6zqVjJFx

--HG--
extra : transplant_source : V%9C%F2%B6L%1D%22%D8%85%9Ep%AA%2B%CD%19%23%D2c%96%EE
2016-06-23 17:46:58 -07:00
Lin Clark 7756c539df Bug 1264677 - [rep tests] Add tests for attribute rep. r=Honza 2016-06-24 05:48:00 -04:00
Lin Clark 4f748ab59f Bug 1264685 - [rep tests] Add tests for grip rep. r=Honza 2016-06-24 05:30:00 -04:00
Jan Odvarko ea87030f6a Bug 1280949 - Use regexpr to identify browser based directories. r=jlongster 2016-06-20 17:04:54 +02:00
Yury Delendik 47898bf0e8 Bug 1280471 - Turn on highlight for WebAssembly text format. r=jlongster
MozReview-Commit-ID: GIeIqr3m8WX

--HG--
extra : transplant_source : %0A%A2%DB%8A%40NBm.6T%D3_%CC%F1%D1%A2%EF%23%3E
2016-06-16 16:02:49 +01:00
Tom Tromey 1efab2c2c3 Bug 1273941 - remove last use of sdk/core/promise from devtools; r=jryans
MozReview-Commit-ID: 23EFkNlv6dN

--HG--
extra : transplant_source : 05-%1BB%C4%9E%25%2C%A1%DE%D8%FB%D9-%D5z-%A9%8D
2016-06-09 09:16:46 -06:00
Tom Tromey 39077d503e Bug 1273941 - do not Cu.import promises in devtools; r=jryans
MozReview-Commit-ID: 57DjVnER13e

--HG--
extra : transplant_source : -5M%03%AF%DB%25%5E%C6%9B5%85%94%22%12X%B8%86%F7%B9
2016-06-09 09:08:34 -06:00
Tom Tromey 5ebada2115 Bug 1273941 - replace uses of promise.defer in devtools/client/eyedropper; r=jryans
MozReview-Commit-ID: HXXirB104d9

--HG--
extra : transplant_source : %8BjB%C0H%BB%F3%E9W%06%E9%26%9E%28eq%C1bTc
2016-06-09 09:06:35 -06:00
Tom Tromey 290bb95718 Bug 1273941 - replace uses of promise.defer in devtools/client/styleeditor; r=jryans
MozReview-Commit-ID: EEniVnsuuDd

--HG--
extra : transplant_source : %E5%BFsj58%04%A1Nkf%88%20%05%2CO%F6%E6%3E%FB
2016-06-09 09:06:21 -06:00
Tom Tromey 8033f9ff34 Bug 1273941 - replace uses of promise.defer in devtools/client/inspector; r=jryans
MozReview-Commit-ID: CBKDIFYL9Ij

--HG--
extra : transplant_source : %F9%EF9%B2B%87%FA%A3%CD%9E7%80%B1N%A9%FE%96%1F%C3%94
2016-06-09 09:05:41 -06:00
Tom Tromey abf6180c9f Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK

--HG--
extra : transplant_source : %21MF%10yF%AC%01%D3%3C%A3%95fF%CA%7Ct%A6%92w
2016-06-09 09:04:58 -06:00
Tom Tromey 16d4051c4f Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9

--HG--
extra : transplant_source : %EB%27%9C%FE%80N%8D%13E%C0%7B%B7%F0_%A5%CCJ%5D%FC%8F
2016-06-09 09:04:22 -06:00
Brian Grinstead 50ae546b6e Bug 1277207 - Show tooltip arrow in rtl locales. r=jdescottes
MozReview-Commit-ID: Jc1jdlKhkLz

--HG--
extra : transplant_source : %92%17fl%8F_%90%91poD%02%B7%7E%99%D5iA%AE%D4
2016-06-22 18:09:45 -07:00
Francesco Lodolo (:flod) e5a7c8e40c Bug 1281502 - Improve localization comments for Source Editor shortcuts. r=past
--HG--
extra : rebase_source : d07f9cef1f4dd269597b4bb20f88e587b03963be
2016-06-23 05:25:00 -04:00
Lin Clark 677c201d49 Bug 1264698 - [rep tests] Add tests for stylesheet rep. r=Honza
--HG--
extra : rebase_source : 49bcad560612cfe5c7d874cd6316656faefd918c
2016-06-21 12:30:00 -04:00
Benoit Chabod 9fc08ea016 Bug 1275520 - Improve RDM displayed device list preference. r=jryans
--HG--
extra : rebase_source : 6bf3471e0298e05a9aa0c477a4de2c6a444cb9b6
2016-06-22 09:41:00 -04:00
danhuang1202 ef481a9f37 Bug 1274704 - Update Date.now() to performance.now() for getting accurate time diffence. r=jryans
MozReview-Commit-ID: LkdWbWCQDqb

--HG--
extra : rebase_source : ec2176a6db0e82bf3512467f44ce54d33a7401ea
2016-06-22 18:11:32 +08:00
Carsten "Tomcat" Book 965dbc5745 merge mozilla-inbound to mozilla-central a=merge 2016-06-23 14:57:09 +02:00
Jaideep Bhoosreddy fbd4e8ea76 Bug 1255908 - Replaced "/" with hostname when for root document in webconsole; r=jsnajdr 2016-06-22 20:30:00 +02:00
Jan Odvarko 9fc49ca3c9 Bug 1279649 - Rotate inspector-pane-toggle 90 deg for vertical mode. r=ntim 2016-06-22 16:20:50 +02:00
Tom Tromey 33551be142 Bug 1280371 - Move ELEMENT_STYLE to devtools/shared/specs/styles. r=bgrins
MozReview-Commit-ID: AjZLiQAivg9

--HG--
extra : transplant_source : %E6%1E%5E%CD%88%22K%F3%C5%91%A5%9C%05o%1F%13%B6%98%BCE
2016-06-16 11:27:10 +01:00
Maxime "Pepe_" Buquet 8d1d5c1189 Bug 1221545 - Allow for the Style Editor to be disabled. r=jdescottes 2016-06-21 15:13:51 +02:00
Tom Tromey af5e8f9ef5 Backed out changeset 3518b484f82d (bug 1275637) for errors in browser_se_first-run.js; CLOSED TREE; r=me, a=KWierso
MozReview-Commit-ID: HumbpXccwrF
2016-06-22 14:19:19 -06:00
Eddy Bruel ba21a67524 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Jarda Snajdr 196c4493fd Bug 1280247 - Netmonitor JS stack traces should show the frame's asyncCause r=ochameau 2016-06-15 23:30:00 +02:00
Philipp Kewisch 6b67f0dc68 Bug 1279740 - Cannot open scratchpad with browser execution context preset. r=jryans 2016-06-11 23:58:48 +02:00
Tim Nguyen f90e79fb40 Bug 1256314 - Fix twitching of RDM toolbar on startup. r=jryans
MozReview-Commit-ID: GQbdVwfvh1N
2016-06-22 07:57:59 +02:00
Lin Clark f2c3e30e25 Bug 1264679 - [rep tests] Add tests for date-time rep. r=mayhemer
DONTBUILD

--HG--
extra : source : c4096b7ccbe6e8296e3274841c978efbc5396c64
extra : amend_source : a3102589a7f432b078a91ada01e140446d241a23
2016-06-21 09:45:00 -04:00
Ryan VanderMeulen 26e2fdf1c9 Backed out changeset c4096b7ccbe6 for landing with the wrong commit message. 2016-06-21 17:33:55 -04:00
Lin Clark 09dc5d1830 Bug 1281051 - Remove text-node rep. r=Honza 2016-06-21 09:45:00 -04:00
Christoph Kerschbaumer af4cc7ca3c Bug 1281114 - Convert devtools/client/debugger/test/mochitest/addon3.xpi to use channel.open2() r=grinstead
--HG--
extra : rebase_source : 041cffe0cb19d6860edda0e9d36d55a4b0d36f4c
2016-06-21 10:23:58 +02:00
Jan de Mooij 3bd7eaa33a Bug 1282113 - When we're shutting down the runtime, only allow shutdown GCs. r=terrence 2016-06-28 11:56:08 +02:00
Nicolas Chevobbe 5bd03405ba Bug 1224504 - Use the same variable name in CssComputedView than in CssRuleView for inspected element. r=jdescottes
MozReview-Commit-ID: 7U4YYqdR7nZ

--HG--
extra : transplant_source : %07p%F4%85%F6%C3%E8%C6%7D%0D%98%E0%DA%9BK%98%9CqG%D9
2016-06-20 18:22:20 +02:00
Nicolas Chevobbe 213fc9c79b Bug 1224504 - Selecting the rule view panel should refresh the panel content. r=jdescottes
That's what the code intended to do, but it was checking an unexisting property.
This patch fixes that and adds a test to make sure changes are synced in the rule
view when editing properties in the layout view.
Move getRuleViewRuleEditor from inspector/rules/test/head to inspector/test/head in order to use
it in computed test folder. Remove the duplicated function in inspector/shared/test/head.

MozReview-Commit-ID: JbE4ppheSZC

--HG--
extra : transplant_source : %DDO%ED%10%C4%C1s%06%22D%D4%82%13%3F%1A%F0%E8%9D%F9%7B
2016-06-20 18:20:08 +02:00
Nicolas Chevobbe 231c9140fb Bug 1280520 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js. r=bgrins
MozReview-Commit-ID: 5hlcANi1exr

--HG--
extra : transplant_source : %F0%A1t%C1TWjc%862%E6f%00%99p%E1a%D4%3B%12
2016-06-17 17:23:44 +02:00
Tom Tromey d7707e6975 Bug 1265830 - Remove uses of nsIDOMCSSRule from devtools. r=bgrins
MozReview-Commit-ID: 9q9Ei38My4A

--HG--
extra : transplant_source : %EA%94%C5%B2%BD%7Fz%F6%1C3O%0B%22%AA%C8%3E%98Z1j
2016-06-16 10:22:28 +01:00
Tom Tromey ba0f9d2892 Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G
2016-06-20 06:38:39 -06:00
moby f79cb6e071 Bug 1203079 - Allow Ctrl+Shift+C to cancel element picker even if page becomes unfocused; r=pbro
--HG--
extra : rebase_source : b8859d16fdf64903b55779fb5972d4ccb840b0ce
2016-06-14 04:57:00 +01:00
Carsten "Tomcat" Book a967cdb984 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Christoph Kerschbaumer e6988379ea Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead 2016-06-15 13:19:31 +01:00
Ben Kelly fe59a2e2da Bug 1279389 P2 Relax the timing in browser_telemetry_toolboxtabs_storage.js to account for osfile worker startup. r=jryans 2016-06-28 18:47:55 -07:00
Sylvestre Ledru 264ead6793 Bug 1289135 - Fix typos in the properties files r=Ehsan
MozReview-Commit-ID: 5n2mCxzkDch

--HG--
extra : rebase_source : d2837bb8928d355ea109aedcde4a37c056ddcb95
2016-07-25 16:34:38 +02:00
Tom Tromey bbb5d58ec6 Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri

--HG--
extra : rebase_source : 8a1ec7e1458fe2b2844ba8d2e70803da4eb05199
2016-07-26 09:34:25 -06:00
Peter Elmers 6d74ac0231 Bug 1287958 - New console frontend: Add keys to messages. r=bgrins
--HG--
extra : rebase_source : c16e69da3e6c0a824316f3a97001d4b84efd1960
2016-07-19 15:41:39 -07:00
Greg Tatum 12b7603161 Bug 1291322 - Manually throttle CssRuleView tests; r=tromey
This patch provides a mechanism for overriding the throttle function in
inspector tests with a manually controllable throttle. I did modify a
few tests to not check for a second "ruleview-changed" as it required
using a setTimeout to defer the code to the next frame to get it to work
as it currently exists. I figured it was safer to just not flush the
throttle, and reduce how many "ruleview-changed" events that the test
expected.

MozReview-Commit-ID: 8AIMouZjLBf

--HG--
extra : rebase_source : 27eb17fc5c26af065a8fa84f3508b91c297c5ed7
2016-08-02 11:27:27 -05:00
Tom Tromey e53c23031c Bug 1290234 - remove uses of nsIDOMNode constants from inspector; r=gregtatum
MozReview-Commit-ID: G73Dn8shdkp

--HG--
extra : rebase_source : 41feb1c4a951aa8de7527d7c0eecc95efc529cb6
2016-07-28 14:03:50 -06:00
Tom Tromey 0625980878 Bug 1274303 - fix gcli "inspect" command; r=jwalker
MozReview-Commit-ID: GeTUvJqvrKx

--HG--
extra : rebase_source : 59048383ea0f63c9ea1fcb4e986446d6db954096
2016-07-27 13:08:47 -06:00
gasolin d9537d355b Bug 1264686 - Reps: Use grip-array rep to display NamedNodeMap. r=linclark
MozReview-Commit-ID: 9hy2A9wmrAW

--HG--
extra : rebase_source : b876d71cc80e693727c4e14387123ce5cec52d7b
2016-07-21 10:53:49 +08:00
Gabriel Luong 0e5d2013cc Bug 1288238 - Move the computed toolbar below the box model r=jdescottes 2016-07-22 14:24:19 -04:00
Yury Delendik eebc2b3435 Bug 1288150 - Add fast breakpoint presents check for removeBreakpoints. r=jlongster
MozReview-Commit-ID: KKDUw6st4Bs

--HG--
extra : transplant_source : %0E%A3%E7%D0l6%95%A6%8C%A2U1%94%E2%BB%91l%C8%9F%D6
2016-07-21 08:52:00 -05:00
Tom Tromey 04f9e05389 Bug 1244227 - Remove unused file from devtools/client/netmonitor/test/. r=Honza
MozReview-Commit-ID: 1obunKGZYgx

--HG--
extra : transplant_source : %EA%23E%88%EB%BF%83GGF%CC%CF%DC%1F%E1%80%5C%1F%5B6
2016-06-20 11:29:36 -06:00
Tom Tromey 4f245dd44f Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : J%98f%AD%0C%80%3B%0D%23%89%5D/%F2He%CC%B95Np
2016-03-01 11:13:41 -07:00
Julian Descottes 5989b201c1 Bug 1288375 - ruleview: fix invisible icons in filter widget tooltip;r=pbro
Scoped stylesheets cannot make reference to an element outside of the scope in any
part of a selector. This means a selector such as ".theme-light .scoped-element"
can not work in a scoped stylesheet.

Theme specific rules have been removed from the filter&bezier tooltip css. Instead
CSS variables defined for each theme are used in the scoped stylesheets.

MozReview-Commit-ID: 7apGbPc0CYy

--HG--
extra : rebase_source : e71f33b395b0a6d21bb4352507a3947ed2b81766
extra : amend_source : 55e0c78a006fd2b580d6d0e345c950a4e7ab472a
extra : source : 0be81bdc2e08b658f91dc05443ab15ced91025f2
2016-07-21 16:26:36 +02:00
Julian Descottes ba686b64ad Bug 1283705 - wait for popuphidden to fix intermittent test browser_tableWidget_mouse_interaction;r=miker
MozReview-Commit-ID: GFyH7f1bXpR

--HG--
extra : rebase_source : f5712a5b12a298b0d026d1b4a6ce42087c1d43bb
2016-07-15 11:23:14 +02:00
Julian Descottes b2d3f9f479 Bug 1288358 - restore padding around spectrum widget in colorpicker tooltip;r=pbro
MozReview-Commit-ID: BFZA3tDkoR0

--HG--
extra : rebase_source : 36b94e444691c71f0fffaa02756e7435538a2dcc
2016-07-21 11:22:36 +02:00
Patrick Brosset f5bb80b8d5 Bug 1278552 - Make sidebar containers focusable so shortcuts work when they are active; r=jdescottes
The rule-view and computed-view now have tabindex="-1" on their containers
so that clicking anywhere in the views will focus them, so will tabbing
through the inspector to them.
This means that any user activity on them ends up focusing them (or any
focusable element in them, which was the case before anyway).
Because of this, pressing ctrl+F (or any other shortcut) will work correctly:
the _onShortcut callback in each of these views will detect that the active
element is the view itself and will therefore handle the event.
Note that the container element that has the tabindex attribute is a child of
the main container element that is scrollable (overflow:auto). That is
because if we use only one element for both, then grabbing the scrollbar will
focus the element and blur any field that's currently focused.

MozReview-Commit-ID: 97a1tpdlbmZ

--HG--
extra : rebase_source : 607f025a0f06064180a9cb3e72129e3c734598c6
2016-07-18 14:38:10 +02:00
Patrick Brosset 2c1685206a Bug 1262439 - 8 - Re-implement telemetry in the eye-dropper; r=miker
MozReview-Commit-ID: 2XDhAb3iXdu

--HG--
extra : rebase_source : a0a6617c9e2d3663d3958d95a66f7487a5bc60a1
2016-06-09 16:02:08 +02:00
Patrick Brosset ff2b533863 Bug 1262439 - 7 - Delete the old eyedropper implementation; r=ochameau
MozReview-Commit-ID: FFrbWHiA8f3

--HG--
extra : rebase_source : ec191bb317e21e5ee555a7cbca7b2f9d7ee0c424
2016-06-09 13:33:27 +02:00
Patrick Brosset 23d0420743 Bug 1262439 - 6 - Update the eye-dropper devtools menu entry to use the new eye-dropper; r=ochameau
Removes some old eye-dropper related code in browser.js which was not
used anymore since the devtools menu are added dynamically now.
And replaces the code in devtools/client/menus.js to call the gcli
eyedropper command now instead of the old eyedropper tool.

MozReview-Commit-ID: DMn9eiVOnGY

--HG--
extra : rebase_source : 020558ead3c2c0a11ffbef97da31392a52d135d3
2016-06-09 13:19:09 +02:00