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

930 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 61ed56921b Merge m-c to inbound, a=merge 2017-04-18 14:38:53 -07:00
Michael Layzell 5649a1dff0 Bug 1354635 - Part 2: Wrap JS line in devtools to satisfy eslint, a=bustage
MozReview-Commit-ID: AJrmTsonET2
2017-04-18 15:28:38 -04:00
Michael Layzell ab79668929 Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb
MozReview-Commit-ID: 8cUh5znQcFN
2017-04-18 14:38:56 -04:00
Daisuke Akatsuka 9a2f64b9e1 Bug 1210796 - Part 2: Visualize each properties. r=pbro
MozReview-Commit-ID: Hjb1QyOMNZR

--HG--
extra : rebase_source : 8ee1a7249453ed701f40c5f0a8fc0118cee8dd39
2017-04-18 12:15:54 +09:00
Florian Queze 4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione 0ee4a22385 Bug 1314861: Minor optimization: Define globals for shared sandbox modules on the sandbox rather than each module. r=ochameau
MozReview-Commit-ID: Lre6L2u4Y2r

--HG--
extra : rebase_source : 118422fee9361152037f7746fa4beaffa6d5157d
2017-04-14 16:13:41 -07:00
Kris Maglione e1feed9d51 Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd

--HG--
rename : toolkit/components/extensions/ExtensionContent.jsm => toolkit/components/extensions/extension-process-script.js
extra : rebase_source : cc473732c152fa2ac47202a8c5634e4a68a30763
extra : absorb_source : 4a9b52534bee64e907e61f3bb229b0ad7849c097
2017-04-14 17:00:51 -07:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 875f27030a merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Eugen Sawin 0b1bae9e19 Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
Julian Descottes 7500121261 Bug 1355886 - fix regression when undoing delete node next to a whitespace sibling;r=pbro
MozReview-Commit-ID: GDYzsbCiQcI

--HG--
extra : rebase_source : 731b51aa56a31f9cc8e65628bc158278c2287582
2017-04-12 18:59:28 +02:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07: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
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
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
Patrick Brosset 498369fdf0 Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans
MozReview-Commit-ID: Fgu72wGpFK1

--HG--
rename : devtools/client/locales/en-US/eyedropper.properties => devtools/shared/locales/en-US/eyedropper.properties
extra : rebase_source : 25ceb960d644fea262caa4d2535f2d306f79aff2
2017-04-07 22:00:00 +02:00
Patrick Brosset f5dd02cc37 Bug 1353012 - Use the ObserverService in webaudio actor instead of sdk/system/events; r=jdescottes
MozReview-Commit-ID: DxNf72egWVP

--HG--
extra : rebase_source : eb13d6865e61429cb428c654bc38d7ef7ccd4cb1
2017-04-05 15:44:46 +02:00
J. Ryan Stinnett f9f3e1275b 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

--HG--
extra : rebase_source : bf64ee1298591f26ffa4c6a660cca52145084b66
2017-04-06 23:00:22 -05:00
J. Ryan Stinnett 926b7c208f Bug 1352157 - Improve root actor style with async / await. r=ochameau
MozReview-Commit-ID: 3UspkZ63auc

--HG--
extra : rebase_source : 5af879ca85fefbfba8cdb9851e4cf374a3a7a106
2017-04-06 22:25:34 -05:00
Julian Descottes 0e9ee02fa8 Bug 1341612 - align grid highlighter numbers with lines and increase readability;r=zer0
MozReview-Commit-ID: AGmWT3gmzL0

