Commit Graph
409 Commits
Author SHA1 Message Date
J. Ryan Stinnett 530b903fcf 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 e39e7b8130 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey 2016-05-16 03:13:30 -07:00
Alexandre Poirot 4a0b60932c Bug 1268441 - Convert inspector key shortcut to stop using XUL. r=bgrins 2016-05-12 03:07:56 -07:00
James Long e615aa479c 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 34f3550689 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 2a7534a928 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
2016-05-06 14:54:30 +02:00
James Long ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Brian Grinstead 38a4f145c9 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 8c381cdcaf 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 c240d3bf78 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 e906100572 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 2d41e0778d Bug 1255925 - Fix devtools test. r=fitzgen 2016-04-13 13:43:43 +02:00
Carsten "Tomcat" Book 7738f66044 merge mozilla-inbound to mozilla-central a=merge 2016-04-26 13:44:45 +02:00
Jan Odvarko e50a511405 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 5b2b84a397 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: AmFZNR3Tp7q
2016-04-12 19:56:52 +02:00
Luca Greco 34e9479f82 Bug 1261857 - [webext] add Devtools Debugger test case on WebExtensions ContentScript sources. r=ochameau
MozReview-Commit-ID: HAZy67Dwda0
2016-04-16 13:37:33 +02:00
Carsten "Tomcat" Book 292f2fead5 Backed out changeset b795087334cb (bug 1201475) 2016-04-21 14:24:12 +02:00
Jan Odvarko 4fa4fead45 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: FcYby6OWFAM
2016-04-12 19:56:52 +02:00
Jarda Snajdr 3e17f5ec6c Bug 1254617 - browser_dbg_debugger-statement.js has unhandled promise rejections. r=ejpbruel 2016-04-14 07:58:00 +02:00
Carsten "Tomcat" Book af66eb48df merge fx-team to mozilla-central a=merge 2016-04-15 11:39:35 +02:00
Carsten "Tomcat" Book 1295d04d7f Backed out changeset ff56abc1768b (bug 1255925) 2016-04-14 16:19:41 +02:00
Tom Schuster 15ccb7ef34 Bug 1255925 - Fix devtools test. r=fitzgen 2016-04-13 13:43:43 +02:00
Carsten "Tomcat" Book 15e662ed33 merge mozilla-inbound to mozilla-central a=merge 2016-04-13 11:53:35 +02:00
Wes Kocher 5f9fb9a333 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 7cebfeb3e1 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 4302367585 Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans 2016-04-14 01:40:43 -07:00
Ryan VanderMeulen 09a3ce417c No bug - Skip browser_dbg_stack-05.js on ASAN e10s as well (was already skipped on debug). 2016-04-12 16:35:14 -04:00
Alexandre Poirot d06b519056 Bug 1060732 - Load sources from page loaded via POST from cache in the debugger. r=ejpbruel 2016-04-12 13:05:36 -07:00
Ryan VanderMeulen c4c4fdc128 Bug 1214439 - Skip browser_dbg_split-console-keypress.js on Linux e10s for intermittent failures. 2016-04-08 09:32:27 -04:00
Jarda Snajdr 3538a22f3e Bug 890913 - Parser.jsm: support SpreadExpression r=vporof 2016-04-04 04:44:00 +02:00
Jarda Snajdr 0613c1e5a1 Bug 1260756 - The SyntaxTreeVisitor in Parser.jsm fails to process template literals and function default arguments. r=vporof 2016-03-31 01:49:00 +02:00
Jason Laster cb6cd35db0 Bug 1260529 - Showing a source in the editor should not update the cursor position. r=jlong 2016-04-07 12:48:00 -04:00
Jason Laster e7da6cd8b4 Bug 1262014 - Cleanup and refactor browser_dbg_stack-03.js to fix intermittent timeouts. r=ejpbruel 2016-04-25 07:04:00 -04:00
Ryan VanderMeulen 8442c3a904 Merge m-c to fx-team. a=merge 2016-04-04 23:37:40 -04:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Alexandre Poirot f1e49125f8 Bug 1261860 - Prevent exception in debugger UI when processing script with jar: URLs. r=jlongster 2016-04-04 11:51:38 -07:00
Jared Wein 344dc31204 Backout the backout because follow-up fix got pushed. Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 10:50:50 +02:00
Sebastian Hengst 0fb917a8da Backed out changeset a877338b4740 (bug 1259859) for failures in devtools mochitest browser_cmd_highlight_03.js. r=backout 2016-04-02 10:45:08 +02:00
Jared Wein b9795f7bf4 Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 02:27:36 -04:00
Jason Laster 54cddeb62a Bug 1258821 - Cannot open the expression panel of conditional breakpoint. r=jlong 2016-03-30 07:46:00 +02:00
J. Ryan Stinnett d0032fdfba Bug 1240804 - Allow remaining unhandled rejections. r=ejpbruel
MozReview-Commit-ID: 1D5BOz1JxJP
2016-03-31 19:46:14 -05:00
Jason Laster 1293ca317c Bug 1260160 - Refactor 2 debugger tests to use Task.spawn. r=jlong a=kwierso
* browser_dbg_search-sources-01.js
* browser_dbg_auto-pretty-print-02.js

MozReview-Commit-ID: KtUbMYU3pt9
2016-03-31 16:18:12 -07:00
Jarda Snajdr 8faf50394c Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Tom Tromey d49b2914aa Bug 1013219 - set line number of return instruction; r=efaust, r=fitzgen, r=ejpbruel 2016-03-28 12:20:00 +02:00
Tom Tromey 4dffd1885e Bug 1013219 - set the line number of the terminating retrval; r=jimb, r=ejpbruel, r=fitzgen 2016-03-28 12:20:00 +02:00
Jason Laster a41be798c3 Bug 1233927 - Switching between large JS files in debugger is slow. r=jlong
Changes the way that source files are loaded in the editor. Previously,
source text and mode were set on the existing editor document.

Now, source files are their own CodeMirror Documents, so when it comes time
to showing them in the editor, it's just a matter of swapping one
document for another.

Notes:
+ The DebuggerView now has a _setEditorDocument method for showing a
source document
+ The Editor now has support for creating documents and replacing
documents.

MozReview-Commit-ID: HrkiHrsJPOB
2016-03-28 13:12:28 -07:00
James Long 95e1a004ff Bug 1260042 - fix edge case with when auto-prettifying fails in debugger r=me 2016-03-28 13:18:09 -04:00
James Long 365a43d197 Bug 1258807 - update conditions on disabled conditional breakpoints properly r=me 2016-03-28 10:51:10 -04:00
Jarda Snajdr 35ae6bb0df Bug 1258981 - sources-view.js: The popupshown listener is incorrectly removed. r=jlongster 2016-03-23 02:59:00 -04:00
Jason Laster c0fc818edd Bug 900763 - "edit conditional breakpoint". r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-23 07:22:00 +01:00