Commit Graph
575 Commits
Author SHA1 Message Date
Jason Laster 2ecc9b767f Bug 1510430 - Update Debugger Frontend v104. r=dwalsh 2018-11-27 21:47:47 -05:00
Jason Laster de8267a913 Bug 1506688 - Update Debugger Frontend v101. r=dwalsh 2018-11-12 13:07:00 +02:00
Nicolas Chevobbe 0fd30cd41f Bug 1390768 - Create a new React component to render stacktraces; r=Honza.
The component is wrapping the `Frames` component from the debugger
in order to have access to frames grouping.
It also handles sourcemaps, since the debugger component
does not by itself.
Tests are added to ensure the component behaves as expected.

Depends on D11602

Differential Revision: https://phabricator.services.mozilla.com/D11603
2018-11-12 15:42:06 +00:00
Brad Werth 36a8845bc5 Bug 1503871 Change all of the debugger.css SVG mask URLs to use resource scheme. r=bradwerth
Bug #: 1503871

Differential Revision: https://phabricator.services.mozilla.com/D11101
2018-11-09 12:07:33 -05:00
Vincent R 0cd8d00cd1 Bug 1185808 - Improve devtool notification box layout when overflowing. r=pbro
- Make notificationbox buttons and closing affordance visible when overflowing,
- Apply ellipsis to message when overflowing (using the width=0 to not break flex layout),
- Add title to show potentially truncated message on hover,
- Simplify layout (remove the unnecessary nested flexbox layout).

TESTED=Locally using some mocked notification buttons. Run styleeditor and shared/component tests.
2018-11-01 01:22:18 +01:00
Kris Maglione e6bd736d83 Bug 1356412: Follow-up: Fix devtools test bustage. r=bustage 2018-11-05 12:25:42 -08:00
Kris Maglione bd9569ef4c Bug 1356412: Part 1 - Remove subscript loader path mangling. r=mccr8
This was only ever useful before we had compartment-based security isolation.
Now it is just a pervasive nuisance.

Differential Revision: https://phabricator.services.mozilla.com/D10795
2018-11-02 14:45:12 -07:00
Cosmin Sabou 8c625f78c1 Backed out changeset 16f9bded4e5b (bug 1185808) for mochitest failures on test_notification_box_03. 2018-11-05 12:37:39 +02:00
Vincent R e749be3ea3 Bug 1185808 - Improve devtool notification box layout when overflowing. r=pbro
- Make notificationbox buttons and closing affordance visible when overflowing,
- Apply ellipsis to message when overflowing (using the width=0 to not break flex layout),
- Add title to show potentially truncated message on hover,
- Simplify layout (remove the unnecessary nested flexbox layout).

TESTED=Locally using some mocked notification buttons. Run styleeditor and shared/component tests.
2018-11-01 01:22:18 +01:00
Ciure Andrei 265e9c99c7 Merge inbound to mozilla-central. a=merge 2018-10-31 00:06:53 +02:00
Razvan Caliman 36ff17fad3 Bug 1503192 - Revert "Bug 1491281 - Use tab id and title as fallbacks for panel props in Inspector sidebar tabs; r=gl
This reverts the patch introduced for Bug 1491281 because it
accidentally breaks the Tabbar.js (used in Inspector and Netmonitor)
when in working with React in dev mode.

Differential Revision: https://phabricator.services.mozilla.com/D10223
2018-10-30 14:54:36 +00:00
David Walsh 0808e46a33 Bug 1502494 - Update Debugger Frontend to v97 r=jdescottes 2018-10-26 14:56:21 -05:00
Gurzau Raul 33e5e3dd73 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-30 00:10:27 +02:00
Razvan Caliman 5fd89583fb Bug 1491281 - Use tab id and title as fallbacks for panel props in Inspector sidebar tabs; r=gl
Avoid needless duplication if tab id and title as props when creating Inspector sidebar tab components.

Differential Revision: https://phabricator.services.mozilla.com/D9909
2018-10-26 17:15:58 +00:00
Nicolas Chevobbe 77fa030884 Bug 1501632 - Return an unsubscribe function from SourceMapURLService.prototype.subscribe; r=loganfsmyth.
The SourceMapURLService has a subscribe and an unsubscribe
functions to respectively listen and stop listening for
source map changes on a given location (url + line + column).
The unsubscribe function need to be called with the same
parameters as the subscribe function, which means the consumer
need to keep a reference to the callback.
By making the subscribe function return the unsubscribe function,
this makes things a bit easier.

