Commit Graph

57 Commits

Author SHA1 Message Date
Kumar McMillan
7814d5af7a Bug 1246030 - Allow reloading an add-on in about:debugging. r=ochameau
MozReview-Commit-ID: Lh2iwPgmlhU

--HG--
extra : transplant_source : %D4zhF%D7F%CA%07UIC%E8yB%E05%7B%EB%F6t
2016-03-31 12:01:02 -05:00
Carsten "Tomcat" Book
053055083c Backed out changeset 159d0cb3c2c3 (bug 1246030) for timeouts in browser_addons_debugging_initial_state.js 2016-04-15 06:56:26 +02:00
Kumar McMillan
49d9386a33 Bug 1246030 - Allow reloading an add-on in about:debugging. r=ochameau
MozReview-Commit-ID: Lh2iwPgmlhU

--HG--
extra : rebase_source : 0b9979f4a0f0b5e29f2da5d4a666ef423803143d
2016-03-31 12:01:02 -05:00
Andrew Swan
6365b51bff Bug 1263687 - Log add-on temporary install errors. r=ochameau
MozReview-Commit-ID: BlmLToQxUTr

--HG--
extra : transplant_source : %F5w%A7%60%7E_I%3D%FEC%AE%AB%EA%AD%904%93%9A%048
2016-04-12 10:02:07 -07:00
Patrick Brosset
2370f09cb0 Bug 1264063 - 1 - Disable prop-types eslint rule and fix sort-comp errors; r=ochameau
MozReview-Commit-ID: 26NMWUWiKdi

--HG--
extra : rebase_source : f8ab2c769c2e9a85bb6c2c5490e1ff0a4a59a6e0
extra : histedit_source : 24167a4663762206efced519364edafafd514d9e
2016-04-13 10:24:48 +02:00
Alexandre Poirot
60ca9210b8 Bug 1261055 - Test addon toolbox console. r=janx 2016-04-12 13:05:36 -07:00
Alexandre Poirot
966698b70a Bug 1261055 - Always assert DOM when installing/uninstalling addons. r=janx 2016-04-12 13:05:36 -07:00
Ryan VanderMeulen
6452ecced6 Bug 1258902 - Fix a typo that caused the newly-added test to be skipped (and re-enabled a frequently-failing one). 2016-04-09 23:56:30 -04:00
Dave Townsend
fc4c4ab84a Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94

--HG--
extra : rebase_source : e6db0fd0ef477cd4fd2196b1036783f0974c586b
extra : histedit_source : 03eea033884969cc2a340316377318b0487ebdf2
2016-04-05 11:31:19 -07:00
Andrew Swan
476890d221 Bug 1231128 - Display errors when temporary add-on install fails. r=ochameau
MozReview-Commit-ID: BG81hWHLGQ2

--HG--
extra : amend_source : 1c6ba2bd1212a8cfaae78d38e4e7cf51f857e8d0
extra : transplant_source : %7Dv%2B%B0%D8%E3n%BF%B0%F2%AE%D2E%D9%A6%F4%FAJ%91%97
2016-03-31 20:53:17 -07:00
Julian Descottes
473a281ead Bug 1258902 - part2: create service-worker-target component;r=janx
Also added a new utility module aboutdebugging/modules/worker.js
to extract the worker related logic that does not belong in components.

MozReview-Commit-ID: LvArq5cdMtT

--HG--
extra : rebase_source : 954e77463e34a6961dd657d796c4e5ea5216aee8
2016-04-06 16:37:43 +02:00
Julian Descottes
e602e0d3d1 Bug 1258902 - part1:add service worker unregister link in about:debugging;r=janx
MozReview-Commit-ID: A8p602S4JgV

--HG--
extra : rebase_source : 1ab26dd758328ca3b6d4523e6e51a0965525f602
2016-04-06 16:37:35 +02:00
Jan Keromnes
b28f45e73c Bug 1257873 - Split Addons and Workers into separate Target classes in about:debugging. r=ochameau
--HG--
rename : devtools/client/aboutdebugging/components/target.js => devtools/client/aboutdebugging/components/worker-target.js
extra : histedit_source : 491a2f2466fca9d0a2a208264cee679ff1b57577
2016-03-18 09:08:00 -04:00
Kumar McMillan
967430b3e2 Bug 1256246 - Improve prompt for loading an add-on from directory. r=ochameau
MozReview-Commit-ID: oVBrMvK3nQ

