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

885 Коммитов

Автор SHA1 Сообщение Дата
Brian Birtles aac64f69a9 Bug 1451592 - Simplify browser_toolbox_options_disable_buttons.js; r=jryans
Bug 1444301 moved the noautohide button to the meatball menu so we no longer to
worry about filtering it out in browser_toolbox_options_disable_buttons.js.

MozReview-Commit-ID: 5fp4FDxbc6o

--HG--
extra : rebase_source : bbc030bd3743e9c3fc8d8d2c32a6b89da4b87765
2018-04-16 19:49:38 +02:00
Brian Birtles c31e7bd8dc Bug 1451592 - Hide the iframe button when there are no child iframes; r=jryans
MozReview-Commit-ID: 7Q3PojIzmy4

--HG--
extra : rebase_source : 2d5af6f817ac5696c653caa3fd1624ec8da50d78
2018-04-16 19:49:38 +02:00
Yura Zenevich b4dc67d73a Bug 1447302 - add telemetry probes for accessibility inspector Developer Tool panel. r=jdescottes
MozReview-Commit-ID: 6tcGHq86goa
2018-04-16 21:17:26 -04:00
Andreea Pavel 01f50bc3d8 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-14 00:56:30 +03:00
Yura Zenevich 807c4d5989 Bug 1451665 - update tool list every time tool is registered/unregistered. r=jryans
MozReview-Commit-ID: 8PagqPOPdCJ
2018-04-13 13:28:49 -04:00
Michael Ratcliffe d9c4ce23c4 Bug 1453312 - Record event for toolbox close r=yulia
Changes:

1. The change in telemetry.js avoids an issue with overwriting pending properties.
2. The test in telemetry.md has been updated now that we have a working test.
3. Added the actual toolbox.close telemetry event and test.

MozReview-Commit-ID: 9fOCkwCCwDx

--HG--
extra : rebase_source : 55028edf836af62c25ae603675de0b3f5189f43e
2018-04-11 14:18:44 +01:00
Brian Grinstead e9bdd93a16 Bug 1381834 - Remove old Console front-end;r=nchevobbe
MozReview-Commit-ID: LiKw2ZMRucL

--HG--
extra : rebase_source : c9037d0acedd3416a233f42b7ffac50fc049c709
2018-04-13 08:08:03 -07:00
Zhang Junzhi 4ffaca3e3f Bug 1448553 - Part 5: Decodeds Punycode-encoded international domain names and URI-encoded filenames in the Developer Toolbox's frame menu so that they are displayed as human-readable Unicode text. r=jdescottes
The Punycode-encoded international domain names and URI-encoded filenames are
human-unreadable, so they should be displayed as human-readable Unicode text.
This commit decodes this kind of names in the Developer Toolbox's frame menu.

MozReview-Commit-ID: LGzw31z05OD

--HG--
extra : rebase_source : fba5cd9a4e78c9e6206c15fc3d858845b3d3c007
2018-04-03 01:23:24 +08:00
Alexandre Poirot 9b2fdcf8bb Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h

--HG--
extra : rebase_source : 55c0c9fa81a8dc17b92cba721dcc5912b07d0fab
2018-04-12 09:22:42 -07:00
Brian Birtles 1ae7767b40 Bug 1452290 - Update the labels in the DevTools meatball menu; r=jryans
This also updates the link behavior to use the less privileged openWebLink.

MozReview-Commit-ID: HHDQKAQz6hQ

--HG--
extra : rebase_source : d57670983073893be6c67fe0c3dc991cbe1e5eb2
2018-04-16 19:44:22 +02:00
J. Ryan Stinnett e6b95c17e8 Bug 1453846 - Remove DevTools RDP events. r=Honza
A few years ago in bug 1126274, we added RDP events to the DevTools transport so
that the add-on RDP Inspector could display packets as they flow by.

The add-on no longer works as it is not a WebExtension.  Maybe someday we'll
revisit this, but for now this removes some dead code.

MozReview-Commit-ID: AvgQhYWwBUA

--HG--
extra : rebase_source : 45a295cb8b06729a0e3f74a90ce1094633f0f121
2018-04-13 12:57:48 -05:00
Mantaroh Yoshinaga 09d1c3381c Bug 1442531 - Part 2. Check tool tab in tools menu as well. r=jdescottes
Currently, browser_toolbox_options check only toolbox's tab.
If tool tabs is bigger than toolbox width, this mechanism will not work
correctly. So this patch will check target tool tab from toolbox tabs and
tools menu (in chevron).

MozReview-Commit-ID: D3kaOwHvHni