Differential Revision: https://phabricator.services.mozilla.com/D9784
2018-10-25 17:15:45 +00:00
Kristin Taylor 2d3ab6342d Bug 1494789 - Part 3: Use --error-color for --string-color. r=nchevobbe 2018-10-22 21:31:59 -05:00
David Walsh f0b4d68107 Bug 1502224 - Update debugger frontend v96 r=jdescottes
Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&revision=59f88434009d15d88731f658a1f0b177dbf2d008

Tags: #secure-revision

Bug #: 1502224

Differential Revision: https://phabricator.services.mozilla.com/D9936
2018-10-26 13:55:04 -05:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Mantaroh Yoshinaga 48dcf20430 Bug 1488721 - Prevent closing the popup menu by clicking the space of tooltip popup menu. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D9059
2018-10-18 05:48:55 +00:00
Mantaroh Yoshinaga 34b24f3485 Bug 1490358 - Hide menu popup when press the ctrl+t. r=birtles
If push the ctrl+t, browser will open the new tab. In this case,
the XUL popup panel doesn't hide automatically(autohide=false).
As the result of it, the popup menu will be displayed in the new tab
content. So this patch will hide the popup when receiving the ctr+t
shortcut in the MenuButton.

Differential Revision: https://phabricator.services.mozilla.com/D8809
2018-10-16 07:13:04 +00:00
Mantaroh Yoshinaga fd816e6326 Bug 1493659 - Skip the click event handler if touch event has occurred. r=birtles
Tapping the menu button during the panel has shown make the menu button to be unopenable. This cause reason is removing the pointer-events property before the mouse event happens.
The tapping event will happen many the event like the following:
1) touchstart
2) touchmove (Long tap only)
3) touchend
4) mousedown
5) mouseup
6) click

This patch will detect the touchend event to eat the click event.

Differential Revision: https://phabricator.services.mozilla.com/D7827
2018-10-07 17:52:11 +00:00
Gabriel Luong becc8fb549 Bug 1494162 - Part 43: Lazy load createPortal to avoid creating the children of the MenuButton. r=birtles 2018-10-04 15:46:23 -04:00
Gabriel Luong 7d18fc878d Bug 1494162 - Part 45: Lazy load Menu and MenuItem in TabBar. r=pbro 2018-10-04 09:19:30 -04:00
Luca Greco bffb9b01cf Bug 1398734 - Fix devtools toolbox issues while removing extension sidebar panels. r=jdescottes
Depends on D5421

Differential Revision: https://phabricator.services.mozilla.com/D5422
2018-10-03 18:29:30 +00:00
Gabriel Luong 31269cb159 Bug 1494162 - Part 44: Use refs instead of findDOMNode. r=pbro 2018-10-02 12:22:32 -04:00
Jason Laster c7704bc18a Bug 1495547 - Update Debugger Frontend v91. r=dwalsh 2018-10-02 10:48:32 -04:00
Jason Laster e39cccdee9 Bug 1494464 - Update Debugger Frontend v90. r=dwalsh 2018-10-01 16:41:32 -04:00
Jason Laster 7d999d369f Bug 1491471 - Move the OI store to the console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5911
2018-09-27 20:09:51 +00:00
Mantaroh Yoshinaga 6f7df8a1ac Bug 1472942 - Part 2. Add setContentSize() instead of setContent() in HTMLTooltip. r=birtles
This patch will remove setContest(), and change the following things instead of this:

 * Use HTMLTooltip.panel.appendChild() instead of HTMLTooltip.setContent().
 * Add HTMLTooltip.setContetnSize() to specify the panel size if need this.

Differential Revision: https://phabricator.services.mozilla.com/D7044
2018-09-27 07:14:55 +00:00
Mantaroh Yoshinaga 65e9a515c8 Bug 1476549 - Part 3. Support the children of function type on the MenuButton. r=birtles
This patch will:
 - Call the children as function when rendering if MenuButton's children property is the function.
 - Add the callback which is called when the focused item changed.

Differential Revision: https://phabricator.services.mozilla.com/D6352
2018-09-20 06:28:00 +00:00
Jason Laster f7bf14199b Bug 1491983 - Update Debugger Frontend v88. r=dwalsh 2018-09-18 17:57:03 -04:00
Arshad Kazmi a4a87a4243 Bug 1457784 - Replace warning-16.png with warning.svg. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5973
2018-09-17 09:55:12 +00:00
Mike Conley de78fa5d84 Bug 1482402 - Dispatch DevTools toolbox visibilitychange event on the iframe document instead of the iframe window. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D5456
2018-09-07 15:19:47 -07:00
Jason Laster 83bd3809ec Bug 1488917 - Update Debugger Frontend v87. r=dwalsh 2018-09-06 13:03:09 -04:00
Yura Zenevich e69a430a95 Bug 1488508 - update help icon to use Photon style system. r=gl
MozReview-Commit-ID: 75efDzRq187

