Commit Graph
1180 Commits
Author SHA1 Message Date
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
Greg Tatum 4aebc40c28 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Tim Nguyen 5f2a4cc3ab Backed out 3 changesets (bug 1134073) for browser_net_statistics-01.js failures
Backed out a58743e540f5 (bug 1134073)
Backed out 616b2bbf8fd0 (bug 1134073)
Backed out 691b0e0a6ca1 (bug 1134073)

MozReview-Commit-ID: 3LwVxPXX8SZ
2016-06-04 19:01:29 +02:00
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
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
Kumar McMillan 6a1b3df197 Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
MozReview-Commit-ID: ERSpt8X9MD8
2016-05-16 16:08:46 -05:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Jarda Snajdr af22b95c69 Bug 1268460 - Part 3: ESLint cleanup of storage.js r=mratcliffe 2016-05-17 11:57:44 -07:00
Jarda Snajdr 45b190298e Bug 1268460 - Part 2: Use sendAsyncMessage in IndexedDB storage actor r=mratcliffe 2016-05-17 11:57:30 -07:00
Jarda Snajdr 3bc49fbbd0 Bug 1268460 - Part 1: Errors when deleting an IndexedDB database are not handled r=mratcliffe 2016-05-17 11:57:21 -07:00
Eddy Bruel 45cf19584e Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel 0ea1ecb6b6 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00