Commit Graph
52 Commits
Author SHA1 Message Date
Mike de Boer 915cbb36c5 Bug 1354128 - Add Web Developer button to the photon app menu. r=Gijs
MozReview-Commit-ID: 9hq6qX7JpSp
2017-05-12 12:38:23 -04:00
Julian Descottes 9ef343e89a Bug 1356415 - get CSS selector in content for contextmenu to fix devtools CPOW;r=mixedpuppy
MozReview-Commit-ID: 3TYaYcS1W0h
2017-04-26 19:41:19 +02:00
Julian Descottes d18d132561 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf
2017-05-02 22:56:40 +02:00
Julian Descottes fdebbd7b8f Bug 1359090 - load devtools-browser.css dynamically when starting devtools;r=ochameau
This changeset modifies devtools-browser.css to import:
- commandline-browser.css (needed for GCLI)
- responsivedesign.css (needed for the old RDM)

These files are no longer included in the main browser.css files.

devtools-browser.css is also no longer loaded by browser.xul.
Instead it is dynamically loaded when devtools need the browser stylesheet:
- when creating a side or bottom host (need the splitter)
- when opening gcli
- when opening the old responsive design

devtools-browser.js keeps track of the browser stylesheets loaded in the
various tracked windows and will remove the stylesheet when the window is unloaded.

MozReview-Commit-ID: AL3CxS7mvdO
2017-04-27 16:05:31 +02:00
Alexandre Poirot 284f675774 Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools-browser.js. r=pbro
MozReview-Commit-ID: 3P2VOksEmQd
2017-04-27 17:21:07 +02:00
Alexandre Poirot 6e363b6d3b Bug 1360237 - Make gDevToolsBrowser.inspectNode more readable by using async/await. r=pbro
MozReview-Commit-ID: 37zPhpCTnDa
2017-04-27 17:20:38 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
J. Ryan Stinnett 47aeed7f95 Bug 1348318 - Avoid toolbox.win.top with undocked toolboxes. r=ochameau
`toolbox.win.top` is a bit suspect when we support undocked toolboxes, as this
doesn't allow you to reach a browser window for the toolbox.  Here we take a
different approach that should work for all docking types.

MozReview-Commit-ID: 5mlsp4OyZrc
2017-03-17 10:51:03 -05:00
J. Ryan Stinnett 4f18253db7 Bug 1329829 - Use toolbox threadClient with slow script debugging. r=jdescottes
By using the toolbox's threadClient reference, we avoid depending on specific
globals from the debugger panel itself, which can differ between old vs. new
debugger and generally aren't expected meant to be an exposed API.

MozReview-Commit-ID: FCvMDHpe1m1
2017-02-08 16:09:57 -06:00
Brian Grinstead 0d437948db Bug 1331449 - Set the [devtoolstheme] attribute on more specific nodes to improve tpaint;r=Gijs
MozReview-Commit-ID: 3LDQeKsGShB
2017-01-19 20:03:13 -08:00
Alexandre Poirot f487633f8f Bug 1326753 - Fix inspect node from browser context menu against elements in iframes. r=pbro
MozReview-Commit-ID: C4dvnISlneS
2017-01-18 22:08:10 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Brian Grinstead 7706cc57b5 Bug 1314091 - Sync the applied devtools toolbox theme and compact themes;r=ochameau
MozReview-Commit-ID: 38OLFmF3ALk
2017-01-13 11:53:59 -08:00
Brian Grinstead df0ce751e5 Bug 1314091 - Remove devtools-specific logic out of browser-devedition and into devtools-browser;r=ochameau
The devtools theme is no longer relevant when dealing with compact themes, since it doesn't
affect the theme colors. But we still need it for styling other things related to devtools
in browser.xul, like the splitter between the toolbox and page and gcli.

