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

885 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 1c5534b4d8 Bug 1446222 - Move DevTools frame startup to new dir. r=jdescottes
Move and rename the server's frame script that starts DevTools in remote frames
from `child.js` to `startup/frame.js`.  `connectToChild` also becomes the more
generic `connectToFrame`.  A few b2g-isms like "app" are also removed.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: El8a0OE99gZ

--HG--
rename : devtools/server/child.js => devtools/server/startup/frame.js
rename : devtools/server/tests/mochitest/test_connectToChild.html => devtools/server/tests/mochitest/test_connectToFrame.html
extra : rebase_source : 2735c53587257b215d720204cf7c4581088eba42
2018-03-19 18:53:46 -05:00
Julian Descottes fbff1da2a5 Bug 1444926 - Remove mentions of DevTools addon or DevTools moving to GitHub;r=ochameau
MozReview-Commit-ID: GZwMXU9n0k

--HG--
extra : rebase_source : 394a4567ed85044b190d9ea8e805fb3aaae9bf11
2018-03-20 15:52:54 +01:00
Julian Descottes 0846848648 Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau
MozReview-Commit-ID: K9WuJuTdYHS

--HG--
rename : devtools/shim/DevToolsShim.jsm => devtools/startup/DevToolsShim.jsm
rename : devtools/shim/aboutdebugging-registration.js => devtools/startup/aboutdebugging-registration.js
rename : devtools/shim/aboutdebugging.manifest => devtools/startup/aboutdebugging.manifest
rename : devtools/shim/aboutdevtools/aboutdevtools-registration.js => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/shim/aboutdevtools/aboutdevtools.css => devtools/startup/aboutdevtools/aboutdevtools.css
rename : devtools/shim/aboutdevtools/aboutdevtools.js => devtools/startup/aboutdevtools/aboutdevtools.js
rename : devtools/shim/aboutdevtools/aboutdevtools.manifest => devtools/startup/aboutdevtools/aboutdevtools.manifest
rename : devtools/shim/aboutdevtools/aboutdevtools.xhtml => devtools/startup/aboutdevtools/aboutdevtools.xhtml
rename : devtools/shim/aboutdevtools/images/dev-edition-logo.svg => devtools/startup/aboutdevtools/images/dev-edition-logo.svg
rename : devtools/shim/aboutdevtools/images/external-link.svg => devtools/startup/aboutdevtools/images/external-link.svg
rename : devtools/shim/aboutdevtools/images/feature-console.svg => devtools/startup/aboutdevtools/images/feature-console.svg
rename : devtools/shim/aboutdevtools/images/feature-debugger.svg => devtools/startup/aboutdevtools/images/feature-debugger.svg
rename : devtools/shim/aboutdevtools/images/feature-inspector.svg => devtools/startup/aboutdevtools/images/feature-inspector.svg
rename : devtools/shim/aboutdevtools/images/feature-memory.svg => devtools/startup/aboutdevtools/images/feature-memory.svg
rename : devtools/shim/aboutdevtools/images/feature-network.svg => devtools/startup/aboutdevtools/images/feature-network.svg
rename : devtools/shim/aboutdevtools/images/feature-performance.svg => devtools/startup/aboutdevtools/images/feature-performance.svg
rename : devtools/shim/aboutdevtools/images/feature-responsive.svg => devtools/startup/aboutdevtools/images/feature-responsive.svg
rename : devtools/shim/aboutdevtools/images/feature-storage.svg => devtools/startup/aboutdevtools/images/feature-storage.svg
rename : devtools/shim/aboutdevtools/images/feature-visualediting.svg => devtools/startup/aboutdevtools/images/feature-visualediting.svg
rename : devtools/shim/aboutdevtools/images/otter.svg => devtools/startup/aboutdevtools/images/otter.svg
rename : devtools/shim/aboutdevtools/moz.build => devtools/startup/aboutdevtools/moz.build
rename : devtools/shim/aboutdevtools/subscribe.css => devtools/startup/aboutdevtools/subscribe.css
rename : devtools/shim/aboutdevtools/subscribe.js => devtools/startup/aboutdevtools/subscribe.js
rename : devtools/shim/aboutdevtools/test/.eslintrc.js => devtools/startup/aboutdevtools/test/.eslintrc.js
rename : devtools/shim/aboutdevtools/test/browser.ini => devtools/startup/aboutdevtools/test/browser.ini
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_closes_page.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_closes_page.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_enables_devtools.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_enables_devtools.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_focus_owner_tab.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_focus_owner_tab.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_reuse_existing.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_reuse_existing.js
rename : devtools/shim/aboutdevtools/test/head.js => devtools/startup/aboutdevtools/test/head.js
rename : devtools/shim/aboutdevtoolstoolbox-registration.js => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/shim/aboutdevtoolstoolbox.manifest => devtools/startup/aboutdevtoolstoolbox.manifest
rename : devtools/shim/devtools-startup-prefs.js => devtools/startup/devtools-startup-prefs.js
rename : devtools/shim/devtools-startup.js => devtools/startup/devtools-startup.js
rename : devtools/shim/devtools-startup.manifest => devtools/startup/devtools-startup.manifest
rename : devtools/shim/jar.mn => devtools/startup/jar.mn
rename : devtools/shim/locales/en-US/aboutdevtools.dtd => devtools/startup/locales/en-US/aboutdevtools.dtd
rename : devtools/shim/locales/en-US/aboutdevtools.properties => devtools/startup/locales/en-US/aboutdevtools.properties
rename : devtools/shim/locales/en-US/key-shortcuts.properties => devtools/startup/locales/en-US/key-shortcuts.properties
rename : devtools/shim/locales/en-US/startup.properties => devtools/startup/locales/en-US/startup.properties
rename : devtools/shim/locales/jar.mn => devtools/startup/locales/jar.mn
rename : devtools/shim/locales/moz.build => devtools/startup/locales/moz.build
rename : devtools/shim/moz.build => devtools/startup/moz.build
rename : devtools/shim/tests/browser/.eslintrc.js => devtools/startup/tests/browser/.eslintrc.js
rename : devtools/shim/tests/browser/browser.ini => devtools/startup/tests/browser/browser.ini
rename : devtools/shim/tests/browser/browser_shim_disable_devtools.js => devtools/startup/tests/browser/browser_shim_disable_devtools.js
rename : devtools/shim/tests/unit/.eslintrc.js => devtools/startup/tests/unit/.eslintrc.js
rename : devtools/shim/tests/unit/test_devtools_shim.js => devtools/startup/tests/unit/test_devtools_shim.js
rename : devtools/shim/tests/unit/xpcshell.ini => devtools/startup/tests/unit/xpcshell.ini
extra : rebase_source : 7867a5b103d01dc936091a71deeaf526e7f0e47a
2018-03-12 14:41:48 +01:00
Julian Descottes f960ea774c Bug 1447154 - Use AppConstants.jsm instead of devtools/shared/system to get constants;r=jryans,nchevobbe
devtools/shared/system is a complex module retrieving details device/platform
information. Modules that only need to get AppConstants should not pull down
such a complex dependency.

