Commit Graph
6159 Commits
Author SHA1 Message Date
Locke Chen 3c8c5ed353 Bug 1327756 - Netmonitor divides js files into 2 groups when I sort by type. r=Honza
MozReview-Commit-ID: GnefodFPuHo
2017-04-17 13:56:07 +08:00
Ricky Chien d752c863a7 Bug 1356766 - Support HTMLTooltop when running launchpad on Chrome r=ntim
MozReview-Commit-ID: KNeN8hrJjdl
2017-04-15 15:28:29 +08:00
Fred Lin e2b9448410 Bug 1356126 - Move column react component to separate files;r=rickychien
MozReview-Commit-ID: HdLcKOHW0ag
2017-04-13 14:45:06 +08:00
Jan Odvarko 88f5780c6e Bug 1356586 - Properly exclude dirs for babel transpilation; r=rickychien
MozReview-Commit-ID: E2iLUstNiZq
2017-04-14 18:11:49 +02:00
Sebastian Hengst c609a620b6 merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Iris Hsiao 98dbf05642 merge autoland to mozilla-central a=merge 2017-04-14 17:09:58 +08:00
Wes Kocher 0fb3243c27 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07:00
Ricky Chien b13fd2c6f9 Bug 1356146 - Link webpack alias to m-c shared r=Honza
MozReview-Commit-ID: 8vFpxH1FdHy
2017-04-13 14:26:47 +08:00
Vangelis Katsikaros 6cae09e193 Bug 1354508 - Add filter option for network requests checking for a specific response header. r=ntim
MozReview-Commit-ID: E5wm5BgDJNU
2017-04-13 22:59:21 +03:00
J. Ryan Stinnett dd130633ce Bug 1346854 - Adjust network monitor test expectations. r=Honza
After the previous commit, we're now starting network listening at a different
point in toolbox startup.  We need to rework some test expectations to account
for the new timing.

MozReview-Commit-ID: 1lNDE51uVPS
2017-04-04 18:05:58 -05:00
Gabriel Luong dc8ea4459f Bug 1343167 - Add navigation for the box model's position, padding, border, margin and content layout. r=jdescottes 2017-04-06 11:24:38 -04:00
J. Ryan Stinnett 1fe6338d4c Bug 1346854 - Delay network listening until toolbox open. r=ochameau
Once upon a time (bug 862341), we decided to enable network listening by
default in DevTools.

In a general sense, that's fine.  When you open a toolbox, we listen to that
tab and stop listening when the toolbox closes.

GCLI / Developer Toolbar is quite different, though.  It connects to the whole
browser.  This meant that enabling GCLI would start listening to network
activity in *every* tab (even though it doesn't have any way to even use that
data).  This of course will slow down performance with all the extra tracking
and eat up memory with the tracked request data.

In this change, we move the step to enable network listening into the toolbox,
which seems more like what we intended anyway.

MozReview-Commit-ID: 2UYoQtWCAE1
2017-03-23 14:34:37 -05:00
Ricky Chien 973ff140fc Bug 1355833 - Fix broken context menu actions r=Honza
MozReview-Commit-ID: 4g8kLH5LD97
2017-04-13 20:48:46 +08:00
nchevobbe 72f4acabef Bug 1355869 - Delay scrollToBottom on next tick in console init. r=bgrins
The call to scrollToBottom could take a good amount of time if there were
already logged messages in the console. This might be related to the fact that
componentDidMount is called although there is some layout or paint work.
Delaying the first call to scrollToBottom in the component greatly reduced the
time spent in scrollToBottom.

MozReview-Commit-ID: F3cRYV4OFhm
2017-04-12 17:21:27 +02:00
Julian Descottes e3ca23cf09 Bug 1355886 - fix regression when undoing delete node next to a whitespace sibling;r=pbro
MozReview-Commit-ID: GDYzsbCiQcI
2017-04-12 18:59:28 +02:00
Patrick Brosset f5d60234ab Bug 1355064 - Build the markup-view DOM manually rather than with templater; r=jdescottes
MozReview-Commit-ID: LbULOa7UGq2
2017-04-10 14:55:58 +02:00
Fred Lin 6f05c479f3 Bug 1355760 - detect setImageElement to not run on Chrome browser tab;r=rickychien
MozReview-Commit-ID: 4RODBcbmDBo
2017-04-13 16:16:32 +08:00
Locke Chen 70d942e9c6 Bug 1351960 - 'Hide request details' (.network-details-panel-toggle) button should be always visible. r=ntim,rickychien
MozReview-Commit-ID: 5bLctr9mh7X
2017-04-13 14:22:39 +08:00
Jan Odvarko b830f46ea9 Bug 1356149 - Stop using flex for request list content; r=rickychien
MozReview-Commit-ID: KC1dg6cB4St
2017-04-13 10:13:20 +02:00
Ricky Chien ff76643d0b Bug 1350226 - Fix mochitest failures r=Honza
MozReview-Commit-ID: 4BVN0V26kjX
2017-04-09 18:11:08 +08:00
Ricky Chien b9fadd84f7 Bug 1350226 - Support for loading Editor in Launchpad r=gasolin,Honza
MozReview-Commit-ID: AHkG0KBQUTA
2017-04-08 18:33:07 +08:00
Alessio Placitelli d7a33d4843 Bug 1341996 - Prevent using empty keys in DEVTOOLS_JAVASCRIPT_ERROR_DISPLAYED. r=bgrins
MozReview-Commit-ID: 42ESILTpnAT
2017-04-12 17:33:36 +02:00
ehmpee 3c913dbc74 Bug 1350648 - Replace defer with new Promise in devtools/client/netmonitor directory. r=tromey 2017-04-13 11:51:31 -04:00
J. Ryan Stinnett 3b34991ad9 Bug 1085393 - Remove pre-Runtime ADB support. r=ochameau
Removes support for old versions of ADB Helper which haven't been in use for
years.