--HG--
extra : rebase_source : c5abd11f138935f84b3d5c3fc4c21148295966ee
2018-04-16 16:48:32 +09:00
Mantaroh Yoshinaga 793eeff896 Bug 1442531 - Part 1. Make chevron button of devtool to be exclusive and apply the photon design. r=jdescottes
This patch will:
 * change detecting overflow to using resize event.
 * make chevron menu and tab menu to be exclusive.
 * use photon design chevron menu.
 * modify the related tests.

In this patch, the toolbox will create the cache of the displayed tool tab width
after rendering an element since each width of toolbox tab is not fixed size.
(i.e. each toolbox tab size is different from another size)

MozReview-Commit-ID: EQ0nU6WzCg1

--HG--
extra : rebase_source : ee01fbb5789769c4a75056e7eba41ad8ba232798
2018-04-16 16:48:11 +09:00
Julian Descottes 3f9f68c861 Bug 1453423 - use openWeb/TrustedLink in devtools/shared/client/link;r=jryans
MozReview-Commit-ID: EMUqVCIxzUt

--HG--
extra : rebase_source : a3bc96f2d266e357f8fa03d9ca1332da3df001ba
2018-04-11 20:35:36 +02:00
Gurzau Raul 4aeb9af849 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-10 19:58:05 +03:00
Yura Zenevich 442d872d5b Bug 1428427 - add 'Inspect Accessibility Properties' context menu item when right clicking on content element. r=jdescottes, mixedpuppy
MozReview-Commit-ID: 4aav1f6eslQ
2018-04-10 10:52:58 -04:00
Julian Descottes fb688f4ff1 Bug 1451014 - Remove iterator to list toolboxes on gDevTools;r=ochameau
MozReview-Commit-ID: 5ZaePP4p5Eb

--HG--
extra : rebase_source : 7646db405dfec45ed13da579c009a93de9dac20d
2018-04-06 12:41:43 +02:00
Brian Birtles 8aec17ad93 Bug 1444301 - Fix lint error in toolbox-toolbar.js on CLOSED TREE; r=bustage 2018-04-07 06:35:05 +09:00
Brian Birtles c7b2a52d72 Bug 1444301 - Move the separator before the RDM icon; r=jryans
As per the mockup:

  https://mozilla.invisionapp.com/share/M5G8OO1ZVE4#/screens/283871189

MozReview-Commit-ID: 6IF4JhiTqql

--HG--
extra : rebase_source : ecb8629d27302bfda0f2ec767e4ce4a9073f4cda
2018-04-05 10:13:22 +09:00
Brian Birtles a91e04ce02 Bug 1444301 - Add help items to menu; r=jryans
MozReview-Commit-ID: PwW9OK8eOV

--HG--
extra : rebase_source : b87188f45899fbc9052f2bb661feabbf85751e20
2018-04-05 10:13:22 +09:00
Brian Birtles 578087c195 Bug 1444301 - Move disable pop-up autohide feature to toolbox menu; r=jryans
MozReview-Commit-ID: 3cJKqIxaFkV

--HG--
extra : rebase_source : e4fb5ddd4f3592eea5dda9f6cf668a308d8cd235
2018-04-05 10:13:22 +09:00
Brian Birtles 90f65a8cf5 Bug 1444301 - Move split console function to meatball menu; r=jryans
MozReview-Commit-ID: GkMRdZMIUVa

--HG--
extra : rebase_source : ab4f978b3e1dd06db97902674c5d2736d7bc4421
2018-04-05 10:13:22 +09:00
Brian Birtles b863f633e5 Bug 1444301 - Add accelerator support to MenuItem component; r=jryans
MozReview-Commit-ID: IMbZ73ty5cM

--HG--
extra : rebase_source : d32fc0505f0c67da4e430bc6fb6375f6e6c9d837
2018-04-05 10:13:21 +09:00
Brian Birtles 86110eb0a9 Bug 1444301 - Move Options button into meatball menu; r=jryans
MozReview-Commit-ID: HnTbtdI5gS6

--HG--
extra : rebase_source : 21fcdaf882e050985db6d9b2004418a4c7df8b72
2018-04-05 10:13:21 +09:00
Brian Birtles 972c14594f Bug 1444301 - Move dock functions to a new meatball menu; r=jryans
MozReview-Commit-ID: IfFsiZnmw74

--HG--
extra : rebase_source : 1072f4402fd7d329eebfd3a68af5bac2ed7059cb
2018-04-05 10:13:21 +09:00
Brian Birtles fa87e6a363 Bug 1444301 - Use a consistent order when listing the props of the ToolboxToolbar component; r=jryans
MozReview-Commit-ID: GF5RTlS3uIA