MozReview-Commit-ID: 2FmCO8nBSpP

--HG--
rename : devtools/client/shared/webpack/shims/system-stub.js => devtools/client/shared/webpack/shims/app-constants-stub.js
extra : rebase_source : 0ec5e4d320c8b1543d5fe579d8adf51c5fa4286d
2018-03-19 22:18:20 +01:00
Jason Laster d421a4b0b5 Bug 1447682 - Update Debugger Frontend v26. r=jdescottes 2018-03-22 14:16:36 -04:00
Nicolas Chevobbe 5789c8f4fa Bug 1382581 - Remove old-event-emitter usage from devtools/client/framework; r=bgrins.
MozReview-Commit-ID: 4oQJ3391H9S

--HG--
extra : rebase_source : b7068d3b50cec893cb8b1e1b7ab49f37a13723bd
2018-03-14 17:31:12 +01:00
J. Ryan Stinnett cde9722687 Bug 1444497 - Track UI entry point for RDM. r=jdescottes
MozReview-Commit-ID: Jc8uXAXlGVf

--HG--
extra : rebase_source : 561c3f7d4c6a8c42d0aa4c64e3ce6b46799da1d2
2018-03-13 14:52:34 -05:00
shindli 9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Andreea Pavel 363ad2007d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +02:00
Brian Grinstead 8c4db27eb0 Bug 1445772 - Don't worry about binding console methods to the console object r=jryans
This isn't needed since Console is an interface and not an object

MozReview-Commit-ID: ZoIo2TS9QL

--HG--
extra : rebase_source : 7ccb86dd4290e5d7ac829cab6dcf2f9548d89f11
2018-03-14 14:33:47 -07:00
Sebastian Hengst a8baef8f97 Bug 1430088 - Disable browser_all_files_referenced.js also for devtools tests. r=florian
--HG--
extra : rebase_source : 1d7be99804794fad84aa016353c58cb9cc1412f1
2018-03-14 22:04:20 +02:00
Michael Ratcliffe eff23d6ce5 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : ff29ac3f0da6588af43e33944f7253bc840b6d3a
2018-03-09 15:36:45 +00:00
Dorel Luca 714a558c3e Backed out changeset ae1924aff61b (bug 1443457) as requested by developer
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_devtools_loader_exception.js => devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js
2018-03-14 12:35:38 +02:00
Michael Ratcliffe 0768cc918d Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : 05383e5f371fd0618592370ee9429cfaab2509ff
2018-03-09 15:36:45 +00:00
Coroiu Cristina ca38cdb64e Backed out changeset 2c8540f7800f (bug 1443457) for ESlint failure at /builds/worker/checkouts/gecko/devtools/server/tests/mochitest/test_getProcess.html
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_devtools_loader_exception.js => devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js
2018-03-14 11:41:12 +02:00
Michael Ratcliffe f524ac8d63 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : 05383e5f371fd0618592370ee9429cfaab2509ff
2018-03-09 15:36:45 +00:00
Alexandre Poirot bcf6facc3c 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
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Mike Ratcliffe 433831a0ec Bug 1416024 - Patch 1: Record event for toolbox open/close r=yulia
MozReview-Commit-ID: 9YI0Bv6Q8gG

--HG--
extra : rebase_source : 0ebb1120204ac241cd2e978c926857a903d1dde2
2018-03-22 16:54:15 +00:00
J. Ryan Stinnett 36cd8d6903 Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB

--HG--
extra : rebase_source : 7056bbf9fcd76ffe00015119d811db0bd788aa59
2018-03-08 18:14:52 -06:00
Luca Greco a7b7f06441 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm

