Commit Graph

183 Commits

Author SHA1 Message Date
Kris Maglione
5421efdfa0 Bug 1284020: Treat window.fetch/window.XMLHttpRequest the same as the global variants in content scripts. r=aswan
MozReview-Commit-ID: Cuz6CiNZdrd

--HG--
extra : source : 56d636b5d961f3accab65064e7f81be1f78ad81e
extra : amend_source : cdf3359ed7c3e77ba21c942d2fc0280c8146648a
2016-07-12 15:45:07 -07:00
Carsten "Tomcat" Book
d50eba7171 merge fx-team to mozilla-central a=merge 2016-07-13 17:24:54 +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
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
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
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
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
Jan Odvarko
86677d02a2 Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02: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
Greg Tatum
8b9104efd4 Bug 1261477 - Make values of long watch expressions visible r=jlongster 2016-06-20 08:47:00 +02:00
Philipp Kewisch
a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Dalimil Hajek
b2f34546ca Bug 1145655 - Remove remnants of Browser Debugger. r=jryans 2016-06-25 03:35:00 +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
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
J. Ryan Stinnett
ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Eddy Bruel
b91e39033c Bug 1265728 - Decouple PromisesFront from PromisesActor; r=ejpbruel 2016-06-07 12:47:20 +02:00
Alexandre Poirot
33bf4b8832 Bug 1276073 - Ensure source is loaded and selected before running debugger tests. r=jlongster 2016-06-02 01:44:05 -07:00
Carsten "Tomcat" Book
80f07395be Backed out changeset ef722ca61b23 (bug 1276073) for frequent timeouts like in browser_dbg_search-symbols.js 2016-06-01 15:06:05 +02:00
Alexandre Poirot
a8bb16eb76 Bug 1276073 - Ensure source is loaded and selected before running debugger tests. r=jlongster 2016-06-01 02:23:07 -07:00
Alexandre Poirot
26ebcfb42c Bug 1080025 - Fix browser_dbg_bug-896139.js on Linux-asan. CLOSED TREE r=me 2016-05-26 12:36:54 -07:00
Alexandre Poirot
df646f8912 Bug 1080025 - Prevent debugger tests to race source shown event when using initDebugger helper. r=fitzgen 2016-05-26 09:12:17 -07:00
Joel Maher
a6fcbcf0a3 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj

--HG--
extra : source : a50249d48b1e86a3749bccc51ece4d1a827a621c
2016-05-25 15:28:24 -04:00
Jared Wein
b57a662411 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Tom Tromey
0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot
9f0ddbd261 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey
--HG--
rename : devtools/client/shared/widgets/ViewHelpers.jsm => devtools/client/shared/widgets/view-helpers.js
2016-05-16 03:13:30 -07:00
Alexandre Poirot
62793e8163 Bug 1268441 - Convert inspector key shortcut to stop using XUL. r=bgrins 2016-05-12 03:07:56 -07:00
James Long
3301484dc5 Bug 1260042 - add a test to make sure auto pretty-printing works in case of error in debugger r=me 2016-05-11 11:17:38 -04:00
J. Ryan Stinnett
6f6a286c6c Bug 1090380 - Show target title and URL in toolbox title. r=bgrins
MozReview-Commit-ID: BksG2GOfxVG
2016-05-06 11:33:41 -05:00
Julian Descottes
87fe331949 Bug 1270462 - part1: extract devtools tooltip toggle logic to separate file;r=bgrins,jsnajdr
The code used to make the tooltip appear/disappear when hovering targets
has been extracted to a separate class that can be shared between the
current Tooltip.js implementation and the upcoming HTMLTooltip.

MozReview-Commit-ID: UYSjPFeMYK

--HG--
extra : rebase_source : 5dcca2d5887ffc98fec621092640073a0909c13f
2016-05-06 14:54:30 +02:00
James Long
e87387e53d Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Brian Grinstead
c77eeb7c73 Bug 1269497 - Provide toolbox.win getter to make lines shorter in tests;r=jdescottes
MozReview-Commit-ID: 9KuWzsyHQGF
2016-05-03 07:41:20 -07:00
Jarda Snajdr
929a8d5d40 Bug 1268806 - The SyntaxTreeVisitor in Parser.jsm fails to process computed names for object properties. r=nfitzgerald 2016-04-29 02:08:00 +02:00
Jarda Snajdr
12ed4a19f0 Bug 1259743 - Part 1: Inline sources in iframe stop being displayed after few reloads. r=ochameau 2016-04-28 03:53:00 -04:00
Alexandre Poirot
7164e6284d Bug 1060732 - Load sources from page loaded via POST from cache in the debugger. r=ejpbruel 2016-04-27 09:43:59 -07:00
Tom Schuster
d0c155984f Bug 1255925 - Fix devtools test. r=fitzgen 2016-04-13 13:43:43 +02:00
Carsten "Tomcat" Book
3c5ee70a18 merge mozilla-inbound to mozilla-central a=merge 2016-04-26 13:44:45 +02:00
Jan Odvarko
22e4925d1f Bug 1267293 - Turn the DOM panel off by default;r=bgrins
MozReview-Commit-ID: DOYF2vTUEqq
2016-04-25 18:04:47 +02:00
Jan Odvarko
3e720469c7 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: AmFZNR3Tp7q
2016-04-12 19:56:52 +02:00
Luca Greco
95b83b0c14 Bug 1261857 - [webext] add Devtools Debugger test case on WebExtensions ContentScript sources. r=ochameau
MozReview-Commit-ID: HAZy67Dwda0

--HG--
extra : transplant_source : %004%C2%27%17%90%A9%F9%0E%3F%D6%E1%EEc%02%DD%B0C%BFw
2016-04-16 13:37:33 +02:00
Carsten "Tomcat" Book
4193c6737d Backed out changeset b795087334cb (bug 1201475)
--HG--
extra : rebase_source : 4c4e29ff9e6dc8b421e18a7e61810e7bcf23da75
2016-04-21 14:24:12 +02:00
Jan Odvarko
75990f56b7 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: FcYby6OWFAM
2016-04-12 19:56:52 +02:00
Jarda Snajdr
60441017e6 Bug 1254617 - browser_dbg_debugger-statement.js has unhandled promise rejections. r=ejpbruel 2016-04-14 07:58:00 +02:00
Carsten "Tomcat" Book
26fa2ff692 merge fx-team to mozilla-central a=merge
--HG--
extra : amend_source : ad367ce5c609bdeabd41e252d379aae9bee81e04
2016-04-15 11:39:35 +02:00
Carsten "Tomcat" Book
56fa69434b Backed out changeset ff56abc1768b (bug 1255925) 2016-04-14 16:19:41 +02:00
Tom Schuster
48dc3a6aac Bug 1255925 - Fix devtools test. r=fitzgen 2016-04-13 13:43:43 +02:00
Carsten "Tomcat" Book
8221e0285d merge mozilla-inbound to mozilla-central a=merge 2016-04-13 11:53:35 +02:00
Wes Kocher
55f3bb97d0 Backed out changeset aa1a374f6bde (bug 1060732) for failures in browser_dbg_post-page.js
MozReview-Commit-ID: 70TYWF1nMcj
2016-04-12 15:47:09 -07:00
Chris Peterson
5cf84aa32d Bug 1103588 - Part 2: Replace deprecated String#contains with String#includes in devtools tests. r=jryans 2016-04-09 16:04:36 -07:00
Alexandre Poirot
2304fa0495 Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans 2016-04-14 01:40:43 -07:00