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

5692 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher 25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Ryan VanderMeulen 76465a7527 Bug 1353736 - Fix whitespace and line wrapping issues. r=eslint
--HG--
extra : rebase_source : b9d2fa9548a149057efd724082d432e4e48f9934
2017-04-12 12:10:41 -04:00
Christoph Kerschbaumer 363da9f561 Bug 1353736 - Add regression test for JSON viewer after updating triggeringPrincipal. r=gijs 2017-04-12 14:52:37 +02:00
nchevobbe 046d04f0c2 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

--HG--
extra : rebase_source : 6f3766f9bb49d677a8f90adc0e8db7c34fa9e8bb
2017-04-11 11:43:46 +02:00
nchevobbe f474eb2348 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

--HG--
extra : rebase_source : 770af4e62eaa779cab75179ed9789c4b102cb4d6
2017-04-11 11:41:36 +02:00
nchevobbe e11e542a41 Bug 1088900 - Add backend tests for console.group custom styling. r=bgrins
MozReview-Commit-ID: IINPZWea2En

--HG--
extra : rebase_source : b185f66e240448e5fc2858c9454ecd33439dd514
2017-04-12 10:27:30 +02:00
Ruturaj K. Vartak a3de551a16 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 d13a81eccb Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Phil Ringnalda 92aeb9b04c 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 611e641acc Bug 1344016 - Update styling of about:debugging for add-ons r=jdescottes
MozReview-Commit-ID: CGCoX6mtuv4

--HG--
extra : rebase_source : 17754a44fc7fcf15aa914f5c2cea18354038dede
2017-04-05 16:35:44 -05:00
Micah Tigley 52c25ed101 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
Micah Tigley de14211084 Bug 1347338 - Add ability to grid line name in grid highlighter. r=gl
MozReview-Commit-ID: JvBsGTFxvbL
2017-04-07 21:48:22 -06:00
Gabriel Luong ea4f15cb3b 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 d50c66c519 Backed out changeset c844ec70bdb4 (bug 1342178) for frequently timing out in test_network_security.html on Linux. r=backout a=backout
MozReview-Commit-ID: 3NVZcUPRc2c
2017-04-11 11:28:59 +02:00
Sebastian Hengst 3e76c1c967 Backed out changeset 87912394d7d7 (bug 1342178)
MozReview-Commit-ID: FyZbX7H2TFu

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-11 11:28:15 +02:00
Sebastian Hengst d2836098c4 Backed out changeset db96edf786de (bug 1342178)
MozReview-Commit-ID: 2tMaP9n3ug5
2017-04-11 11:28:10 +02:00
Sebastian Hengst 51beeffdec Backed out changeset bc87945ba833 (bug 1342178)
MozReview-Commit-ID: 2TLlzk8hOZY
2017-04-11 11:28:05 +02:00
Jonathan Hao e5a3b0c533 Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : 2512cb3e403093e0f18b3b979d7b4a10e3d7c42b
2017-04-11 10:14:10 +08:00
Jonathan Hao 982f32390b Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP

--HG--
extra : rebase_source : d1e3fa960be5821bfb3aa4a5faebe5031c88939d
2017-04-11 10:14:09 +08:00
Jonathan Hao 51a55f3e01 Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI

--HG--
rename : devtools/shared/webconsole/test/test_network_security-hpkp.html => devtools/shared/webconsole/test/test_network_security.html
extra : rebase_source : 6f85d6e8727a98c3dd851948860e6694aa964442
2017-04-11 10:14:08 +08:00
Jonathan Hao b3c9a8ce3d Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm

--HG--
extra : rebase_source : 9e496b0cb1d38e6292b8540a6023f7f2c83451e2
2017-04-11 10:14:08 +08:00
Julian Descottes 6d54a87bb1 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

--HG--
extra : rebase_source : 31e7d3321abef04243b741196d4ca6279cefd53a
2017-04-06 23:17:03 +02:00
Wes Kocher 59b56514c9 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)

--HG--
rename : devtools/shared/webconsole/test/test_network_security.html => devtools/shared/webconsole/test/test_network_security-hpkp.html
2017-04-10 12:34:10 -07:00
Sebastian Hengst 75ef19148e merge mozilla-central to autoland. r=merge a=merge 2017-04-11 11:33:40 +02:00
Ricky Chien feac5ac63d Bug 1350224 - Support for loading ContextMenu in Launchpad r=gasolin
MozReview-Commit-ID: GXFz9ZtiBWy

--HG--
extra : rebase_source : d051b72876a14b62a9e79f8ee1b9336dd343cbbb
2017-04-10 23:38:48 +08:00
Fred Lin 63adc37c0d Bug 1352049 - Network panel documentation;r=Honza,rickychien
MozReview-Commit-ID: J4EZnTSmRDA

--HG--
extra : rebase_source : 297c51531b06a2509bffa4804af1f20528b703d4
2017-04-10 15:51:24 +08:00
J. Ryan Stinnett fefcbc4f99 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

--HG--
extra : rebase_source : ec2fbe68b7fe2f4d8e53b30d194dc026294b5f53
2017-04-07 13:14:26 -05:00
Jonathan Hao 851f486bfc Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO

--HG--
extra : rebase_source : e8cfe06ac3691d45bf97f61a3f5603cbec1bae39
2017-04-06 15:43:35 +08:00
Jonathan Hao f44e174e46 Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP

--HG--
extra : rebase_source : df632fb3b69955834531fdf9a996f7c04a008f81
2017-04-06 15:43:32 +08:00
Jonathan Hao 3a8f450157 Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI

--HG--
rename : devtools/shared/webconsole/test/test_network_security-hpkp.html => devtools/shared/webconsole/test/test_network_security.html
extra : rebase_source : ca38bb55d43c9ef22e2f74494c631af4a048abf4
2017-04-06 15:43:32 +08:00
Jonathan Hao eaff28bb6e Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm

--HG--
extra : rebase_source : ae273604e6a7a9e89c6082a04b3f8820ec2427bc
2017-04-06 15:43:31 +08:00
Phil Ringnalda a79eb1fa8e Backed out changeset fda9bea59c6f (bug 1345529) for timeouts in browser_markup_mutation_01.js 2017-04-10 08:18:03 -07:00
Julian Descottes 68eb222f26 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

--HG--
extra : rebase_source : 6230899f57b624ad8dd374f8f9e712f430acf9df
2017-04-06 23:17:03 +02:00
Vangelis Katsikaros 9307a44c96 Bug 966209 - Add a context menu for images in the Response panel. r=rickychien
MozReview-Commit-ID: B3aNoGxVBNQ

--HG--
extra : rebase_source : f87dae2df09bdb2dd192300dceefc9a80b636884
2017-04-10 12:21:36 +03:00
Ricky Chien 614a5e5e24 Bug 1352699 - Fix mochitest failures r=gasolin
MozReview-Commit-ID: HmlBgPkjxoS

--HG--
extra : rebase_source : 087b99e0a957347e5652924eb5770a4b1500a1fe
2017-04-09 16:55:13 +08:00
Ricky Chien b01b798a47 Bug 1352699 - Remove cyclic dependency in devtools loader r=Honza
MozReview-Commit-ID: 3tzqmyOGM7M

--HG--
extra : rebase_source : b4f5461af4c9d6a466489df94ea5733e1c7e0180
2017-04-09 16:51:41 +08:00
Ricky Chien 4a003809b3 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG

--HG--
extra : rebase_source : d50dd14c0532df7b0cb30c432af3de1dd55953a1
2017-04-01 23:01:06 +08:00
Ricky Chien ed84ed26de Bug 1352699 - Fix gStore instance issue in NetMonitorController r=Honza
MozReview-Commit-ID: CWAnmdEtJwc

--HG--
extra : rebase_source : 5d7f145bf29976c189b7675fae62ba7abba7c751
2017-04-01 16:39:41 +08:00
Ricky Chien 4bd13775e6 Bug 1352699 - Access single Services.prefs instance r=Honza
MozReview-Commit-ID: GS77TZqwFc

--HG--
extra : rebase_source : a6a7528d14bcb51bf9dd77e9da647ed38a57a7a7
2017-04-01 12:32:27 +08:00
Fred Lin 3d18a99f39 Bug 1343774 - remove unused functions;r=Honza
MozReview-Commit-ID: CCB8o7mXOPR

--HG--
extra : rebase_source : 707c92c992e00aa7de8c9d28a1d85b6f8ea44d28
2017-04-07 11:55:13 +08:00
Sebastian Hengst 2215f699e3 Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH

--HG--
extra : rebase_source : b046ca72d0bcbc400b8109d246f10509829fed03
2017-04-09 21:53:18 +02:00
Tim Nguyen c066dea37b Bug 1306986 - Fix occurances of :-moz-locale-dir affecting HTML devtools panels. r=jdescottes
MozReview-Commit-ID: Bi2s5Eq9Qap

--HG--
extra : rebase_source : e8be90311050f7c717fa885532249a3876ced3da
2017-04-09 23:48:22 +02:00
Sebastian Hengst e1a015ae5c Backed out changeset f74ec3b3a49a (bug 1352801) for eslint failure. r=backout 2017-04-09 22:33:34 +02:00
Sebastian Hengst 8975f9e7e1 Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH

--HG--
extra : rebase_source : 975341a1f31a04b45a746c9476d28c70d1b21109
2017-04-04 11:12:26 +02:00
Tim Nguyen 76d0710e86 Bug 1041895 - Add support for different flags with text filtering. r=rickychien
MozReview-Commit-ID: GvHXYIxwFrM

--HG--
extra : rebase_source : 91e217701e43cc78fd638c09f889ca16e81af35f
2017-04-09 17:42:00 +02:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Mayank Srivastav ae997781f5 Bug 1156019 - Fix the issue of background-size property, regenerated properties css database & updated tests. r=xidorn
MozReview-Commit-ID: ACRxUEWBbSM

--HG--
extra : rebase_source : 87876016c618465552bb86a21e12a5643cd530cc
2017-04-07 11:01:00 -04:00
Sebastian Hengst 6240016cff Backed out changeset bfbe5b157e77 (bug 1353706) for likely letting devtools' browser_webconsole_hpkp_invalid-headers.js fail. r=backout 2017-04-07 21:36:10 +02:00
Florian Scholz 3147efb1ca Bug 1353706 – Update errordocs mapping to include more JS errors. r=Honza 2017-04-06 06:17:00 -04:00