--HG--
extra : rebase_source : d45591793484ad916c2e3312818700e9db628abe
2018-02-19 18:00:35 +01:00
J. Ryan Stinnett d56f6a7b1f Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : 8c4d77c37cacdae36d17102b4dbf1222ec1fbd8a
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett c6cf60a39f Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM

--HG--
extra : rebase_source : e70b29153ef8d96d7026bc3abd0fb0d2306849bc
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett 724f46419e Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : c6f6cd75a9c1a5349f8406f337c9c39f2f755dab
2018-03-02 19:14:05 -06:00
Cosmin Sabou 0bc675f657 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)

--HG--
rename : devtools/client/shared/test/shared-head.js => devtools/client/framework/test/shared-head.js
rename : devtools/client/shared/test/shared-redux-head.js => devtools/client/framework/test/shared-redux-head.js
rename : devtools/client/shared/test/frame-script-utils.js => devtools/client/shared/frame-script-utils.js
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett a5ba5726ef Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : cb18b88016df8bc7fba1620534beed473ebb406a
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett 7d61e3b235 Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM

--HG--
extra : rebase_source : d00f578d7c9078088be8c33ad80eb30a59d6a6e8
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett 5ff93bf9fd Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : 58e35632f0a82b0d7e880b0297306500097676e3
2018-03-02 19:14:05 -06:00
yulia 14627be8a8 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79

--HG--
extra : rebase_source : 242b560f9e675bcda84ff0f566a67ecde54e9475
2018-03-07 10:17:03 +01:00
Nicolas Chevobbe 56166f1711 Bug 1382604 - Remove old-event-emitter usage from scratchpad; r=jryans.
Usage was removed from devtools/client/framework/sidebar as well since it emits
events with the parent component.

MozReview-Commit-ID: 24LLmnSZ89I

--HG--
extra : rebase_source : 3ede287d862c80817fe4767e8d029dda26cbb58b
2018-03-05 10:45:55 +01:00
Nicolas Chevobbe aca904dd7c Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
MozReview-Commit-ID: 3B3slS3EPYn

--HG--
extra : rebase_source : 60bf49cfd4f620ee20aa577fd15168db48b2ff2d
2018-02-27 09:06:56 +01:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brendan Dahl f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Brian Grinstead 97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Marco Zehe 60d93b5c04 Bug 1439897 - Give the toolbox toolbar a proper role and label for accessibility, r=bgrins
MozReview-Commit-ID: 9Bc7RDNZ03m

--HG--
extra : rebase_source : e891423dd7c89cb5cc8b5e007519943276038cf2
2018-02-23 15:59:50 +01:00
Michael Ratcliffe 9f797a66bf Bug 1441113 - Can only update a mounted or mounting component when closing Memory Tool r=nchevobbe
The onclick handler of the toolbox close button looked like this... spot the deliberate mistake:

```
onClick: () => {
  closeToolbox();
  focusButton(closeButtonId);
},
```

So we were closing the toolbox and then trying to focus the toolbox's close button.

There is also an obvious race condition with setState inside the toolbox controller not using a callback even though the next line calls a function that uses this.state, which could cause intermittent issues.

MozReview-Commit-ID: 9VRcZw4RvE5

--HG--
extra : rebase_source : 17c21aafe5a72042c23472342c53fd730784a5ae
2018-02-26 11:59:23 +00:00
Michael Ratcliffe 1a67e265c1 Bug 1439673 - Fix React 16 warnings r=nchevobbe
I believe this fixes all warnings except for one. This warning appears the first time the memory panel is selected:
"Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types
    in MemoryApp (created by Connect(MemoryApp))
    in Connect(MemoryApp) (created by bound createElementWithValidation)
    in bound createElementWithValidation
    in Provider"

This appears to be an issue with `devtools/client/memory/app.js` but I will log a new bug for this.

MozReview-Commit-ID: 341zdQyfgrN

--HG--
extra : rebase_source : ce25569407b89a7547e4db688373b202d17d2475
2018-02-21 20:34:19 +00:00
Gurzau Raul 6ef84d63ec Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Kris Maglione 72c0eaf14a Bug 1455176: Follow-up: Fix devtools bustage in more straggler tests that still use Task global. r=bustage
MozReview-Commit-ID: 9GzKdRlUXup

--HG--
extra : rebase_source : db252c594d8109da077ce99ad17834ae998db89c
2018-04-19 17:02:49 -07:00
Marco Zehe 63c70d89f6 Bug 1439899 - Make the button for the active developer tool distinguishable for accessibility, r=bgrins
To accomplish this, the added aria-pressed attribute turns the buttons into toggle buttons, and the one that is visually selected, gets the "true" attribute value, others are "false". That way, the screen reader and other assistive technologies will indicate that this is the selected or pressed button.

MozReview-Commit-ID: L2lcw2wOyYw

--HG--
extra : rebase_source : 1c0ad241319f50c34c120ce05b85e795e9a5b080
2018-02-23 16:04:48 +01:00
Mike de Boer a5c69d3ed0 Bug 1440670 - Make the timeout before showing the connection status in the Browser Toolbox longer and hide it whenever the connection is established. r=jryans
MozReview-Commit-ID: BeH95CstC5I

--HG--
extra : rebase_source : e4cd8de016d9511f3316fbecfd07458f594bed16
2018-02-23 15:39:50 +01:00
Brian Grinstead 89210dfc96 Bug 1438487 - Restore the Browser Toolbox using session store;r=jryans
MozReview-Commit-ID: JUbafbthojm

