Commit Graph

1408 Commits

Author SHA1 Message Date
Alexandre Poirot
2d43f710c5 Bug 1440320 - Removed unused methods from async-utils module. r=jryans
MozReview-Commit-ID: 3ixJhRWeRpd

--HG--
extra : rebase_source : 55a274b88d94d6574ab71268ca054ad93561ef7e
2018-02-19 02:29:12 -08:00
Francesco Lodolo (:flod)
a75c658075 Bug 1441146 - Sync DevTools plural-form.js with intl/PluralForm.jsm r=jdescottes
MozReview-Commit-ID: 2FstwF4gpDO

--HG--
extra : rebase_source : aa154f4ef069ca9c910a11193d1845d9f36f3c4d
2018-02-26 14:41:26 +01:00
Ciure Andrei
855b730941 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-23 00:03:06 +02:00
Boris Zbarsky
3d785e53b2 Bug 1437921 part 1. Add an attribute on document that is a Promise that resolves when the document has fired DOMContentLoaded _and_ maybe started layout. r=mystor
MozReview-Commit-ID: LpPFPKlHTXe
2018-02-22 16:55:40 -05:00
Emilio Cobos Álvarez
48693859b0 Bug 1439837: Regenerate the devtools css database. r=me
MozReview-Commit-ID: 2zc0WsXbIlY
2018-02-22 10:51:20 +01:00
Chris Peterson
fe5cd3d5d9 Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42

--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
0129d900f3 Bug 1436263 - Part 2: Replace override final virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson
d09123f248 Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D

--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
J. Ryan Stinnett
9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Mark Banner
21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Sebastian Hengst
9ccfb5a21c Bug 792808 - switch to webidl XHR: add missing comma detected by eslint. r=eslint-fix on a CLOSED TREE 2018-02-16 17:19:20 +02:00
Thomas Wisniewski
16a55b16e6 Bug 792808 - Change devtools/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest), and the same for FormData; r=Honza
MozReview-Commit-ID: HCziNedavb0

--HG--
extra : rebase_source : cec5be97236b096bdb85a77f06cd5127fd80f7fb
2017-11-20 00:27:39 -05:00
Narcis Beleuzu
2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Nick Fitzgerald
6f0275ce7d Bug 1438040 - Remove unused PromiseDebugging builtin devtools module; r=jimb
--HG--
extra : rebase_source : e8712ce666e0b855a0d3f7a024a703e350cf357b
2018-02-14 09:23:00 +02:00
J. Ryan Stinnett
bc3b52e35a Bug 1430918 - Rotate grid outline for writing mode. r=gl
Adjust the grid outline in the Inspector's Layout panel as needed to match the
writing mode and text direction of the grid container.

MozReview-Commit-ID: Ggcp1e4ZipE

--HG--
extra : rebase_source : e9acadc8837ad3c05c038a2156272c9eff8c7330
2018-02-10 22:03:12 -06:00
Csoregi Natalia
fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Gabriel Luong
9f8c11489e Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Alexandre Poirot
7b5702c3b8 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL

--HG--
extra : rebase_source : bfd8ad108c7859f7271f91572e63ecf625004166
2018-02-06 11:08:31 -08:00
Alexandre Poirot
e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot
30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Alexandre Poirot
cb1c1fdaed Bug 1434374 - Always import deprecated-sync-promises as a module. r=jdescottes
MozReview-Commit-ID: B97O55CxD8T

--HG--
extra : rebase_source : 5fcaf98188d5f58278e2c7aaec7ebc6560417523
2018-02-05 08:11:30 -08:00
Ciure Andrei
8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei
ddcf44b20a Backed out changeset a4ae1745e9d4 (bug 1432599) for mochitest devtools failures, a=backout on a CLOSED TREE 2018-02-08 00:24:44 +02:00
Alexandre Poirot
54ef877eee Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : 7656d666d8d97add75ec7494b47878424b6028a8
2018-02-05 10:25:25 -08:00
Gabriel Luong
a2a3d02cd4 Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Gabriel Luong
756195eb25 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Dorel Luca
a844f3b4b3 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Gabriel Luong
e653874a84 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Coroiu Cristina
1ecbdba719 Backed out 2 changesets (bug 1435791) for bustage at /tests/test_mozbuild_reading.py on a CLOSED TREE
Backed out changeset 88c8ba0ee51d (bug 1435791)
Backed out changeset 3d7cea225c57 (bug 1435791)
2018-02-07 12:04:33 +02:00
Alexandre Poirot
61355e5dd1 Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : c7653bb64707fb3c0501b2bf21be3d838d3f78f3
2018-02-05 10:25:25 -08:00
Boris Zbarsky
bf4f2a0bac Bug 1435483 part 1. Stop using nsIXPCException in devtools code. r=ochameau
This code has never worked correctly.  Bug 911258 landed on 2013-09-09 and
removed the initialize() method from XPConnect exceptions.  This code landed
two days after that.  If it's ever reached, it will just throw when calling the
nonexistent initialize() method.