--HG--
extra : rebase_source : 62bf333451a249bff1f023c1fea794f93c7fbad4
2016-03-14 15:23:44 +01:00
Jordan Santell
afb1708698 Bug 1251033 - Part 1 - BrowserLoader now has an option to only load shared components and not require an additional directory. r=jryans 2016-03-08 19:19:09 -08:00
Ryan VanderMeulen
1f49ee764c Bug 1232931 - Skip browser_service_workers_timeout.js for frequent failures across all platforms. 2016-03-05 22:31:05 -05:00
Jan Keromnes
ed60aaa7d6 Bug 1239317 - Add a Service Workers entry to the Web Developer menu. r=jryans 2016-03-03 09:47:59 -06:00
Jan Keromnes
bb3b08b6d8 Bug 1239705 - Add a 'Start' button for service workers in about:debugging. r=ochameau 2016-03-03 09:47:23 -06:00
Wes Kocher
d4bc23e4dd Merge inbound to m-c a=merge
MozReview-Commit-ID: B0yZpi7wa4I
2016-03-01 15:19:25 -08:00
Ehsan Akhgari
119e7f4cad Bug 1232029 - Set some prefs that some tests rely on explicitly; r=bkelly 2016-03-01 10:09:06 -05:00
Julian Descottes
64dfb85e35 Bug 1207997 - about:debugging use factories/dom helpers instead of createElement;r=janx
Make about:debugging code less verbose:
- use component factories to avoid having to remove calls to createElement
- use React.DOM helpers
- components only module.export their class
  (require('my-component.js').MyComponent -> require('my-component.js'))

MozReview-Commit-ID: CBWLgcPUkMf

--HG--
extra : rebase_source : 8e3184bf82ad1b59d65bf0e94cc2f4662db856bd
2016-02-21 01:58:00 +01:00
Jan Keromnes
f38239f17f Bug 1209699 - Add a 'Push' button for service workers in about:debugging. r=jdescottes 2016-02-29 03:20:00 +01:00
Julian Descottes
b84da33d51 Bug 1250002 - part2: about:debugging switch to browserLoader;r=ochameau
MozReview-Commit-ID: G4O19TOTWOy

--HG--
extra : rebase_source : 444aa09b859bd2ef04856dc0db4ca52bc05e7906
2016-02-23 02:00:51 +01:00
Jan Keromnes
eb7e62b31c Bug 1212797 - Show all registered service workers in about:debugging. r=ochameau 2016-02-24 06:30:00 +01:00
Julian Descottes
fa3929d2ec Bug 1227137 - aboutdebugging: addons debugging enabled only if remote dbg is true;r=ochameau
MozReview-Commit-ID: 8NmLIM87bcb

--HG--
extra : rebase_source : 0d50bda89b7d90acbc9b4bc612b08ff479280bfb
extra : amend_source : 929374611cd3f6457f0db33fd1c50dc79f1d2385
2016-02-16 12:12:38 +01:00
Julian Descottes
849ebd468a Bug 1249585 - Rename about:debugging components s/Component//g. r=janx
MozReview-Commit-ID: KETabxbUXhE

--HG--
rename : devtools/client/aboutdebugging/components/addons.js => devtools/client/aboutdebugging/components/addons-tab.js
rename : devtools/client/aboutdebugging/components/workers.js => devtools/client/aboutdebugging/components/workers-tab.js
extra : rebase_source : 7d7a79167161e507084f540b0cf119f1dd28718e
2016-02-21 22:59:12 +01:00
Julian Descottes
9efe5908ba Bug 1245029 - aboutdebugging full react refactor part2;r=janx,ochameau
MozReview-Commit-ID: 64V5vGn2889

--HG--
rename : devtools/client/aboutdebugging/aboutdebugging.js => devtools/client/aboutdebugging/components/aboutdebugging.js
rename : devtools/client/aboutdebugging/aboutdebugging.js => devtools/client/aboutdebugging/initializer.js
extra : rebase_source : a5431fe3d7826105a3808b92a66b4f1486fb3d77
extra : source : 2418d089253ddc4e79bed1d19911a490665fc5e6
2016-02-18 19:49:59 +01:00
Julian Descottes
ed31367b39 Bug 1245029 - aboutdebugging full react refactor part1;r=janx,ochameau
React refactor part1 : refactor addons and workers panels as react components