--HG--
extra : rebase_source : 1c76ac614898a8350e26495730f1cc5d9af01572
2017-03-28 20:42:00 +02:00
nchevobbe 5534f094a3 Bug 1347490 - Return isConnected in node grip to indicate if a node is in the DOM tree. r=ochameau
node.isConnected (see https://dom.spec.whatwg.org/#dom-node-isconnected) returns true if the node is
in the DOM tree (including in a shadowDOM tree), which can be used in the frontend to display additional
tools and information.

MozReview-Commit-ID: LjUbkc7VPcB

--HG--
extra : rebase_source : b43644cf869663412a9ed6b956093e7a41afb01f
2017-04-04 12:08:54 +02:00
J. Ryan Stinnett ee3845099d Bug 1353559 - Filter out exited browsers from tab list. r=ochameau
This adds higher level protection to ignore exited browser actors, so we don't
end up triggering methods like `form` on them, since they won't make much sense
anyway.

MozReview-Commit-ID: KgUCA04N2fY

--HG--
extra : rebase_source : 4dbf0dfe0a21755796625106840209bed0f9db82
2017-04-05 07:27:30 -05:00
J. Ryan Stinnett 54d3dab9ca Bug 1353559 - Guard against null browser in exited actor. r=ochameau
MozReview-Commit-ID: 4TZZMywFIdu

--HG--
extra : rebase_source : 73a3f1cdff33d29604d76e2163ab5ce485525332
2017-04-04 17:41:30 -05:00
Patrick Brosset d64e4e25b7 Bug 1353010 - Remove the unused director-manager/registry API; r=ochameau
MozReview-Commit-ID: 3TZUs0MAhAi

--HG--
extra : rebase_source : a8fbdc1d5372ee60a77e5f31e297789b679dd740
2017-04-05 10:44:07 +02:00
bechen 7b4c35c268 Bug 1318542 - fix testcases due to new pseudo element ::cue. r=heycam
MozReview-Commit-ID: F10y2zTtBoT

--HG--
extra : rebase_source : 8d6ab4a78c1fcd62dc688e9b31f7f1b6fb4056fc
2017-04-05 10:50:58 +08:00
Matteo Ferretti c69aedcdd8 Bug 1345434 - Implementation of a virtual canvas technique for grid highlighter; r=pbro
A virtual canvas is basically a canvas that seems bigger than is actually is.
The technique consists in moving a fixed sized canvas during the scrolling, when
is needed, to give the illusion that it always covers the entire document.

MozReview-Commit-ID: Hp4cUZaBdm8

--HG--
extra : rebase_source : 536891732a6247103734d60f9d8720dc2131815f
2017-04-04 15:11:04 +02:00
Patrick Brosset bcf9b2f668 Bug 1338582 - New devtools highlighter for signaling paused state; r=jlast
This adds a new highlighter to our collection of highlighters.
This one is a simple overlay on top of the page and a message at the
top.
It will be used by the debugger to signal to users that script execution
is paused.

In later versions, the message at the top will also contain stepping and
resuming buttons.

MozReview-Commit-ID: JNGWrVjMzkm

--HG--
extra : rebase_source : 2006068b82f808c284aebe9f1f364970bda428c5
2017-04-04 12:03:03 +02:00
Patrick Brosset 4472fb4e88 Bug 1352369 - Delete unused RectHighlighter CSS; r=zer0
MozReview-Commit-ID: Gz0m9fLJyKS

--HG--
extra : rebase_source : 4b2c0cc5dae43e8a8df3a6f73f94f038881e27a4
2017-03-31 12:23:59 +02:00
Julian Descottes 9791406fea Bug 1350499 - exclude styles for pseudo-els when building boxmodel widget;r=gl
MozReview-Commit-ID: GSoqlJ97KT7

--HG--
extra : rebase_source : 8cceb22ad3a7326f72a3a112a904a741f2017f45
2017-03-29 15:41:42 +02:00
Rahul Chaudhary dd5683bd4f Bug 1332090 - Added a contrast ratio component to the Color Widget. r=pbro
MozReview-Commit-ID: 9FA0h9ST62E
2017-02-20 22:27:22 -05:00
Gabriel Luong 7ab5ac6467 Bug 1350894 - Check if the node is dead in getOffsetParent. r=pbro 2017-03-30 00:10:40 -04:00
Matteo Ferretti c2450fbc4d Bug 1349275 - refactored `moveInfobar` function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr

--HG--
extra : rebase_source : c5abac64217ee0b86413594461fb6a50d5df655e
2017-03-28 12:40:22 +02:00
Iris Hsiao b26415ec87 Backed out changeset 448adfbcfda1 (bug 1349275) for eslint failure
--HG--
extra : rebase_source : 0728e29de869800694671a1133fa7c9beb66df06
2017-03-29 10:29:13 +08:00
Matteo Ferretti 4f078211da Bug 1349275 - refactored `moveInfobar` function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr

--HG--
extra : rebase_source : 8c599a323ff51f1e032405fae47674b695c75b86
2017-03-28 12:40:22 +02:00
Michael Ratcliffe 4257730704 Bug 1350525 - Storage Inspector should trim port from hosts for cookies r=pbro
MozReview-Commit-ID: FfsfiXTt96o

--HG--
extra : rebase_source : 1a06fe13348c07d86435d195ab6610aa225cee05
2017-04-11 17:09:40 +01:00
Andrew McCreight 855f08b5d6 Bug 1350435 - Compute snapshot ID in the parent process. r=fitzgen,smaug
The parent and content processes can have different temp directories
when sandboxing is enabled, so the process that creates the file for a
heap snapshot must also determine the snapshot ID.

MozReview-Commit-ID: 2UuncT54NXc

--HG--
extra : rebase_source : 350e49bf7c570abfdde457a89ee8922f8cdb8b7d
2017-03-24 10:34:44 -07:00
Alexandre Poirot 523f358ad5 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz

--HG--
extra : rebase_source : 429b0ca6ad020acb4cf14e01e0856b9f0d512c12
2017-03-23 18:53:57 +01:00
Stanford Lockhart 5a70065aab Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart b598497c17 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart ab224ce876 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Iris Hsiao 5c092525e2 Backed out 5 changesets (bug 1345119) dor mochitest failure in test_inspector_getOffsetParent.html
Backed out changeset c9be65ad95f6 (bug 1345119)
Backed out changeset 4e4817e5b6d4 (bug 1345119)
Backed out changeset 6a01debcc43c (bug 1345119)
Backed out changeset 2c6f67f420d0 (bug 1345119)
Backed out changeset ba020c15393d (bug 1345119)
2017-03-24 15:01:47 +08:00
Gabriel Luong 06f7801997 Bug 1345119 - Part 5: Fix eslint errors in unit tests. r=me 2017-03-23 16:13:33 -04:00
Stanford Lockhart a62beb9141 Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart 62dca58cd5 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart c14b867866 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Sebastian Hengst 4fe41935d8 Backed out changeset 9c1ee3920ea3 (bug 1345119) 2017-03-23 22:00:26 +01:00
Sebastian Hengst 4effb09bd2 Backed out changeset 14ff5693848f (bug 1345119) 2017-03-23 22:00:22 +01:00
Sebastian Hengst a36d012f45 Backed out changeset c67e5d94d6c3 (bug 1345119) 2017-03-23 22:00:18 +01:00