--HG--
extra : rebase_source : 578b8915ce5185665fe4811ac0207771274abd36
2018-04-05 10:13:21 +09:00
Brian Birtles 23da317fba Bug 1444301 - Add missing PropTypes to ToolboxToolbar; r=jryans
MozReview-Commit-ID: Bab6tFM6QUH

--HG--
extra : rebase_source : 7c63a1f9eb94925ce9e6b924910876aa6ffab46b
2018-04-05 10:13:21 +09:00
Julian Descottes 066f1b2633 Bug 1409456 - Remove CtrlOrCmd+Shift+O shortcut for DevTools options;r=jryans
MozReview-Commit-ID: 3iOXwVP9UQa

--HG--
extra : rebase_source : fcf64c1cc74c8ee1a63ba6e566bedbd7e95a5082
2018-04-06 11:50:09 +02:00
Luca Greco baa6dfad94 Bug 1394750 - Keep track of the active and enabled devtools webextensions. r=jdescottes
MozReview-Commit-ID: 4KUQCls8CPe

--HG--
extra : rebase_source : 643303ee53078bb4f5ae43b045a85d09ec65aa58
2018-01-22 22:42:35 +01:00
Mark Banner a0259c665b Bug 1451659 - Fix mochitest issues after enabling ESLint on more files in devtools. r=jdescottes
MozReview-Commit-ID: 4KZjO1VewoE

--HG--
extra : rebase_source : 5db3e7be1f73514ca5b1e56d0558eb70f5952592
2018-04-05 11:08:30 +01:00
Mark Banner 3e2d95e5c0 Bug 1451659 - Enable ESLint for devtools/client/{canvasdebugger,framework,scratchpad,shadereditor}/. r=jdescottes
Disable rules with many failures for now, in a way that mentored bugs can easily pick them up.
Fix other minor issues raised by various rules.

MozReview-Commit-ID: 71OQI7jLihe

--HG--
extra : rebase_source : 7eac06299e6bbc6ae84e21b263c105555a06e757
2018-04-04 23:24:04 +01:00
Mark Banner c07518ff8d Bug 1451659 - Automated ESLint fixes for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: 26jRtf8ZzTr

--HG--
extra : rebase_source : e70c7307b4d72a5e2572647d9628e8757e924a35
2018-04-04 22:10:09 +01:00
Mark Banner f1b05cb9f0 Bug 1451659 - Remove obsolete import-globals-from definitions that also stop ESLint from running in devtools. r=jdescottes
MozReview-Commit-ID: DNAhKkQCkui

--HG--
extra : rebase_source : e17e17efc203cb0336dc546c7d07a1ede1c6f095
2018-04-04 21:52:00 +01:00
Tiberius Oros ac11d47831 Backed out 2 changesets (bug 1416024) for failures on browser/base/content/test/performance/browser_startup.js a=backout on a CLOSED TREE
Backed out changeset ca1744840f1a (bug 1416024)
Backed out changeset 0c25684c9948 (bug 1416024)
2018-04-05 12:40:08 +03:00
Mike Ratcliffe 62adb46296 Bug 1416024 - Patch 1: Record event for toolbox open/close r=yulia
MozReview-Commit-ID: 9YI0Bv6Q8gG

--HG--
extra : rebase_source : cd873a11883dc76116d16f9cc75dc12c19ca035d
2018-03-22 16:54:15 +00:00
Brian Grinstead a977789695 Bug 1378108 - Part 2 - Remove Firebug theme;r=gl
MozReview-Commit-ID: 930pvUVLsiP

--HG--
rename : devtools/client/themes/images/firebug/read-only.svg => devtools/client/themes/images/read-only.svg
extra : rebase_source : e4b1609bff47753d01d4c21ceaca993ce8d93071
2018-04-04 12:32:54 -07:00
Brian Grinstead 687ecffae2 Bug 1448555 - Part 2 - Increase flex from 1000 to 10000 for the devtools primary tool;r=jdescottes,xidorn
This number is being used for the sibling of the toolbox itself, and over large sizes can
cause around a pixel or so of discrepancy, so go ahead and update to the bigger number
while we are here.

Also, support flex=10000 in flexbox emulation

MozReview-Commit-ID: 6BEo7XAkZrs

--HG--
extra : rebase_source : 32a797a57a515964c492c27eecb01c241acac2ae
2018-04-03 13:57:36 -07:00
Brian Grinstead 244cee4afd Bug 1448555 - Part 1 - Allow the devtools toolbox to shrink when the window shrinks;r=dao,Gijs,jdescottes
By setting flex=10000 on the siblings of the toolbox and flex=1 on the toolbox iframe
we ensure that free space gets allocated to the browser contents and that the devtools
toolbox can shrink when the window needs to resize.