MozReview-Commit-ID: GYabZqMyX4L

--HG--
extra : rebase_source : 8fbb99705f99d1a58c81161811006cb6cee17a7e
2016-02-04 21:58:02 +01:00
Alexandre Poirot
51759742d1 Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Joe Whitfield-Seed
135346b144 Bug 1245496 - Fix eslint errors in about:debugging. r=janx 2016-02-04 20:10:08 +00:00
Julian Descottes
19ab101cda Bug 1227135 - about:debugging : disable debug buttons if addons debugging disabled;r=ochameau
When a preference impacting about:debugging changes, the current tab will be rendered
again. Each "target" is responsible for checking if Debugging should be allowed.
If not, the debug button should be disabled. Currently only extensions/addons
can be disabled, depending on the value of the "devtools.chrome.enabled" preference

Adds a mochitest checking this scenario.

--HG--
extra : commitid : 9u3zEZONyBG
2016-01-29 00:13:48 +01:00
Alexandre Poirot
5e0d485465 Bug 1239276 - Convert DebuggerClient.connect to promise. r=jryans 2016-01-28 10:11:31 -08:00
Jan Keromnes
6d0cc0097e Bug 1242469 - Remove the "Enable worker debugging (in development)" checkbox from about:debugging. r=ochameau 2016-01-25 07:06:00 +01:00
Alexandre Poirot
33d48a3bb6 Bug 1232931: Wait for service worker registration before attaching a toolbox to it. r=janx 2016-01-25 06:06:47 -08:00
Alexandre Poirot
9df99e3b76 Bug 1232931 - Allow running browser_service_workers_timeout.js more than once. r=janx 2016-01-20 14:09:26 -08:00
Alexandre Poirot
aff2effa69 Bug 1228382 - Keep service worker alive when attaching to them. r=janx,ejpbruel 2015-12-15 03:10:53 -08:00
Patrick Brosset
b9206ee742 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop
--HG--
extra : commitid : F4M9s89to3Y
extra : rebase_source : 768a99038b43f548d8e0f88248d1be1fe7e5c579
extra : histedit_source : 619e1e7f909a09a7f5731ad8cef9e9a714d76b5e%2Ca78d84e263764af29e9e9e42f419f8189b223d8c
2015-12-10 15:46:32 -05:00
Alexandre Poirot
a23af9df7a Bug 1225473 - Cleanup DebuggerClient on about:debugging close and fetch only the target of the currently opened tab. r=janx 2015-12-03 06:42:35 -08:00
Alexandre Poirot
3c8759df7a Bug 1225473 - Support Service workers in child process. r=janx 2015-12-03 06:42:34 -08:00
Alexandre Poirot
b8b6a4dd68 Bug 1221141 - Specify absolute path to each about:debugging test file to please Windows. r=me for bustage fix on CLOSED TREE 2015-11-25 21:31:28 +01:00
Alexandre Poirot
5cf2eb0e19 Bug 1221141 - Support installing addon from local directory in about:debugging. r=janx
--HG--
rename : devtools/client/locales/en-US/aboutdebugging.properties => devtools/client/aboutdebugging/moz.build
2015-11-25 07:54:26 -08:00
Alexandre Poirot
5be55f54e9 Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx 2015-11-25 07:54:25 -08:00
Alexandre Poirot
6de54e2a61 Bug 1226185 - Fix preferences listener leak in about:debugging. r=janx 2015-11-25 07:54:25 -08:00
Jan Keromnes
a0b96e029d Bug 1209581 - Use the cool new about:debugging icons. r=jryans 2015-11-15 05:59:00 +01:00
J. Ryan Stinnett
5d6812e289 Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.