--HG--
extra : rebase_source : eb8f4c3d10ec60475594c43010afe7ef6088a3f2
2018-02-21 15:47:36 -08:00
J. Ryan Stinnett 85d058ffcb Bug 1438962 - Add diagnostics during Browser Toolbox startup. r=bgrins
Track connection status at various points during Browser Toolbox startup.  If
connecting takes a long time or triggers an error, the status panel is revealed
with the most recent message displayed.

MozReview-Commit-ID: H8240rv3KRe

--HG--
extra : rebase_source : 7c2c10c710095ede7d1b9c1ac87ca21bd3deb969
2018-02-21 03:22:49 -05:00
J. Ryan Stinnett 2412ca6608 Bug 1438962 - Convert Browser Toolbox window to async / await. r=bgrins
MozReview-Commit-ID: 1hLUhmoYQ7u

--HG--
extra : rebase_source : 99d4356b1bf4d9f32d0d3d941a345ecf4f9f7820
2018-02-20 09:11:46 -05:00
Jan Odvarko d0c350329f Bug 1438482 - logErrorInPage should produce an error log; r=bgrins,jryans
MozReview-Commit-ID: Ly9kDNwGthG

--HG--
extra : rebase_source : e59e9c0fca83215dd834122ec4a38591a67c5b62
2018-02-20 15:48:56 +01:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
J. Ryan Stinnett 9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Timothy Guan-tin Chien a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08:00
Alexandre Poirot 8e71d2a2f3 Bug 1438508 - Allows running brower_browser_toolbox_debugger.js more than once. r=jryans
The sandbox used in this test isn't immediately destroyed when the test finishes.
So use a unique file name to always refer to the expected sandbox/file in this debugger test.

MozReview-Commit-ID: FJYXPN0RQS2

--HG--
extra : rebase_source : 438ae8cf97bfef8bc11e86e7850b3d6d8e8f1ccc
2018-02-14 09:54:03 -08:00
Alexandre Poirot 0b75d2333d Bug 1438174 - Fix race during test shutdown in browser_browser_toolbox_debugger.js. r=jryans
The breakpoint is set in a function called every second.
We have to unregister it before test finishes, otherwise it gets randomly called during test shutdown.

MozReview-Commit-ID: IEHxnVjk1xW

--HG--
extra : rebase_source : be6cdad0d700e24f80c9e520be49ec5c9d02375b
2018-02-14 09:55:58 -08:00
Brian Grinstead 1477c8b486 Bug 1438579 - Refer to the tabbrowser element as gBrowser instead of #content;r=dao
Since gBrowser is going to become a plain JS object instead of a DOM node,
we don't want any callers directly referring to the DOM node to get ahold of it.

MozReview-Commit-ID: KbE5dlTWmS

--HG--
extra : rebase_source : ef4caea778db406205b58b9f007846dabb062978
2017-10-05 15:58:45 -07:00
Andreea Pavel 74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Yura Zenevich 7e286766a3 Bug 1428443 - allow panels to override picker functionality when they are active. r=pbro
MozReview-Commit-ID: 6VE4Y8FYfoN
2018-02-14 23:57:19 -05:00
Jan Odvarko 96233200ee Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
MozReview-Commit-ID: IymuzcUg0VN

--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Yura Zenevich 6cd058b4cd Bug 1428442 - enabling tab highlighting for more than one tool at a time. r=gregtatum
MozReview-Commit-ID: 7iMABzVuOYG
2018-02-12 22:32:42 -05:00
Alexandre Poirot 7b5702c3b8 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL

--HG--
extra : rebase_source : bfd8ad108c7859f7271f91572e63ecf625004166
2018-02-06 11:08:31 -08:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot 30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Alexandre Poirot 49d12768bc Bug 1432803 - Convert browser_keybindings_01.js to use async/await. r=Honza
MozReview-Commit-ID: LSQAQaiQI7l

--HG--
extra : rebase_source : 4b534b4e7b437b310977cbf4e16ce87f4fc93138
2018-01-25 08:32:02 -08:00
Julian Descottes 6683646ba1 Bug 1434217 - Remove unused inspector actor traits;r=bgrins
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.

MozReview-Commit-ID: 6MwUp8vbW29

--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Julian Descottes 27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes 8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
Dorel Luca 5985aa72cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-26 05:50:11 +02:00
Brian Grinstead 9f4fa59cb7 Bug 1424095 - Force off flexbox emulation in the Browser Toolbox;r=jryans
While this feature is still being worked on, it's nice if the BT is rendered
properly (there are currently issues with iframe sizing that make it hard to
use the inspector).

MozReview-Commit-ID: AULRq2N6Miv

--HG--
extra : rebase_source : b7596abe13bb8c0f5a3ea488dc84c8736614885d
2018-01-25 15:09:27 -08:00
Julian Descottes ca7cee6c2a Bug 1432842 - duplicate waitUntil() in browser toolbox test;r=jlast
MozReview-Commit-ID: 7ceTbl7DGgy

--HG--
extra : rebase_source : 21dcfc4d67a669af62777e78a1fa153d07e19b74
2018-01-25 10:40:33 +01:00
Julian Descottes f714f056d0 Bug 1272774 - migrate all listTabs() callers to use promise;r=ochameau
MozReview-Commit-ID: 9PtRZHG5GuF