It also removes `test_telemetry` because it referenced this code and is also
disabled for all configurations in a product we intend to remove.

MozReview-Commit-ID: AUAbwxVczWb
2017-04-06 20:51:53 -05:00
Wes Kocher 197a1c4128 Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher 15e788d2f7 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Ryan VanderMeulen 2769b029e6 Bug 1353736 - Fix whitespace and line wrapping issues. r=eslint 2017-04-12 12:10:41 -04:00
Christoph Kerschbaumer 0ca805df56 Bug 1353736 - Add regression test for JSON viewer after updating triggeringPrincipal. r=gijs 2017-04-12 14:52:37 +02:00
nchevobbe 10db3c5e03 Bug 1088900 - Add mocha tests for custom styles on console.group messages. r=bgrins
Tests custom styles on both console.group and console.groupCollapsed messages.
Update the stubs to match what the server now returns.

MozReview-Commit-ID: KHhU8Ki0YUz
2017-04-11 11:43:46 +02:00
nchevobbe 06113d95bc Bug 1088900 - Use ConsoleMessage's "parameters" property for console.group. r=bgrins
Because we now enable custom styling on console.group, we can't rely solely on groupName
to output the group. We can have multiple pieces on which to apply different styles, like
for console.log, so we use the same properties to have the same behavior for custom styles.

MozReview-Commit-ID: 7IKl919Dg7a
2017-04-11 11:41:36 +02:00
Ruturaj K. Vartak b20c77aeb8 Bug 1344523 - Add IP Address in Network Monitor. r=ntim.
- using "Remote IP" as column label
- using "IP:Port" as the item value
- Keeping "Remote IP" hidden as default

MozReview-Commit-ID: rT84e4SJSY
2017-04-11 22:33:00 +02:00
Iris Hsiao 245d94e72e Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Phil Ringnalda c483a4a456 Backed out changeset 94720e6beec3 (bug 1343167) for still failing browser_inspector_textbox-menu.js too often
CLOSED TREE
2017-04-11 19:20:32 -07:00
Mark Striemer d3b41a75a4 Bug 1344016 - Update styling of about:debugging for add-ons r=jdescottes
MozReview-Commit-ID: CGCoX6mtuv4
2017-04-05 16:35:44 -05:00
Micah Tigley e34c8d53a1 Bug 1347336 - Display grid line name and position in Grid Highlighter. r=gl
MozReview-Commit-ID: EbUKzd5zqaw
2017-04-11 13:31:22 -06:00
Gabriel Luong 9ff7e33162 Bug 1343167 - Add navigation for the box model's position, padding, border, margin and content layout. r=jdescottes 2017-04-06 11:24:38 -04:00
Sebastian Hengst 5aafac9a24 Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Jonathan Hao 73b2bcb850 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO
2017-04-11 10:14:10 +08:00
Julian Descottes de2fed25f3 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6
2017-04-06 23:17:03 +02:00
Wes Kocher 91aa56ee3f Backed out 4 changesets (bug 1342178) for frequent test_network_security.html failures a=backout
Backed out changeset 7f9114ffbcae (bug 1342178)
Backed out changeset f19289f0cfef (bug 1342178)
Backed out changeset 4afce44bc2b9 (bug 1342178)
Backed out changeset db9b64a44012 (bug 1342178)
2017-04-10 12:34:10 -07:00
Sebastian Hengst a499d7e6e9 merge mozilla-central to autoland. r=merge a=merge 2017-04-11 11:33:40 +02:00
Ricky Chien c7e5970bb2 Bug 1350224 - Support for loading ContextMenu in Launchpad r=gasolin
MozReview-Commit-ID: GXFz9ZtiBWy
2017-04-10 23:38:48 +08:00
Fred Lin 1ee752ed98 Bug 1352049 - Network panel documentation;r=Honza,rickychien
MozReview-Commit-ID: J4EZnTSmRDA
2017-04-10 15:51:24 +08:00
J. Ryan Stinnett 9635941c7b Bug 1354614 - Remove legacy performance front. r=gregtatum
The legacy performance path supports servers running Firefox 42 and earlier.
Now that Firefox OS is no longer supported, there's no reason to keep this
around.

MozReview-Commit-ID: K40e93VUjj9
2017-04-07 13:14:26 -05:00
Jonathan Hao 19711b44eb Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO
2017-04-06 15:43:35 +08:00
Phil Ringnalda 667614e01d Backed out changeset fda9bea59c6f (bug 1345529) for timeouts in browser_markup_mutation_01.js 2017-04-10 08:18:03 -07:00
Julian Descottes d0cbbccb43 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6
2017-04-06 23:17:03 +02:00
Vangelis Katsikaros 7b456b6a92 Bug 966209 - Add a context menu for images in the Response panel. r=rickychien
MozReview-Commit-ID: B3aNoGxVBNQ
2017-04-10 12:21:36 +03:00
Ricky Chien 921b0e3db7 Bug 1352699 - Fix mochitest failures r=gasolin
MozReview-Commit-ID: HmlBgPkjxoS
2017-04-09 16:55:13 +08:00
Ricky Chien 413672f6d3 Bug 1352699 - Remove cyclic dependency in devtools loader r=Honza
MozReview-Commit-ID: 3tzqmyOGM7M
2017-04-09 16:51:41 +08:00