MozReview-Commit-ID: FWpP1fLBIPW
2018-02-05 16:34:03 -05:00
Jason Laster
f805944739 Bug 1435187 - Refactor the script actor. r=jdescottes
- Extract paused scoped objects.
 - Extract event loop stack. r=jdescottes
 - Extract actor stores. r=jdescottes
 - Move script.js to actor.js. r=jdescottes

--HG--
rename : devtools/server/actors/script.js => devtools/server/actors/thread.js
2018-02-02 10:57:00 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Tom Tromey
3b8e63c66a Bug 1255369 - fix getCSSValuesForProperty for line-style-type; r=xidorn
This fixes InspectorUtils::getCSSValuesForProperty to return the
correct values for line-style-type.

MozReview-Commit-ID: 72Tes6y15j8

--HG--
extra : rebase_source : fa893f59cafc433f554353cf42d0f9495cdd5b23
2018-01-31 08:50:27 -07:00
Alexandre Poirot
a273cd43a5 Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
MozReview-Commit-ID: Kkn36gDFTKN

--HG--
extra : rebase_source : e52861432f5651b864cada0c70568d504d883c6c
2018-01-24 08:48:26 -08:00
Julian Descottes
86302f330b Bug 1434217 - remove deprecated frontForRawNode from inspector front;r=bgrins
MozReview-Commit-ID: GvK2lGDq8ea

--HG--
extra : rebase_source : 7e90754cf83406f08d82b50d79704912c39dca7d
2018-01-30 14:30:14 +01:00
Julian Descottes
6683646ba1 Bug 1434217 - Remove unused inspector actor traits;r=bgrins
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.

MozReview-Commit-ID: 6MwUp8vbW29

--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Julian Descottes
8cfe81bd3d Bug 1434543 - removed unused getElementFromPoint from devtools layout/utils;r=ochameau
MozReview-Commit-ID: FHy6Dv5Q5l3

--HG--
extra : rebase_source : e30cd11b98f09842d35cc955d3145fba751a7296
2018-01-31 13:12:10 +01:00
Julian Descottes
ed1461df41 Bug 1434543 - use require to load DevToolsLoader in gcli/listen.js;r=ochameau
MozReview-Commit-ID: dASj33Dqda

--HG--
extra : rebase_source : 4b61de018aae6ae16a6ed4931592a1fd2fcb8855
2018-01-31 10:34:07 +01:00
Tom Tromey
12c8602c30 Bug 1255380 - fix getCSSValuesForProperty for "content" property; r=xidorn
This changes getCSSValuesForProperty to return the correct values for
the "content" property.

MozReview-Commit-ID: 2F5LQPbSIFs

--HG--
extra : rebase_source : 290df953c8234888801b7a8a6ef5668a11a59bea
2018-01-25 16:55:28 -07:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Julian Descottes
27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes
8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
Tom Tromey
3728debffe Bug 1255379 - fix getCSSValuesForProperty for clip and clip-path; r=xidorn
This fixes getCSSValuesForProperty for clip and clip-path.

Although clip is deprecated, it seemed harmless to fix it as well;
when it is removed this code will also be readily found and removed.

It wasn't clear to me if setting the keyword table for clip-path in
nsCSSPropList.h would be ok, so I added a special case in
InspectorUtils.

MozReview-Commit-ID: Ghawr17HjKk

--HG--
extra : rebase_source : 29c094afd678019b4f3f49ac55493ef0d7d6848f
2018-01-22 13:26:14 -07:00