Commit Graph

391 Commits

Author SHA1 Message Date
Eddy Bruel
926642e614 Bug 1265718 - Decouple AnimationPlayerFront from AnimationPlayerActor;r=jryans 2016-05-24 11:27:38 +02:00
Chris Frey
b386996e65 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
2596f34110 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
fa48509cda Merge fx-team to central, a=merge 2016-05-20 14:14:00 -07:00
Tom Tromey
0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
Nicolas Chevobbe
62400e0cd7 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

--HG--
extra : transplant_source : %E0%AFM%88D%BC%AD%08%1D%A4%FB%F2%5D%9E%D3%90%DE%94%EC%CD
2016-05-12 07:18:58 +02:00
Kumar McMillan
3486e7ec70 Bug 1273184 - Don't allow reloading of unsupported add-ons. r=ochameau
MozReview-Commit-ID: ERSpt8X9MD8

--HG--
extra : transplant_source : C%20%A4%00%23%E8%05%F7A%AC%2C%A6%A3K%83%8Cp%88%C9%11
2016-05-16 16:08:46 -05:00
J. Ryan Stinnett
30b2b7ce44 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
67e37ffc16 Bug 1268460 - Part 3: ESLint cleanup of storage.js r=mratcliffe 2016-05-17 11:57:44 -07:00
Jarda Snajdr
64fa12651e Bug 1268460 - Part 2: Use sendAsyncMessage in IndexedDB storage actor r=mratcliffe 2016-05-17 11:57:30 -07:00
Jarda Snajdr
b915fbd241 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
6e33d93476 Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel
4653191749 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00
Sebastian Hengst
ca6ba48e39 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
02ce04286e Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02:00
Kumar McMillan
9f37ecb374 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
c6ba11793c Bug 1265722 - Decouple WalkerFront from WalkerActor;r=jryans 2016-05-16 16:44:06 +02:00
Eddy Bruel
7f3fbd2eac Bug 1265722 - Decouple NodeListFront from NodeListActor;r=jryans 2016-05-16 14:14:29 +02:00
Eddy Bruel
52e0e2d00c Bug 1265722 - Decouple NodeFront from NodeActor;r=jryans 2016-05-16 14:04:42 +02:00
Chris Peterson
8a9e2d2bd4 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
50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron
d097996b85 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
e4725f7b79 Bug 1271399 - Add shim for protocol.js to support old add-ons. r=ednapiranha
MozReview-Commit-ID: J5UGN5IBDUz

--HG--
rename : devtools/server/shims/dbg-server.jsm => devtools/server/shims/toolkit/dbg-server.jsm
rename : devtools/server/shims/moz.build => devtools/server/shims/toolkit/moz.build
2016-05-10 12:10:00 +02:00
Eddy Bruel
329f51ae5a Bug 1268458 - Decouple CustomHighlighterFront from CustomHighlighterActor;r=jryans 2016-05-11 11:09:46 +02:00
Patrick Brosset
7dfb735bf9 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
e57616990f 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

--HG--
extra : rebase_source : 0ccfaeb0edb0b1a60a7c0d741295d61ad66ac57e
2016-04-29 09:30:02 +02:00
Eddy Bruel
e106b98532 Bug 1268458 - Decouple HighlighterFront from HighlighterActor;r=jryans 2016-05-10 11:07:03 +02:00
Nicolas Chevobbe
050540ba1b 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
ef61ce0337 Bug 1268568 - Decouple StyleRuleFront from StyleRuleActor;r=jryans 2016-05-09 13:55:00 +02:00
Eddy Bruel
9c3cb25b76 Bug 1268568 - Decouple PageStyleFront from PageStyleActor;r=jryans 2016-05-09 13:13:25 +02:00
Carsten "Tomcat" Book
56fe0e8f2c merge mozilla-inbound to mozilla-central a=merge 2016-05-09 11:17:59 +02:00
Jennifer Fong
2f312892d5 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Eddy Bruel
58e6eb79d8 Bug 1268461 - Decouple StyleSheetsFront from StyleSheetsActor;r=jryans 2016-05-06 08:09:20 +02:00
Eddy Bruel
b2cfc84b96 Bug 1268461 - Decouple StyleSheetFront from StyleSheetActor;r=jryans 2016-05-06 08:07:51 +02:00
Ryan VanderMeulen
70ba843b03 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-05 10:06:54 -04:00
Wes Kocher
419e80ad06 Merge m-c to inbound, a=merge 2016-05-06 15:58:32 -07:00
Eddy Bruel
53f074e796 Bug 1268461 - Decouple MediaRuleFront from MediaRuleActor;r=jryans 2016-05-04 16:46:41 +02:00
Tom Tromey
08f3ad3f7b Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
MozReview-Commit-ID: HzbnNvTc5db
2016-05-04 08:02:03 -06:00
Eddy Bruel
957da1ca53 Bug 1268461 - Decouple OriginalSourceFront from OriginalSourceActor;r=jryans 2016-05-03 18:31:00 +02:00
Alexandre Poirot
5e23dabcd8 Bug 1266128 - Send tabListChanged messages when tab title changes. r=jryans 2016-05-03 09:06:31 -07:00
Carsten "Tomcat" Book
779fe0a0a8 Backed out changeset e58df849e249 (bug 1268461) for bustage 2016-05-03 13:37:29 +02:00
Eddy Bruel
56aee50d78 Bug 1268461 - Decouple OriginalSourceFront from OriginalSourceActor;r=jryans 2016-05-03 13:14:52 +02:00
Eddy Bruel
e083fbac8b Bug 1268461 - Change the order in which the stylesheet actors are defined;r=jryans 2016-05-03 11:46:58 +02:00
Nicolas Chevobbe
c6eac9c8b5 Bug 1269034 - Fix getSuggestionForQuery in inspector actor for id queries. r=bgrins
Make sure that result node id is not empty before appending it to the results

MozReview-Commit-ID: 5SuTrNf4t8v

--HG--
extra : transplant_source : E%AF%D7%A9W%DC%C6u%8B%9F%FF%00%A7%FEY%1A%7E%CA%AE%95
2016-04-30 00:36:17 +02:00
Jarda Snajdr
9ae963b23e Bug 1265729 - Decouple fronts from actors in storage inspector. r=ejpbruel 2016-04-29 04:34:00 +02:00
Ryo Motozawa
be5a1aae1f Bug 1254408 - Part 1 - Expose animation performance information in DevTools. r=pbro
MozReview-Commit-ID: FHC41UoFEUl
2016-04-22 20:17:58 +09:00
Julian Descottes
f41452912d Bug 1268466 - ruleview: create new rule <style> el in frame document;r=tromey
To create new rules, style elements are added to the content document.
For nodes located in an iframe, the style element should be added to the
ownerDocument of this particular node.

MozReview-Commit-ID: 7ynd7YU3WeL

--HG--
extra : rebase_source : 48e989e229b7972101c2761c881127244530273d
2016-04-30 16:41:54 +02:00
Aryeh Gregor
49d7e81abf Bug 1264270 - Parser should output attributes in source order, not reversed; r=hsivonen,bgrins 2016-05-01 15:15:26 +03:00
Jarda Snajdr
f387cfc0da Bug 1259743 - Part 3: Remove the mustNotifyServiceWorkerRegistrationChanged check as it's dead code. r=janx 2016-04-28 03:55:00 -04:00
Jarda Snajdr
266d684430 Bug 1259743 - Part 2: Make devtools/server/actors/webbrowser.js eslint-clean. r=ochameau 2016-04-28 03:54:00 -04:00