MozReview-Commit-ID: oel3kRw9m6

--HG--
extra : rebase_source : b87d6c024d8e57085115550bdc1b9169d3d70983
2018-04-03 13:57:30 -07:00
Brian Birtles 0ced916915 Bug 1450624 - Remove toolbox minimize feature; r=pbro
--HG--
extra : rebase_source : ffa2e7283e61f61c693ace6c8760c50637ab3810
2018-04-04 09:12:45 +09:00
Mantaroh Yoshinaga 54337513b3 Bug 1444300 - Make tab button to be able to handle the key event. r=honza
A command button like ruler has keydown event handler, this patch will
add same event handler to tab button.

--HG--
extra : rebase_source : eef8467b15bb99b8e8a22798e83c8a968ac24f7f
2018-04-03 09:42:44 +09:00
ui.manish 1ade5de3b1 Bug 1450587 - Update developer edition promo icon. r=ntim 2018-04-02 17:59:57 +02:00
Nicolas Chevobbe 41edb0dc48 Bug 1449931 - Remove old-event-emitter usage from devtools/shared/webconsole; r=bgrins.
MozReview-Commit-ID: HkbUm0XkeJs

--HG--
extra : rebase_source : 6b75408de3370cc2f0047996532dceaab4403a34
2018-03-29 16:06:24 +02:00
Julian Descottes df3e1babbb Bug 1053898 - Update framework/selection setNodeFront signature to use object argument;r=gl
Both reason and isSlotted arguments of setNodeFront are optional, switching to an
object argument avoids weird calls such as setNodeFront(front, null, true) in favor
of a more explicit setNodeFront(front, { isSlotted: true });

MozReview-Commit-ID: A6nziH3QQYe

--HG--
extra : rebase_source : e5bde9e74369e1b0fb2e1d1a0a2b31a0131caacd
2018-03-05 14:15:57 +01:00
Julian Descottes e19e1acc1f Bug 1053898 - Update framework/selection to support slotted selections;r=gl
With shadow dom support, a node front can be represented twice in the
markup view, once as a "slotted" version inserted in a <slot> element
and once a regular element.

We should be able to know if the selection was made on the regular or
on the slotted version.

MozReview-Commit-ID: CUpREkL0TzL

--HG--
extra : rebase_source : 95259e33e084038d7a71e89b90affb60c38894a3
2018-03-05 13:56:00 +01:00
J. Ryan Stinnett 5af746b756 Bug 1446572 - Adjust node inspection for toolbox's selected frame. r=pbro
When inspecting a node with the toolbox focused on an inner frame, we need to
adjust the selectors used to remove hidden parent frames.

MozReview-Commit-ID: CXwb3FmnJFO

--HG--
extra : rebase_source : df8b01286fe8ebe38cb93cfe05bbd24e7f97d40d
2018-03-28 19:54:43 -05:00
J. Ryan Stinnett 509bfd2c21 Bug 1446572 - Record node inspection selectors starting with root. r=pbro
Reverse the array of node inspection selectors, so that are a bit more naturally
human-readable by starting from the root document and moving inwards.

MozReview-Commit-ID: BYXryJg7iR9

--HG--
extra : rebase_source : b88b1289aaa768a7a852b433cd07ed4cf167c51c
2018-03-28 14:30:12 -05:00
Julian Descottes 50d1673187 Bug 1448499 - Destroy deviceFront when destroying the toolbox;r=jryans
MozReview-Commit-ID: IMlKbiaUKu7

--HG--
extra : rebase_source : 746806af98af61f3db7aea732654c766c594bd03
2018-03-23 23:19:36 +01:00
Jan Odvarko d09f31367c Bug 1448288 - Make devtools.network.getHAR API compatible with Chrome; r=rpl
MozReview-Commit-ID: 7woAf8iVC3B

--HG--
extra : rebase_source : 11ad0b8b67c4ce0aef1ee7e5ee4e356e66ea7134
2018-03-23 14:38:32 +01:00
Ryan VanderMeulen d6fd81de00 Merge m-c to inbound. a=merge 2018-03-22 19:44:23 -04:00
Brian Grinstead bd50b6df06 Bug 1347127 - Enable new console frontend in Browser Toolbox;r=nchevobbe
MozReview-Commit-ID: D8U8XEgLUZy

--HG--
extra : rebase_source : 5d10833a9d31817410afbc5632ab4cc3bb2db77e
2018-03-22 08:30:50 -07:00
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