--HG--
rename : browser/locales/en-US/chrome/browser/devtools/VariablesView.dtd => devtools/client/locales/en-US/VariablesView.dtd
rename : browser/locales/en-US/chrome/browser/devtools/aboutdebugging.dtd => devtools/client/locales/en-US/aboutdebugging.dtd
rename : browser/locales/en-US/chrome/browser/devtools/aboutdebugging.properties => devtools/client/locales/en-US/aboutdebugging.properties
rename : browser/locales/en-US/chrome/browser/devtools/animationinspector.dtd => devtools/client/locales/en-US/animationinspector.dtd
rename : browser/locales/en-US/chrome/browser/devtools/animationinspector.properties => devtools/client/locales/en-US/animationinspector.properties
rename : browser/locales/en-US/chrome/browser/devtools/app-manager.properties => devtools/client/locales/en-US/app-manager.properties
rename : browser/locales/en-US/chrome/browser/devtools/appcacheutils.properties => devtools/client/locales/en-US/appcacheutils.properties
rename : browser/locales/en-US/chrome/browser/devtools/canvasdebugger.dtd => devtools/client/locales/en-US/canvasdebugger.dtd
rename : browser/locales/en-US/chrome/browser/devtools/canvasdebugger.properties => devtools/client/locales/en-US/canvasdebugger.properties
rename : browser/locales/en-US/chrome/browser/devtools/connection-screen.dtd => devtools/client/locales/en-US/connection-screen.dtd
rename : browser/locales/en-US/chrome/browser/devtools/connection-screen.properties => devtools/client/locales/en-US/connection-screen.properties
rename : browser/locales/en-US/chrome/browser/devtools/debugger.dtd => devtools/client/locales/en-US/debugger.dtd
rename : browser/locales/en-US/chrome/browser/devtools/debugger.properties => devtools/client/locales/en-US/debugger.properties
rename : browser/locales/en-US/chrome/browser/devtools/device.properties => devtools/client/locales/en-US/device.properties
rename : browser/locales/en-US/chrome/browser/devtools/eyedropper.properties => devtools/client/locales/en-US/eyedropper.properties
rename : browser/locales/en-US/chrome/browser/devtools/filterwidget.dtd => devtools/client/locales/en-US/filterwidget.dtd
rename : browser/locales/en-US/chrome/browser/devtools/filterwidget.properties => devtools/client/locales/en-US/filterwidget.properties
rename : browser/locales/en-US/chrome/browser/devtools/font-inspector.dtd => devtools/client/locales/en-US/font-inspector.dtd
rename : browser/locales/en-US/chrome/browser/devtools/graphs.properties => devtools/client/locales/en-US/graphs.properties
rename : browser/locales/en-US/chrome/browser/devtools/har.properties => devtools/client/locales/en-US/har.properties
rename : browser/locales/en-US/chrome/browser/devtools/inspector.dtd => devtools/client/locales/en-US/inspector.dtd
rename : browser/locales/en-US/chrome/browser/devtools/inspector.properties => devtools/client/locales/en-US/inspector.properties
rename : browser/locales/en-US/chrome/browser/devtools/jsonview.properties => devtools/client/locales/en-US/jsonview.properties
rename : browser/locales/en-US/chrome/browser/devtools/layoutview.dtd => devtools/client/locales/en-US/layoutview.dtd
rename : browser/locales/en-US/chrome/browser/devtools/markers.properties => devtools/client/locales/en-US/markers.properties
rename : browser/locales/en-US/chrome/browser/devtools/memory.properties => devtools/client/locales/en-US/memory.properties
rename : browser/locales/en-US/chrome/browser/devtools/netmonitor.dtd => devtools/client/locales/en-US/netmonitor.dtd
rename : browser/locales/en-US/chrome/browser/devtools/netmonitor.properties => devtools/client/locales/en-US/netmonitor.properties
rename : browser/locales/en-US/chrome/browser/devtools/performance.dtd => devtools/client/locales/en-US/performance.dtd
rename : browser/locales/en-US/chrome/browser/devtools/performance.properties => devtools/client/locales/en-US/performance.properties
rename : browser/locales/en-US/chrome/browser/devtools/projecteditor.properties => devtools/client/locales/en-US/projecteditor.properties
rename : browser/locales/en-US/chrome/browser/devtools/promisedebugger.dtd => devtools/client/locales/en-US/promisedebugger.dtd
rename : browser/locales/en-US/chrome/browser/devtools/promisedebugger.properties => devtools/client/locales/en-US/promisedebugger.properties
rename : browser/locales/en-US/chrome/browser/devtools/responsiveUI.properties => devtools/client/locales/en-US/responsiveUI.properties
rename : browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd => devtools/client/locales/en-US/scratchpad.dtd
rename : browser/locales/en-US/chrome/browser/devtools/scratchpad.properties => devtools/client/locales/en-US/scratchpad.properties
rename : browser/locales/en-US/chrome/browser/devtools/shadereditor.dtd => devtools/client/locales/en-US/shadereditor.dtd
rename : browser/locales/en-US/chrome/browser/devtools/shadereditor.properties => devtools/client/locales/en-US/shadereditor.properties
rename : browser/locales/en-US/chrome/browser/devtools/shared.properties => devtools/client/locales/en-US/shared.properties
rename : browser/locales/en-US/chrome/browser/devtools/sourceeditor.dtd => devtools/client/locales/en-US/sourceeditor.dtd
rename : browser/locales/en-US/chrome/browser/devtools/sourceeditor.properties => devtools/client/locales/en-US/sourceeditor.properties
rename : browser/locales/en-US/chrome/browser/devtools/storage.properties => devtools/client/locales/en-US/storage.properties
rename : browser/locales/en-US/chrome/browser/devtools/styleeditor.dtd => devtools/client/locales/en-US/styleeditor.dtd
rename : browser/locales/en-US/chrome/browser/devtools/styleeditor.properties => devtools/client/locales/en-US/styleeditor.properties
rename : browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd => devtools/client/locales/en-US/styleinspector.dtd
rename : browser/locales/en-US/chrome/browser/devtools/tilt.properties => devtools/client/locales/en-US/tilt.properties
rename : browser/locales/en-US/chrome/browser/devtools/toolbox.dtd => devtools/client/locales/en-US/toolbox.dtd
rename : browser/locales/en-US/chrome/browser/devtools/toolbox.properties => devtools/client/locales/en-US/toolbox.properties
rename : browser/locales/en-US/chrome/browser/devtools/webConsole.dtd => devtools/client/locales/en-US/webConsole.dtd
rename : browser/locales/en-US/chrome/browser/devtools/webaudioeditor.dtd => devtools/client/locales/en-US/webaudioeditor.dtd
rename : browser/locales/en-US/chrome/browser/devtools/webaudioeditor.properties => devtools/client/locales/en-US/webaudioeditor.properties
rename : browser/locales/en-US/chrome/browser/devtools/webconsole.properties => devtools/client/locales/en-US/webconsole.properties
rename : browser/locales/en-US/chrome/browser/devtools/webide.dtd => devtools/client/locales/en-US/webide.dtd
rename : browser/locales/en-US/chrome/browser/devtools/webide.properties => devtools/client/locales/en-US/webide.properties
rename : toolkit/locales/en-US/chrome/global/devtools/csscoverage.dtd => devtools/shared/locales/en-US/csscoverage.dtd
rename : toolkit/locales/en-US/chrome/global/devtools/csscoverage.properties => devtools/shared/locales/en-US/csscoverage.properties
rename : toolkit/locales/en-US/chrome/global/devtools/debugger.properties => devtools/shared/locales/en-US/debugger.properties
rename : toolkit/locales/en-US/chrome/global/devtools/gcli.properties => devtools/shared/locales/en-US/gcli.properties
rename : toolkit/locales/en-US/chrome/global/devtools/gclicommands.properties => devtools/shared/locales/en-US/gclicommands.properties
rename : toolkit/locales/en-US/chrome/global/devtools/styleinspector.properties => devtools/shared/locales/en-US/styleinspector.properties
extra : commitid : 8hcm3tr7AAi
2015-11-04 15:35:53 -06:00
Jan Keromnes
9f82ed620a Bug 1220243 - Require react without the resource:// in about:debugging. r=jryans 2015-10-30 11:42:00 +01:00
Jan Keromnes
986c70133b Bug 1204601 - Add open/close telemetry to about:debugging. r=jryans p=vladan 2015-10-27 09:42:00 +01:00
Tim Nguyen
106e9c6be5 Bug 1169679 - Update add-on manager entry design to match in-content prefs styling. r=dao 2015-10-29 12:00:49 +01:00
Ryan VanderMeulen
931e0dee49 Backed out changesets fb30635f0652 and a91f6ca882f2 (bug 1169679) for being the likely cause of OSX 10.10 mochitest-bc failures. 2015-10-23 17:39:16 -04:00
Tim Nguyen
baf8a37c35 Bug 1169679 - Update add-on manager entry design to match in-content prefs styling. r=dao
--HG--
extra : rebase_source : 9007a842ed011e4257600c43c0cc47c3f6d647f6
2015-10-22 07:28:00 -04:00