MozReview-Commit-ID: 2CXDuwQY19x
2017-01-13 11:53:58 -08:00
Alexandre Poirot e6f067a98c Bug 1328004 - Fix race when closing the devtools while a previous instance is still loading. r=jryans
MozReview-Commit-ID: 2a58l4DjCtv
2017-01-05 10:26:44 -08:00
Alexandre Poirot a6a9855d2f Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-12-19 09:00:12 -08:00
Wes Kocher fadbb05cd6 Backed out 2 changesets (bug 1302996) for being the likely cause of browser chrome crashes a=backout
Backed out changeset 8a97f217ebe8 (bug 1302996)
Backed out changeset 45bcf45afca2 (bug 1302996)
2016-11-28 16:38:20 -08:00
Alexandre Poirot 0ba27b336c Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-08-29 08:23:32 -07:00
Alexandre Poirot 6c52d41429 Bug 1154645 - Simplify inspectNode implementation by passing CSS selector instead of node reference. r=pbro
MozReview-Commit-ID: 3yeDk3OniFj
2016-11-09 09:23:36 -08:00
Luca Greco 0b6c034bdf Bug 1308912 - Add support for addon tools registered to a specific DevTools toolbox. r=ochameau
MozReview-Commit-ID: 7DzyXLGOs5w
2016-11-03 18:41:26 +01:00
Luca Greco 772fc334f1 Bug 1308912 - Simplify tool-unregistered by only accepting a string toolId. r=ochameau
MozReview-Commit-ID: 3QjWIAwol6A
2016-10-14 17:54:56 +02:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Iris Hsiao 700ba1cf54 Backed out changeset d271311721bb (bug 1297535) for developer's request 2016-10-11 11:13:12 +08:00
Alexandre Poirot ea834a2c62 Bug 1297535 - Register devtools menu and keys on DOMContentLoaded to happen before CustomizableUI. r=bgrins
MozReview-Commit-ID: ACy3yJTgzyA
2016-08-24 07:26:32 -07:00
Carsten "Tomcat" Book 8ebe9c200b Backed out changeset da90ec959a3c (bug 1297535) for memory leaks in browser_885530_showInPrivateBrowsing.js 2016-09-20 12:47:23 +02:00
Alexandre Poirot 4888e48dd5 Bug 1297535 - Register devtools menu and keys on DOMContentLoaded to happen before CustomizableUI. r=bgrins
MozReview-Commit-ID: ACy3yJTgzyA
2016-08-24 07:26:32 -07:00
Alexandre Poirot 9b033dc3df Bug 1302148 - Fix various code leaking devtools toolbox. r=bgrins
MozReview-Commit-ID: 9oqcXeuM9i
2016-09-14 06:33:49 -07:00
Alexandre Poirot c04f63af66 Bug 1280267 - Open a browser content toolbox matching the current tab process. r=jryans
MozReview-Commit-ID: EifO2RaNqg0
2016-09-07 06:48:42 -07:00
Alexandre Poirot 35acaa9d89 Bug 1298082 - Replace toolbox.frame usages with equivalents around toolbox.win. r=jryans
MozReview-Commit-ID: ClpBWEZbKq1
2016-08-30 06:42:25 -07:00
Julian Descottes dfd3d00d61 Bug 1295610 - Migrate devtools/client/framework to use l10n.js instead of Services.string;r=tromey
MozReview-Commit-ID: BwcfFPf85hu
2016-08-19 20:02:15 +02:00
Philipp Kewisch 8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Tom Tromey 474aade274 Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK
2016-06-09 09:04:58 -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 65233c11ad Bug 1265599 - Fix gcli toolbox button status when toolbox goes on and off. r=jwalker 2016-05-03 09:06:30 -07:00
Alexandre Poirot f30d07db9d Bug 1261920 - Register developer button dynamically. r=jryans,gijs 2016-04-12 13:05:36 -07:00
Alexandre Poirot 1dd77421e8 Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Alexandre Poirot a39964307e Bug 1258985 - Remove menuitem and pref related to the "Error Console". r=jryans 2016-04-05 07:16:48 -07:00
Alexandre Poirot 433e5b03a7 Bug 1248603 - Register devtools menuitems dynamically. r=gijs,jryans 2016-04-01 05:49:00 -07:00
Alexandre Poirot 2935b94d13 Bug 1248603 - Factor out menu and shortcut creation to dedicated module. r=jryans 2016-04-01 05:49:00 -07:00
Alexandre Poirot 27145f22af Bug 1247203 - Cleanup relations between main client module and devtools-browser. r=jryans 2016-04-01 05:48:59 -07:00
Alexandre Poirot 1506ae6119 Bug 1247203 - Move telemetry ping from gDevTools to gDevToolsBrowser. r=jryans 2016-03-04 07:51:12 -08:00
Jan Keromnes fc40bb05d7 Bug 1239317 - Add a Service Workers entry to the Web Developer menu. r=jryans 2016-03-03 09:47:59 -06:00
Alexandre Poirot 5c982f6874 Bug 1248600 - Remove registerBrowserWindow/forgetBrowserWindow calls from /browser/. r=jryans 2016-02-24 02:06:42 -08:00
Wes Kocher e473baded6 Backed out changeset 3b17489c9d98 (bug 1248600) for ESLint failures 2016-02-22 09:27:04 -08:00
Alexandre Poirot a6e6c4cd80 Bug 1248600 - Remove registerBrowserWindow/forgetBrowserWindow calls from /browser/. r=jryans 2016-02-22 06:57:15 -08:00
Alexandre Poirot f10206d1f9 Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).

--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-10 02:34:59 -08:00