--HG--
extra : rebase_source : f4c7cfd5f8338eb22fa44dc79a1e8b7840dc4e2d
2018-01-15 18:38:34 +01:00
Alexandre Poirot 3522ce42d1 Bug 1423517 - Helps tracking JS allocations when running DevTools tests. r=jdescottes
MozReview-Commit-ID: 7PWgsUyR54Q

--HG--
extra : rebase_source : d620f8b704e9da6e8ee7326715a21addeb08bd06
2017-12-06 01:36:51 -08:00
Jason Laster a73c9b96eb Bug 1431127 - Fix TypeError: panel._selectors.getPause. r=jdescottes 2018-01-18 10:51:00 -05:00
Jan Odvarko c59f2d5676 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: gUtGjbr0FQ

--HG--
extra : rebase_source : 78f837101f83d5ad455fc7e2d1f53db054cec4cc
2018-01-22 18:30:46 +01:00
Margareta Eliza Balazs 9ba236fd80 Backed out changeset 32daec7fd5b6 (bug 1311177) for bc5 failures in browser/components/extensions/test/browser/test-oop-extensions/browser_ext_devtools_network.js on a CLOSED TREE 2018-01-19 11:54:43 +02:00
Jan Odvarko e1114707d4 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: I9F4tGSwBrt

--HG--
extra : rebase_source : ce3adb6ce47e62302b29651a05276d13621679cb
2018-01-17 13:32:42 +01:00
Alexandre Poirot e1e0d5ea9e Bug 1425964 - Compute locale direction only once in the toolbox code. r=jdescottes
MozReview-Commit-ID: 1owwWecAe0g

--HG--
extra : rebase_source : aa62376b370a63635d24eb8324fb975d23753912
2018-01-11 08:09:33 -08:00
Alexandre Poirot e65ab1463e Bug 1365574 - Release event loop between react module loading and toolbox react rendering. r=pbro
MozReview-Commit-ID: D1M9n3VFdHJ

--HG--
extra : rebase_source : 400bcbb8a4984c32e9decc0877ed9ae7ce386842
2017-11-30 08:34:05 -08:00
Alexandre Poirot 6d25219f3c Bug 1425818 - Stop using CPOW in devtools/server/tests/browser/browser_canvasframe_helper_*.js. r=pbro
MozReview-Commit-ID: 70IEX3Q5iGa

--HG--
extra : rebase_source : 970990e5425eab8c5a1914fef86a4b539030b3f0
2017-12-18 02:21:41 -08:00
Florian Quèze 22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Julian Descottes 9a6ee6fff9 Bug 1241131 - Remove DevTools reload addon;r=ochameau
MozReview-Commit-ID: GCS4ZRvwUcs

--HG--
extra : rebase_source : 6669e4ca9fcf0dc89402820fb20b8b152440c011
2017-11-30 19:08:44 +01:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel 89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Brian Grinstead 1fff6ac2b7 Bug 1408949 - Always clear splitconsole height pref after each test;r=Honza
MozReview-Commit-ID: 8BxwRp19U9l

--HG--
extra : rebase_source : 8feee641b738331f0f58694fb809a25949dd1802
2017-12-01 10:36:25 -08:00
Brian Grinstead 72aa3b30aa Bug 1408949 - Remove unnecessary clearing of devtools.toolbox.splitconsoleEnabled;r=Honza
This is already cleared in shared-head.js

MozReview-Commit-ID: 7svp6ZiUqnE

--HG--
extra : rebase_source : 70788abbfc86a5838626fb5f1f17d03537c2830c
2017-12-01 10:36:22 -08:00
J. Ryan Stinnett 8d399e5975 Bug 1419592 - Use most recent panel in Browser Content Toolbox. r=ochameau
MozReview-Commit-ID: sNEVauLh0A

--HG--
extra : rebase_source : fc3976fca972bc224aee32830ec6cd0345ef0b7d
2017-11-21 17:10:05 -06:00
Julian Descottes 92392b47b7 Bug 1411565 - about:debugging connect to remote runtime using url parameters;r=ochameau
This changeset adds basic remote connection functionality to about:debugging.
About:debugging can target a remote firefox instance if the host and port
parameters are passed as URL search params.

The feature is not explicitly exposed at the moment and there is no UI to
connect an instance, and no UI feedback when connected to a remote instance.

When connected, about:debugging should correctly list tabs, workers and addons
for the target instance of Firefox. Debugging features work for all supported
targets.

Known limitations:
- preferences are read from the local Firefox instance (multiprocess, addon
  debugging etc...). At the moment the remote instance must be manually
  correctly configured

MozReview-Commit-ID: DOekSCb96XC

--HG--
extra : rebase_source : 89b73e885e50bfba4e1888f8791f637a5ba05ca7
extra : intermediate-source : 840e23f2a496e2cec280643fef127095bd67d518
extra : source : 6cc5cc4494e67ae9dd7371420710c3f8afe5b256
2017-10-23 10:15:40 +02:00
Greg Tatum 5912015212 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 22cc2826138c4891024c34947f145574f55b4541
2017-11-08 10:36:43 -06:00
Tiberius Oros e8ada3a41a Backed out changeset 36b3f7fb7d31 (bug 1408124)for chrome failures in devtools test devtools/shared/security/tests/chrome/test_websocket-transport.html r=backout on a CLOSED TREE 2017-11-28 21:47:41 +02:00
Greg Tatum bcab5cbfe4 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 4db73267d9868c4c62d2619111f875338c8e6171
2017-11-08 10:36:43 -06:00
Julian Descottes e735cf1383 Bug 1420179 - support tab argument in devtools shared-head refreshTab;r=nchevobbe
The tab argument was unused in the method. All the call sites have been updated to
stop providing this argument. The method now supports an optional tab argument.
It defaults to the selected tab if no argument is provided.

