Commit Graph
408 Commits
Author SHA1 Message Date
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
Sebastian Hengst 5973518cc6 Backed out changeset 92b07e6e84bf (bug 1265722) for failing test_animation_actor-lifetime.html because of undefined function InspectorFront. r=backout 2016-05-17 13:50:21 +02:00
Eddy Bruel e79d4fc43a Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02:00
Kumar McMillan 3684fadf77 Bug 1267870 - Refresh about:debugging when add-on manifest is reloaded. r=ochameau
MozReview-Commit-ID: Bf1V3XoX6Co
2016-05-12 11:39:58 -05:00
Eddy Bruel 270caf797d Bug 1265722 - Decouple WalkerFront from WalkerActor;r=jryans 2016-05-16 16:44:06 +02:00
Eddy Bruel d0c668755f Bug 1265722 - Decouple NodeListFront from NodeListActor;r=jryans 2016-05-16 14:14:29 +02:00
Eddy Bruel 8fa66e9173 Bug 1265722 - Decouple NodeFront from NodeActor;r=jryans 2016-05-16 14:04:42 +02:00
Chris Peterson 1e35dbdf75 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Carsten "Tomcat" Book 2c883425d5 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron 50ddd15ed9 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
J. Ryan Stinnett 36f85aaeff Bug 1271399 - Add shim for protocol.js to support old add-ons. r=ednapiranha
MozReview-Commit-ID: J5UGN5IBDUz
2016-05-10 12:10:00 +02:00
Eddy Bruel 8f47116a5f Bug 1268458 - Decouple CustomHighlighterFront from CustomHighlighterActor;r=jryans 2016-05-11 11:09:46 +02:00
Ryan VanderMeulen 07256de665 Merge m-c to inbound. a=merge 2016-05-26 11:22:27 -04:00
Tim Huang f3c87ef67d Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-25 11:54:21 +08:00
Patrick Brosset a08f8085bf Bug 1069829 - 3 - Clean styles.js off of eslint errors; r=me
MozReview-Commit-ID: JxEJRM3KUPQ
2016-05-10 13:29:55 +02:00
Patrick Brosset 7a1b8f182c Bug 1069829 - 2 - Don't use cssPropertyIsValid in the rule-view UI, get the info from the server instead; r=tromey
- StyleRuleActors now parse declarations and send them within the form
- Each declaration also contains isValid flag
- Parsing is still done client side for old backends (back compat)
- Declarations are sent with the form, so updated every time the rule changes
- Also made StyleRuleActors send the declarations array for element styles, and made canSetRuleText true for this, since we can simply set the style attribute

MozReview-Commit-ID: 2nI4bRyvwwi
2016-04-29 09:30:02 +02:00
Eddy Bruel e868c03570 Bug 1268458 - Decouple HighlighterFront from HighlighterActor;r=jryans 2016-05-10 11:07:03 +02:00
Nicolas Chevobbe 7e43edb7f2 Bug 958167 - Use Inspector DevToolsUtils.makeInfallible in inspector actor instead of its own version. r=fitzgen
MozReview-Commit-ID: 4U7DCDFhQ6Y
2016-05-08 10:51:14 +02:00
Eddy Bruel 48e199eb06 Bug 1268568 - Decouple StyleRuleFront from StyleRuleActor;r=jryans 2016-05-09 13:55:00 +02:00
Eddy Bruel 50ded1eb77 Bug 1268568 - Decouple PageStyleFront from PageStyleActor;r=jryans 2016-05-09 13:13:25 +02:00
Carsten "Tomcat" Book fbc07c9db3 merge mozilla-inbound to mozilla-central a=merge 2016-05-09 11:17:59 +02:00
Jennifer Fong bb0e5b8001 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Eddy Bruel d4474c4fe9 Bug 1268461 - Decouple StyleSheetsFront from StyleSheetsActor;r=jryans 2016-05-06 08:09:20 +02:00