Commit Graph
13 Commits
Author SHA1 Message Date
James Long 3c46eb7990 Bug 1313921 - Don't select the debugger if it can't open a source. r=bgrins 2016-11-29 14:16:00 -05:00
James Long cc461e59df Bug 1315289 - Use correct API for opening a source in the debugger r=me 2016-11-07 13:10:03 -05:00
James Long ae07ee3f14 Bug 1313197 - open source in new tab if it doesn't exist in the debugger r=jlast 2016-11-01 11:22:14 -04:00
James Long 85910296e2 Bug 1303045 - pass the line to highlight in debugger in viewSourceInDebugger r=me 2016-09-16 10:59:35 -04:00
James Long a6cb39d188 Bug 1288511 - land new debugger frontend behind a pref r=jsantell 2016-08-05 09:27:41 -04:00
Philipp Kewisch 8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Sami Jaktholm bb5811c20d Bug 1230990 - Wait for the source text to finish loading before signaling that source has been shown in the debugger. r=ochameau
Currently viewSourceInDebugger() only waits for a source to be shown if it is
not the selected one. If the requested source is selected by default, it might
already be selected when the isLoading check is made. However, the actual
source text might still be loading since it is loaded asynchronously.

In this case the method does not wait for the source to be shown meaning the
method resolves before the source is ready in the debugger. This causes
browser_toolbox_view_source_01.js to fail intermittently with wrong
line number since it looks at the focused line BEFORE the source text has
loaded and the correct line is selected.

This changeset modifies the behavior of viewSourceInDebugger() to also wait for
source shown event if the source is already selected but still loading.

MozReview-Commit-ID: JvxjJ5Yt19a
2016-05-21 10:50:51 +03:00
Tom Tromey 8f1292bce5 Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
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 bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Alexandre Poirot c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Jordan Santell 7c2a9c7bfe Bug 1219544 - Decouple the react Frame component from the memory view and pull out source utilities from frame utilities in performance tool. r=fitzgen 2015-12-29 13:23:05 -05:00