MozReview-Commit-ID: 621dgljHdtD

--HG--
extra : rebase_source : 676c998cb4b2f126d9ee075760e2d7d30078344b
2017-11-23 16:31:48 +01:00
Alexandre Poirot 94383e3026 Bug 1419734 - Remove tab statistics leftovers. r=jdescottes
MozReview-Commit-ID: GaMCH6BrFMP

--HG--
extra : rebase_source : 653a330ca1ce0efbf4d943e0da5952d737ada25c
2017-11-22 08:19:03 -08:00
Julian Descottes af2e5d5dd1 Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG

--HG--
extra : rebase_source : 7704264e84d96e03a0c789103ff466980913d4d2
2017-11-13 21:22:15 +01:00
Julian Descottes 7324ecc861 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i

--HG--
extra : rebase_source : a6fce209baf5e019b6a216761c01832a30332343
2017-11-13 21:04:43 +01:00
Julian Descottes 4cac7dcb25 Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I

--HG--
extra : rebase_source : c7f20edf503b944ef2582b5fe73bd6d899c0d1cc
2017-11-13 20:29:55 +01:00
Julian Descottes cfef7be9a1 Bug 1386979 - register about-devtools-toolbox on browser startup;r=ochameau
MozReview-Commit-ID: GUBEyzg2qCw

--HG--
rename : devtools/client/framework/about-devtools-toolbox.js => devtools/shim/aboutdevtoolstoolbox-registration.js
extra : rebase_source : 77cf2036dae59c6119b0c0d2dd1ed821ace0f07d
2017-11-21 20:32:51 +01:00
Alexandre Poirot 3d64658419 Bug 1399242 - Prevent console react updates while console isn't visible. r=nchevobbe
MozReview-Commit-ID: A6NGLbiuyTE

--HG--
extra : rebase_source : 9f58d6e2ed6be3fb31de276e536158efa4cdd5ce
2017-10-09 20:14:34 +02:00
Alexandre Poirot fb08f4c098 Bug 1399242 - Ensure firing visibilitychange event and set document.visibiltyState attribute when hidding devtools panels. r=gregtatum
MozReview-Commit-ID: Gh6jp4KEZkX

--HG--
extra : rebase_source : 2125a8ceb5e235b1db525cfec9bc3268e1edce54
2017-10-09 20:16:01 +02:00
Alexandre Poirot e8f24cc6ab Bug 1411889 - Record netmonitor reload time. r=Honza
MozReview-Commit-ID: EwXuODxvm8B

--HG--
extra : rebase_source : 5e9d82f268f1c0f7423e6839d051766c3adb6702
2017-11-16 01:37:46 -08:00
Michael Ratcliffe 963fae339e Bug 1417483 - DevTools Framework to use prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: 5KKSvr2DLQu

--HG--
extra : rebase_source : 11ea368b7e4d3fd72cf449f6dd687cd5d872bf51
2017-11-15 16:22:12 +00:00
Eitan Isaacson d567085ce1 Bug 1414447 - Use displayed definitions in toolbox component for kb nav. r=jryans 2017-11-13 15:31:00 -05:00
Julian Descottes 6b5ad818ce Bug 1416704 - localize devtools options to enable new console/debugger;r=flod
MozReview-Commit-ID: IVHBg7xX3tB

--HG--
extra : rebase_source : f4f98505eee0560493fee13e429e9c672591e178
2017-11-13 12:49:05 +01:00
Michael Ratcliffe a86d96e077 Bug 1412269 - DevTools Framework to ES6 classes r=Honza
MozReview-Commit-ID: F5wt65FAhtx

--HG--
extra : rebase_source : de0a5bbf35d7f95a3fdbf97795efe5e39d05fd73
2017-10-27 13:12:46 +01:00
Alexandre Poirot 3ac4888c45 Bug 1411887 - Add telemetry to track console refresh time when reload a page. r=nchevobbe
MozReview-Commit-ID: 8zZyq9suJWB

--HG--
extra : rebase_source : 5b5ed09859a04116caf0db1041d76fcb97dd570f
2017-10-24 11:56:58 -07:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Alexandre Poirot edd4019d3c Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : 3b4f7ce885f44058e78c320a8ebff9d4ca68e329
2017-10-18 14:41:07 -07:00
Sebastian Hengst a5064a01cb Backed out 2 changesets (bug 1405585) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_devtools_panels_elements.js. r=backout on a CLOSED TREE
Backed out changeset d2f7f0e9554d (bug 1405585)
Backed out changeset a049959544f2 (bug 1405585)
2017-10-26 12:32:20 +02:00
Alexandre Poirot 661494c527 Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : f750cfc351d1447b8345e83a1f25a0a56b3db065
2017-10-18 14:41:07 -07:00
Sebastian Hengst 32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Joel Maher b5c9bf0e08 Bug 1387827 - Disable 2 devtools tests on coverage builds for frequent timeouts. r=gbrown, a=test-only 2017-10-16 11:42:23 -04:00
Alexandre Poirot 9b47b7dc68 Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE

