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

16 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 7f9cac248f Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 7b7f29e68b5c73246de73ee73bdfbcce7de4e594
extra : source : 26825d7a225d98a9b29def0e0871ed7d8d3cb62f
2017-04-20 14:49:44 +02:00
Carsten "Tomcat" Book 0ede18d72a Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Julian Descottes ef9a9e80c9 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 76cd533614d04771319f484cf8eb642d5f966e75
2017-04-18 10:25:19 +02:00
James Long 5019a0d0df Bug 1313921 - Don't select the debugger if it can't open a source. r=bgrins
--HG--
extra : amend_source : bbb421f538e75a7db668b3a026e5d1b689fef6b5
2016-11-29 14:16:00 -05:00
James Long 8ad312e3e3 Bug 1315289 - Use correct API for opening a source in the debugger r=me 2016-11-07 13:10:03 -05:00
James Long 9189e00cd2 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 3de2518dc2 Bug 1303045 - pass the line to highlight in debugger in `viewSourceInDebugger` r=me 2016-09-16 10:59:35 -04:00
James Long ff3927cfc3 Bug 1288511 - land new debugger frontend behind a pref r=jsantell 2016-08-05 09:27:41 -04:00
Philipp Kewisch a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Sami Jaktholm ef4eead563 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

--HG--
extra : rebase_source : d4ed2e02bb8bfd734e23600e06accf3e34be16cc
2016-05-21 10:50:51 +03:00
Tom Tromey 50ab4ddfdd 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 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 d3b05e8c5a Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Alexandre Poirot 51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Jordan Santell d971af30f9 Bug 1219544 - Decouple the react Frame component from the memory view and pull out source utilities from frame utilities in performance tool. r=fitzgen
--HG--
rename : devtools/client/shared/source-utils.js => devtools/client/shared/view-source.js
2015-12-29 13:23:05 -05:00