Commit Graph
5666 Commits
Author SHA1 Message Date
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
Jonathan Hao e1413ee143 Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP
2017-04-11 10:14:09 +08:00
Jonathan Hao bdc5bb9a8e Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI
2017-04-11 10:14:08 +08:00
Jonathan Hao c5f9f458c1 Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm
2017-04-11 10:14:08 +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
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
Jonathan Hao e2c58a1fc1 Bug 1342178 - Regression tests for HSTS/HPKP information in private browsing window. r=Honza,keeler
MozReview-Commit-ID: FqRj6RL7noP
2017-04-06 15:43:32 +08:00
Jonathan Hao 5988b6b957 Bug 1342178 - Rename test_network_security-hpkp.html. r=Honza,keeler
MozReview-Commit-ID: I82vZXxJgTI
2017-04-06 15:43:32 +08:00
Jonathan Hao 8a5a45eeaa Bug 1342178 - Combine test_network_security-{hsts/hpkp}.html. r=Honza,keeler
MozReview-Commit-ID: 3xXdOa1j7hm
2017-04-06 15:43:31 +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
Ricky Chien 4c1c62da60 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG
2017-04-01 23:01:06 +08:00
Ricky Chien eef7b9dc95 Bug 1352699 - Fix gStore instance issue in NetMonitorController r=Honza
MozReview-Commit-ID: CWAnmdEtJwc
2017-04-01 16:39:41 +08:00
Ricky Chien 77179eebf0 Bug 1352699 - Access single Services.prefs instance r=Honza
MozReview-Commit-ID: GS77TZqwFc
2017-04-01 12:32:27 +08:00
Fred Lin 2ae6b0876b Bug 1343774 - remove unused functions;r=Honza
MozReview-Commit-ID: CCB8o7mXOPR
2017-04-07 11:55:13 +08:00
Sebastian Hengst 167df2d0a0 Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH
2017-04-09 21:53:18 +02:00
Tim Nguyen 4dca853eb6 Bug 1306986 - Fix occurances of :-moz-locale-dir affecting HTML devtools panels. r=jdescottes
MozReview-Commit-ID: Bi2s5Eq9Qap
2017-04-09 23:48:22 +02:00
Sebastian Hengst 97aa38e1ee Backed out changeset f74ec3b3a49a (bug 1352801) for eslint failure. r=backout 2017-04-09 22:33:34 +02:00
Sebastian Hengst 48d58dafbd Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH
2017-04-04 11:12:26 +02:00
Tim Nguyen 36ee8ecc6d Bug 1041895 - Add support for different flags with text filtering. r=rickychien
MozReview-Commit-ID: GvHXYIxwFrM
2017-04-09 17:42:00 +02:00
Sebastian Hengst cd36d1bb46 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Mayank Srivastav 2ef5980a23 Bug 1156019 - Fix the issue of background-size property, regenerated properties css database & updated tests. r=xidorn
MozReview-Commit-ID: ACRxUEWBbSM
2017-04-07 11:01:00 -04:00
Sebastian Hengst ac4b036820 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 f8101acc83 Bug 1353706 – Update errordocs mapping to include more JS errors. r=Honza 2017-04-06 06:17:00 -04:00
Gabriel Luong fdf98b4cf2 Bug 1350046 - Fix react-related errors in the layout panel. r=jdescottes 2017-04-07 13:11:33 -04:00
Phil Ringnalda fa2493e3b6 Backed out 2 changesets (bug 1343167) for mass failures in browser_inspector_textbox-menu.js
Backed out changeset 6aa495cd9908 (bug 1343167)
Backed out changeset 98d4fa0f8bf8 (bug 1343167)
2017-04-06 21:01:43 -07:00
Wes Kocher c48a5e31ea Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Sebastian Hengst 1237a754a2 Backed out changeset ed9cefa8d2db (bug 1352699) for failing talos damp test. r=backout 2017-04-06 20:16:01 +02:00
Sebastian Hengst 535c940473 Backed out changeset 259e15518d23 (bug 1352699) 2017-04-06 20:15:19 +02:00
Sebastian Hengst 25599432c0 Backed out changeset a3ef74b43978 (bug 1352699) 2017-04-06 20:15:15 +02:00
Sebastian Hengst 9b8cf15709 Backed out changeset 5ce4dbfe0248 (bug 1352699) 2017-04-06 20:15:10 +02:00
Sebastian Hengst 0471d34fb4 Backed out changeset b4ea2d6a8a14 (bug 1352699) 2017-04-06 20:15:06 +02:00
Gabriel Luong 43872cab17 Bug 1343167 - Fix eslint errors in BoxModelMain.js. r=me 2017-04-06 12:08:35 -04:00
Gabriel Luong 4de2240a29 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
Stoyan Dimitrov 782de731a1 Bug 1045273 - "[gcli] optional parameters labeled as 'helpManOptional', not as optional in help" r=mratcliffe
MozReview-Commit-ID: HFGkU77huBw
2017-04-04 05:48:00 +01:00
Carsten "Tomcat" Book f00871f796 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Stanford Lockhart 6fe9bac8a1 Bug 1352790 - Don't rotate box model position labels. r=gl
MozReview-Commit-ID: LtIwkkFebwt
2017-04-04 16:36:38 -03:00
Jan Odvarko 405eeb102f Bug 1353006 - Stop using sdk/window/utils in JSONViewer; r=jryans
MozReview-Commit-ID: 5znvDLtUjWO
2017-04-05 15:00:31 +02:00
Jan Odvarko 289c4a3dc4 Bug 1353006 - Stop using sdk/clipboard in JSONViewer; r=jryans
MozReview-Commit-ID: AQXsf3DQdS9
2017-04-05 14:57:49 +02:00
Jan Odvarko e16e74839d Bug 1353006 - Stop using sdk/dom/events in JSONViewer; r=pbro
MozReview-Commit-ID: CxpW8aysaSJ
2017-04-05 14:35:16 +02:00
Patrick Brosset 624e2bd7e3 Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans
MozReview-Commit-ID: Fgu72wGpFK1
2017-04-07 22:00:00 +02:00
Patrick Brosset e98cd9dee2 Bug 1353012 - Use the ObserverService in webaudio actor instead of sdk/system/events; r=jdescottes
MozReview-Commit-ID: DxNf72egWVP
2017-04-05 15:44:46 +02:00
Patrick Brosset 06ab6e4378 Bug 1354587 - Move the RDP docs to the tree; r=pbro
Just a copy of the existing wiki article. No review needed.

MozReview-Commit-ID: 5P03t3QI6Wh
2017-04-07 17:55:34 +02:00
Locke Chen 03c7eb072c Bug 1350229 - Removing Preview side panel. r=rickychien
MozReview-Commit-ID: aDksj7VKAp
2017-04-07 23:31:18 +08:00
J. Ryan Stinnett 0ec08eee8e Bug 1352157 - Avoid listTabs for global actors. r=ochameau
Adds a new `getRoot` request to the root actor which lists the global actors
only (leaving out the tabs).  This is a much better fit for callers who want to
access some global actor only, since it avoids visiting every tab, which could
be a very expensive operation.

MozReview-Commit-ID: 1lIAuaV7zoF
2017-04-06 23:00:22 -05:00
J. Ryan Stinnett ca88cfaf4a Bug 1352157 - Improve root actor style with async / await. r=ochameau
MozReview-Commit-ID: 3UspkZ63auc
2017-04-06 22:25:34 -05:00