Differential Revision: https://phabricator.services.mozilla.com/D4958
2018-09-04 17:21:44 +00:00
Nicolas Chevobbe f40b1669b0 Bug 1486364 - Revert changes in Tree component and test; r=jdescottes.
In https://github.com/devtools-html/debugger.html/pull/6809 a check
was removed in the Tree component because seens as unnecessary, and
a test was modified to accomodate the change. Turns out the test was
needed in its original form, and was surfacing a bug.
This patch rolls back both the change in the Tree component _and_ in
the test.
The Tree modification will be backported to the Github repository.

Differential Revision: https://phabricator.services.mozilla.com/D4307
2018-08-27 07:30:02 +00:00
Jason Laster 5321f80310 Bug 1484972 - Update Debugger Frontend v84. r=dwalsh 2018-08-21 20:36:00 +03:00
Mantaroh Yoshinaga a17a5b0450 Bug 1465644 - Part 2. Introduce the emphasized splitter style. r=nchevobbe 2018-08-22 16:07:53 +09:00
Mantaroh Yoshinaga 32f91b0d3a Bug 1465644 - Part 1. Change characode of SplitConsole.css from dos to unix. r=nchevobbe 2018-08-22 16:07:13 +09:00
Mantaroh Yoshinaga 2f40fdbd52 Bug 1484595 - Remove the HTMLTooltip hidden event listener before destroying the HTMLTooltip. r=birtles
MenuButton will listen the HTMLTooltip hidden event even if HTMLTooltip is
destroyed. As a result of it, the timer which issued in the MenuButton's event
listener might fail due to the target window is destroyed. (e.g., switching the
dock mode to bottom  from window mode.)

This patch will remove this event listener before destroying the HTMLTooltip.

Differential Revision: https://phabricator.services.mozilla.com/D3759
2018-08-20 07:03:07 +00:00
shindli 4b359b43ba Backed out changeset fc5c57e9b65b (bug 1484595) for linting failure on a CLOSED TREE 2018-08-20 10:38:08 +03:00
Mantaroh Yoshinaga 86f14b469b Bug 1484595 - Remove the HTMLTooltip hidden event listener before destroying the HTMLTooltip. r=birtles
MenuButton will listen the HTMLTooltip hidden event even if HTMLTooltip is
destroyed. As a result of it, the timer which issued in the MenuButton's event
listener might fail due to the target window is destroyed. (e.g., switching the
dock mode to bottom  from window mode.)

This patch will remove this event listener before destroying the HTMLTooltip.

Differential Revision: https://phabricator.services.mozilla.com/D3759
2018-08-20 07:03:07 +00:00
Jason Laster 74c0bcef29 Bug 1483877 - Update Debugger Frontend v83. r=dwalsh 2018-08-17 07:28:00 -04:00
Gabriel Luong 70f6e3fa83 Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css
2018-08-15 17:27:43 -04:00
Gabriel Luong 8a04f6330d Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM
2018-08-15 17:27:41 -04:00
Gabriel Luong 9c1fa758af Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman 2018-08-15 17:27:34 -04:00
Csoregi Natalia df9db8ee3d Backed out 19 changesets (bug 1467572) for devtools failures on browser_net_telemetry_throttle_changed.js. CLOSED TREE
Backed out changeset 39123899178c (bug 1467572)
Backed out changeset 62fcbe25665c (bug 1467572)
Backed out changeset 5ef6c1c42747 (bug 1467572)
Backed out changeset e295be61276e (bug 1467572)
Backed out changeset 41d85a6f8a2a (bug 1467572)
Backed out changeset 4e6b95a6c506 (bug 1467572)
Backed out changeset 36d459a24020 (bug 1467572)
Backed out changeset abb52c2c68ab (bug 1467572)
Backed out changeset 470b9ce4ba0f (bug 1467572)
Backed out changeset 37609995dc8f (bug 1467572)
Backed out changeset 636bf5ce96f7 (bug 1467572)
Backed out changeset 5880a55d2ee8 (bug 1467572)
Backed out changeset 0f19f84bb2ed (bug 1467572)
Backed out changeset e83526778ccd (bug 1467572)
Backed out changeset c42448ca6e4a (bug 1467572)
Backed out changeset 934fb24dad26 (bug 1467572)
Backed out changeset 6102b9ef805b (bug 1467572)
Backed out changeset 7aaea1245d27 (bug 1467572)
Backed out changeset 7793f8a2b14f (bug 1467572)
2018-08-16 03:43:41 +03:00
Gabriel Luong 8454e7f93d Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css
2018-08-15 17:27:43 -04:00
Gabriel Luong 443afc34b9 Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM
2018-08-15 17:27:41 -04:00
Gabriel Luong d4aed43757 Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman 2018-08-15 17:27:34 -04:00