--HG--
extra : rebase_source : deabc16b5b2df1f5d9767eaa0b83874d48306953
2017-10-11 11:43:25 +02:00
Tom Tromey c43bfd93a0 Bug 1179820 - Convert style editor to client-side source maps; r=gl
MozReview-Commit-ID: CV53VKKZz4A

--HG--
extra : rebase_source : d140eb449a1a3197ea7d9cc6484a9267e2bb64af
2017-09-29 07:36:30 -06:00
Julian Descottes 13a5e182b4 Bug 1407426 - return the toolbox created when opening BrowserContentToolbox;r=jlast
We need to retrieve the toolbox object created in openContentProcessToolbox in order
to use it in tests;

MozReview-Commit-ID: BC8bWaiYAnS

--HG--
extra : rebase_source : 50d135beac736720aebce587d69ea59281152db4
2017-10-10 23:21:20 +02:00
Sebastian Hengst dc08908da7 Backed out changeset 4c5add176917 (bug 1407426) for failing devtools/client/debugger/new/test/mochitest/browser_dbg-browser-content-toolbox.js on Windows 7 debug without e10s. r=backout
--HG--
extra : amend_source : 65d28cc3d9b55d4ea5a48680238695296397b8b6
2017-10-16 14:34:53 +02:00
Julian Descottes b4e038b582 Bug 1407426 - return the toolbox created when opening BrowserContentToolbox;r=jlast
We need to retrieve the toolbox object created in openContentProcessToolbox in order
to use it in tests;

MozReview-Commit-ID: BC8bWaiYAnS

--HG--
extra : rebase_source : 50d135beac736720aebce587d69ea59281152db4
2017-10-10 23:21:20 +02:00
Tom Tromey 0892e733f3 Bug 1407230 - Don't set devtools.debugger.client-source-maps-enabled pref; r=jdescottes
This removes the last spot that sets the obsolete
devtools.debugger.client-source-maps-enabled pref.  Note that the
definition of the pref remains; it will be deleted upstream once this
lands, and then removed from M-C by the next debugger bundle landing.

MozReview-Commit-ID: DTd2iDJI1y0

--HG--
extra : rebase_source : f7ac30f2ef707c11ad3d717ea49d13e1e883bd95
2017-10-10 07:35:49 -06:00
Julian Descottes 84bf318644 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9

--HG--
extra : rebase_source : 391f3567c2bdf319dcfd0a3b0c87f0479f85eabd
2017-10-04 21:13:48 +02:00
Julian Descottes c56455de82 Bug 1399886 - use fill to highlight devtools toolbar icons;r=gl
Instead of duplicating SVGs to apply a different fill color, we
can use fill from css + fill="context-fill" to achieve the same
effect. This applies to all tools that have a highlighted state
for their icon: debugger, memory and performance tools.

MozReview-Commit-ID: GmqeTKS3PC

--HG--
extra : rebase_source : c613fc38ce7fedcfe111bed74216c1c38b511b9d
2017-10-04 20:41:00 +02:00
Julian Descottes 69c5043c50 Bug 1399886 - use fill from CSS to set the fill color of devtools icons;r=gl
MozReview-Commit-ID: D9A472N51DA

--HG--
extra : rebase_source : 30c743c409c9178278aa5875644501310163ef4d
2017-10-02 16:47:24 +02:00
Wes Kocher f4358f1539 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
Tom Tromey 29262f9977 Bug 1405338 - change source-map reloading test to work with --repeat; r=jdescottes
MozReview-Commit-ID: BfLX8DT4aq7

--HG--
extra : rebase_source : 7ba0aab435e8022a55e1b2f622a720c24643d33c
2017-10-03 08:56:38 -06:00
Nicolas Chevobbe 307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Jason Laster 196387522f Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes
--HG--
extra : source : ec4e1ade8cf2d75ef475aa62e91620c17ebde14f
2017-10-02 10:39:00 -04:00
Wes Kocher 4f6fbf7f5d Backed out 2 changesets (bug 1404837, bug 1404787) for build bustage a=backout
Backed out changeset ec4e1ade8cf2 (bug 1404837)
Backed out changeset 5e41366119a2 (bug 1404787)

MozReview-Commit-ID: 8fHMqSdDxzh
2017-10-02 11:35:23 -07:00
Jason Laster 5c760977ba Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes 2017-10-02 10:39:00 -04:00
Wes Kocher ef10ff52f7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Al9lnfQMbTU
2017-09-29 14:48:58 -07:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
J. Ryan Stinnett ecad77ef81 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC

--HG--
extra : rebase_source : 6a520a726fe77c560ecb71c5f633a9e2d7b956f7
2017-09-26 18:39:16 -05:00
Jason Laster 3cad34d119 Bug 1403736 - Update debugger frontend (9/27/2017). r=jdescottes
MozReview-Commit-ID: 3kr1pG8fSs5

--HG--
extra : rebase_source : 537b5dd3262ad14f734ff89d4cb0f529b9dfa7b6
2017-09-29 16:53:53 +02:00
Dan Epstein b9e816d060 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK

