Commit Graph
36 Commits
Author SHA1 Message Date
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Brian Hackett a3b3fd2d4f Bug 1543753 - Don't view sources that can't be loaded in the debugger, r=loganfsmyth. 2019-05-15 07:52:42 -10:00
Oana Pop Rus 50e01669f5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 19:41:57 +02:00
Brian Hackett cc5c402b0d Bug 1538397 - Don't use source actor for event listeners with mapped sources, r=ochameau. 2019-03-28 06:50:41 -06:00
Mellina Yonashiro b253301825 Bug 1532295 - Webconsole's onViewSourceInDebugger doesn't pass column number to debugger panel when opening a source. .
Pass on column from props.onViewSourceInDebugger (///devtools/client/shared/components/reps/reps.js:6844//) to
//devtools/client/webconsole/webconsole-wrapper.js:267// as **frame.column**

Differential Revision: https://phabricator.services.mozilla.com/D22372
2019-03-28 13:52:28 +00:00
Logan Smyth eb8be09703 Bug 1534342 - Fix O(n^2) perf issues in getSymbols. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D22997
2019-03-11 22:34:39 +00:00
Brian Hackett 4883790be1 Bug 1531826 Part 1 - View event handler sources by ID, r=ochameau. 2019-03-04 05:45:19 -10:00
Aaditya Arora a1c4e7f1bb Bug 1530612 - Pass CSS warning column through viewSouceInStyleEditor; r=nchevobbe.
Pass CSS warning column location through viewSourceInStyleEditor
so clicking on CSS warnings in console jumps to the right location in style editor

Differential Revision: https://phabricator.services.mozilla.com/D21682
2019-03-01 16:43:02 +00:00
Brian Hackett 5abbe24fb5 Bug 1447244 Part 8 - Generate source actors for internal source IDs on demand, r=lsmyth. 2019-02-21 09:42:14 -10:00
Brian Hackett fa5e9ef447 Bug 1447244 Part 7 - Devtools client changes for script source IDs, r=lsmyth. 2019-01-16 12:01:33 -10:00
Brian Hackett 6f6c9e6d26 Bug 1523421 - Always view source map original URLs in the debugger, r=jlast. 2019-01-28 12:18:56 -10:00
David Walsh 6e92c3796b Bug 1314057 - Remove new-debugger-frontend usage from webconsole tests r=davidwalsh 2018-09-14 10:47:49 -05:00
Narcis Beleuzu cbe7b0b012 Backed out 5 changesets (bug 1314057) for devtools failures on browser_browser_toolbox_debugger.js . CLOSED TREE
Backed out changeset 9bb3fd62313e (bug 1314057)
Backed out changeset cdb30006eb31 (bug 1314057)
Backed out changeset 7691cbfeac6a (bug 1314057)
Backed out changeset 1b274560201f (bug 1314057)
Backed out changeset 059a19d11454 (bug 1314057)
2018-09-17 07:29:31 +03:00
David Walsh 211173ae43 Bug 1314057 - Remove new-debugger-frontend usage from webconsole tests. r=jlast 2018-09-14 10:47:49 -05:00
Kris Maglione f2dba891af Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3732
2018-08-18 19:28:37 -07:00
Belén Albeza 54936cb5e6 Bug 1476235 - Add telemetry for opening a custom element definition in the debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D2836
2018-08-08 15:30:17 +00:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Julian Descottes fd6c4d35a8 Bug 1451014 - Remove iterator to list toolboxes on gDevTools;r=ochameau
MozReview-Commit-ID: 5ZaePP4p5Eb
2018-04-06 12:41:43 +02:00
Alexandre Poirot 22e91d7acd Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
Brendan Dahl 5ef80eaf60 Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf
2018-02-05 13:33:58 -08:00
Julian Descottes 99bcf6d7c1 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR
2017-04-20 14:49:44 +02:00
Carsten "Tomcat" Book 146c23b5e9 Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Julian Descottes 569f1d9f93 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR
2017-04-18 10:25:19 +02:00
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