Commit Graph
437 Commits
Author SHA1 Message Date
Jarda Snajdr 1195d4388b Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: CJBVpjvmWgh
2016-06-01 01:03:00 +02:00
J. Ryan Stinnett eb8fd465df Bug 1277674 - Explicitly require Services in source actor. r=tromey
It was being implicitly loaded into modules by a single arg Cu.import elsewhere
in the code base, but only if JSON Viewer is enabled (Dev. Ed and Nightly
channels).  I plan to address the Cu.import issue more thoroughly over in bug
1193390.

MozReview-Commit-ID: 6AGJGqYvw3c
2016-06-03 13:38:23 -05:00
Wes Kocher 3a5de9df0e Backed out 3 changesets (bug 1134073) because maybe it broke the clipboard tests
Backed out changeset a43d99734390 (bug 1134073)
Backed out changeset 572ebec612e8 (bug 1134073)
Backed out changeset f12a69ba9122 (bug 1134073)
2016-06-03 14:01:27 -07:00
Nick Fitzgerald 62fe667a78 Bug 1277707 - Follow up: fix syntax error introduced in bad rebase; r=me 2016-06-03 12:25:26 -07:00
Jarda Snajdr eafc849594 Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend. r=ochameau 2016-06-03 16:26:35 +02:00
Nick Fitzgerald b9dff3a9a7 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 9792c25f51 Bug 1265719 - Decouple the CanvasFront and FrameSnapshotFront from the CanvasActor and FrameSnapshotActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 31ebc542b4 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 6783a8670c Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald f73f769f2f Bug 1277634 - Decouple the CallWatcherFront and FunctionCallFront from the CallWatcherActor and FunctionCallActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 5eafdd48d6 Bug 1277622 - Use ActorClassWithSpec for the HeapSnapshotFileActor; r=ejpbruel
We don't have a HeapSnapshotFileFront, this actor is used under the covers in
the MemoryFront, but we should work towards all actors being defined in the
WithSpec way.
2016-06-03 10:45:10 -07:00
Matteo Ferretti 367a79dfff Bug 1260043 - removed doc.hidden check from markup/utils; r=ochameau
MozReview-Commit-ID: BN2P5dfqerK
2016-06-03 16:38:42 +02:00
Julian Descottes 57e700921c Bug 1202458 - part4: update inspector actor&front tests after removing shortValue;r=pbro
Adapt existing tests checking for updates to shortValue and incompleteValue on
NodeFront instances. Instead we now check for mutations of inlineTextChild type
as well as for the inlineTextChild property of the parent front.

MozReview-Commit-ID: 1mujxwVfvvP
2016-06-02 16:25:56 +02:00
Julian Descottes 04c7b09780 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q
2016-05-31 16:51:27 +02:00
Julian Descottes bce6faa3ed Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L
2016-06-02 10:35:03 +02:00
Julian Descottes f53bd5b9dd Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN
2016-06-02 10:41:49 +02:00
Kumar McMillan ccb419f4dd Bug 1277054 - Handle exited add-on actors after reload. r=ochameau
MozReview-Commit-ID: 6WFI51GJ3ea
2016-05-31 15:40:19 -05:00
Nick Fitzgerald 310d7ceb25 Bug 1277414 - Remove the memprof actor; r=ejpbruel 2016-06-02 10:04:27 -07:00
Eddy Bruel 037e160b4a Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 17:42:24 +02:00
Carsten "Tomcat" Book d83db65f33 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Carsten "Tomcat" Book b7f6aae389 Backed out changeset 49d7963e43d8 (bug 1202458) for test failures in test_inspector-mutations-value.html 2016-06-02 16:30:08 +02:00
Carsten "Tomcat" Book 740a6e2789 Backed out changeset e74192b1a9c8 (bug 1202458) 2016-06-02 16:29:47 +02:00
Carsten "Tomcat" Book 0ec6fcc874 Backed out changeset b6ba2b9fbe8a (bug 1265730) for bc7 failures in browser_parsable_script.js 2016-06-02 15:59:07 +02:00
Matteo Ferretti d69b56cae7 Bug 1258718 - Simplify highlighters.css adding CSS variables; r=pbro
MozReview-Commit-ID: GyHXNfCxb9f
2016-06-02 13:39:54 +02:00
Julian Descottes 75cc226f5f Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q
2016-05-31 16:51:27 +02:00
Julian Descottes aa7c469655 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L
2016-06-02 10:35:03 +02:00
Julian Descottes 57f9c7e9d0 Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN
2016-06-02 10:41:49 +02:00
Eddy Bruel 284061427c Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
J. Ryan Stinnett 458af0e0f3 Bug 1269457 - Only set breakpoints for pending bp actors. r=ejpbruel
The special code path carved out in bug 1225160 dropped the `actor.isPending`
check which causes many, many attempts to set a breakpoint on every new source
notification, leading to a very slow debugging experience.