--HG--
rename : devtools/client/shared/components/autocomplete-popup.js => devtools/client/shared/components/AutoCompletePopup.js
rename : devtools/client/shared/components/frame.js => devtools/client/shared/components/Frame.js
rename : devtools/client/shared/components/h-split-box.js => devtools/client/shared/components/HSplitBox.js
rename : devtools/client/shared/components/notification-box.css => devtools/client/shared/components/NotificationBox.css
rename : devtools/client/shared/components/notification-box.js => devtools/client/shared/components/NotificationBox.js
rename : devtools/client/shared/components/search-box.js => devtools/client/shared/components/SearchBox.js
rename : devtools/client/shared/components/sidebar-toggle.css => devtools/client/shared/components/SidebarToggle.css
rename : devtools/client/shared/components/sidebar-toggle.js => devtools/client/shared/components/SidebarToggle.js
rename : devtools/client/shared/components/stack-trace.js => devtools/client/shared/components/StackTrace.js
rename : devtools/client/shared/components/tree.js => devtools/client/shared/components/Tree.js
rename : devtools/client/shared/components/splitter/draggable.js => devtools/client/shared/components/splitter/Draggable.js
rename : devtools/client/shared/components/splitter/split-box.css => devtools/client/shared/components/splitter/SplitBox.css
rename : devtools/client/shared/components/splitter/split-box.js => devtools/client/shared/components/splitter/SplitBox.js
rename : devtools/client/shared/components/tabs/tabbar.css => devtools/client/shared/components/tabs/TabBar.css
rename : devtools/client/shared/components/tabs/tabbar.js => devtools/client/shared/components/tabs/TabBar.js
rename : devtools/client/shared/components/tabs/tabs.css => devtools/client/shared/components/tabs/Tabs.css
rename : devtools/client/shared/components/tabs/tabs.js => devtools/client/shared/components/tabs/Tabs.js
rename : devtools/client/shared/components/tree/label-cell.js => devtools/client/shared/components/tree/LabelCell.js
rename : devtools/client/shared/components/tree/object-provider.js => devtools/client/shared/components/tree/ObjectProvider.js
rename : devtools/client/shared/components/tree/tree-cell.js => devtools/client/shared/components/tree/TreeCell.js
rename : devtools/client/shared/components/tree/tree-header.js => devtools/client/shared/components/tree/TreeHeader.js
rename : devtools/client/shared/components/tree/tree-row.js => devtools/client/shared/components/tree/TreeRow.js
rename : devtools/client/shared/components/tree/tree-view.css => devtools/client/shared/components/tree/TreeView.css
rename : devtools/client/shared/components/tree/tree-view.js => devtools/client/shared/components/tree/TreeView.js
extra : rebase_source : 5ef89b4169dda156a8160d4d21655147f4d9da11
2017-09-27 01:12:13 -04:00
Sebastian Hengst 58cfe586be Backed out changeset 6ae05de7437d (bug 1305777) 2017-09-29 10:43:48 +02:00
J. Ryan Stinnett 41503ce759 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC

--HG--
extra : rebase_source : d591e04148d748c2659093295160adc6a3d2c445
2017-09-26 18:39:16 -05:00
Jason Laster da1d69c359 Bug 1405128 - Remove debugger statement. r=jdescottes 2017-10-02 19:20:00 -04:00
Wes Kocher a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Gabriel Luong c089f03855 Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins 2017-09-26 08:43:22 -04:00
Alexandre Poirot 4dd05d6b9e Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0

--HG--
extra : rebase_source : b9135d07a0b9269e3bbd8f92f9ce49c09029055d
2017-09-25 10:15:50 +02:00
Alexandre Poirot b4a4015145 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy

--HG--
extra : rebase_source : 31c638ef35d60368d676d855310cdfd26aa86428
2017-09-25 16:04:26 +02:00
Sebastian Hengst 012539a236 Backed out changeset 418e79946237 (bug 1250832) for failing devtools/client/commandline/test/browser_cmd_csscoverage_startstop.js on Windows 7 debug. r=backout 2017-09-26 13:32:00 +02:00
Alexandre Poirot bf1de68106 Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0

--HG--
extra : rebase_source : 41cfb38452b8124e288deef02db94f06756d2003
2017-09-25 10:15:50 +02:00
Ian Moody a2e6a32930 Bug 1395367 - Update devtools tests to handle toolbox.showFrameMenu being async. r=ochameau
MozReview-Commit-ID: BSnpdRwWKla

--HG--
extra : rebase_source : 584ee502ba8e8b4e9746e521c07895f3d7540abe
2017-09-21 23:23:20 +01:00
Ian Moody 1692c5b691 Bug 1395367 - Highlight relevant iframe in the page when it's active in the iframe document selector. r=ochameau
MozReview-Commit-ID: 7DnW4iwGnfA

--HG--
extra : rebase_source : 4bc15e818ea4a22b624a4b1fda12371126e5320e
2017-09-25 14:03:11 +01:00
Tom Tromey 19c7bf1424 Bug 952127 - notify source map subscribers after pretty-printing; r=bgrins
Intercept the applySourceMap source map worker request, so that when a
source is pretty-printed, source map subscribers can be updated.

That this does not yet handle pretty-printing original sources.  This
isn't supported yet by the debugger, and since the plan is to handle it
by augmenting the existing source map, it should be easy to fix this
code when it is implemented.

The mochitest is included here for testing but I am going to land it
upstream as well.

MozReview-Commit-ID: 3Lp1ikO8IzZ

--HG--
extra : rebase_source : f2f02e9e963864567a9dbe3a7e050afcb5f4d3b6
2017-09-15 07:54:56 -06:00