MozReview-Commit-ID: A3pnHzh5eeh
2016-06-01 10:59:24 -05:00
Nicolas Chevobbe 691dd41d9a Bug 1253869 - Don't assume that rule in the Rules view match the selected node when checking for overidden properties. r=gl
Unmatched rules created via the "Add New Rule" button was wrongfully make other rules look not applied.
Fix returned isMatching boolean in PageStyleActor's function when the evaluated rule has multiple selectors.
Add CSS rules to make look unmatched rules' properties unmatched, like the rule's selector.
Add tests to make sur we handle unmatch rule selectors right.

MozReview-Commit-ID: FPQ7XJoa7Ba
2016-05-25 18:16:26 +02:00
Greg Tatum a8e55a89a4 Bug 1265798 - Implement CSS database to query css properties r=pbro
MozReview-Commit-ID: CAUh2GyeA2o
2016-05-26 08:48:00 -07:00
Ryan VanderMeulen c30b32a25e Merge inbound to m-c. a=merge 2016-05-26 21:45:18 -04:00
Alexandre Poirot 54c5d8e3da Bug 1270179 - Improve performances when inspecting big typed arrays in the console. r=jsnajdr,ejpbruel 2016-05-26 09:12:17 -07:00
Eddy Bruel 47088b082e Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Eddy Bruel 692404396a Bug 1265730 - Fix test failures from previous commit;r=me CLOSED TREE 2016-05-26 12:39:08 +02:00
Eddy Bruel 92e1c8bd08 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-05-26 08:46:03 +02:00
Tom Tromey c7b9386344 Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
MozReview-Commit-ID: GyoP6ApQXVc
2016-05-13 14:27:28 -06:00
Patrick Brosset 8c1b03880b Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
MozReview-Commit-ID: 75Yq1X4YjjJ
2016-05-23 14:03:12 +02:00
Carsten "Tomcat" Book ce217fc28c Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel 65905bdb9f Bug 1265730 - Change the order in which the Style Editor actors are defined;r=jryans 2016-05-25 12:07:38 +02:00
Eddy Bruel deb0e4acfe Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
Kumar McMillan 548f98817f Bug 1273183 - Install a temporary add-on via remote debugging. r=jryans
MozReview-Commit-ID: FoEZxDjldIA
2016-05-20 11:36:04 -05:00
Carsten "Tomcat" Book bfced16d02 Backed out changeset 25a5ae2711f3 (bug 1265718) for test failures in browser_animation_emitMutations.js 2016-05-24 14:17:34 +02:00
Eddy Bruel f23705afb0 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-24 11:33:25 +02:00
Eddy Bruel 80c68f8658 Bug 1265718 - Decouple AnimationPlayerFront from AnimationPlayerActor;r=jryans 2016-05-24 11:27:38 +02:00
Chris Frey 6e13db655f Bug 1272208 - Use classList instead of className for testing if SVG node has classes. r=pbro
MozReview-Commit-ID: 5wq8NKYXGVx
2016-05-23 08:06:00 -04:00
Wes Kocher 18fc6fa5e3 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Wes Kocher 2acc77027c Merge fx-team to central, a=merge 2016-05-20 14:14:00 -07:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
Nicolas Chevobbe deedc3ec29 Bug 1270215 - Ensure we display properly cased node names all across the devtools. r=jdescottes
Add a displayName property on the NodeActor, which compute from Element.prefix + Element.localName.
The computation is made by a getNodeDisplayName function which can be imported wherever needed.
Edit some tests to ensure we correctly display node names.

MozReview-Commit-ID: 6z0G3ynbMoU
2016-05-12 07:18:58 +02:00