Commit Graph

1423 Commits

Author SHA1 Message Date
Jonathan Kew
ec211a5398 Bug 1435983 - Make the 'font' shorthand reset the 'font-variation-settings' property, as required by css-fonts-4. r=emilio 2018-03-05 16:25:22 +01:00
Jonathan Kew
69a6cd57f7 Bug 1435692 - patch 3 - (Auto-generated) Run "mach devtools-css-db" to update devtools property database. r=jwatt 2018-03-03 22:12:12 +01:00
J. Ryan Stinnett
13c3c10321 Bug 1442618 - Get FormData global in DevTools. r=jdescottes
MozReview-Commit-ID: IVtkFQoWxS5

--HG--
extra : rebase_source : 5a69f6ab4e09a76fd5c477465eb0b9dff1a8879c
2018-03-02 16:48:57 -06:00
J. Ryan Stinnett
a62c707e07 Bug 1442347 - Get more globals from sandbox instead of JSM in DevTools. r=jdescottes
Pulling global properties from a JSM is a bit strange, so we should avoid it
where possible.  This patch moves the properties available via
`wantGlobalProperties` over to that approach instead.

In the case of `XMLHttpRequest`, it is not actually expected to be available for
JSMs.  If it were, it would be marked "Exposed=System".  However, various
browser JSMs use `importGlobalProperties` to access it.  These days, JSMs are
loaded into a shared global, so once one of these modules has called
`importGlobalProperties`, it becomes accessible via any JSMs loaded into that
shared global.

By moving XHR to the `wantGlobalProperties` style, we avoid this fun race.

MozReview-Commit-ID: 1umu94Qvlz9

--HG--
extra : rebase_source : d8f459f8b3219c788f2fa79d616bfda49e338186
2018-03-01 13:46:43 -06:00
J. Ryan Stinnett
3615bc4892 Bug 1442347 - Clean up DevTools builtin syntax. r=jdescottes
Simplify and sort syntax in the DevTools global and modules lists.

MozReview-Commit-ID: IhJ8WTl9lR9

--HG--
extra : rebase_source : 3fffaaf53dcde95c9dc57c73698805326b059626
2018-03-01 13:56:07 -06:00
Nicolas Chevobbe
aca904dd7c Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
MozReview-Commit-ID: 3B3slS3EPYn

--HG--
extra : rebase_source : 60bf49cfd4f620ee20aa577fd15168db48b2ff2d
2018-02-27 09:06:56 +01:00
Dorel Luca
9d9f538a22 Backed out 2 changesets (bug 1428430) for devtools failure on /builds/worker/workspace/build/src/accessible/base/nsAccessibilityService.cpp:1045 a=backout
Backed out changeset 7d9813d8cb47 (bug 1428430)
Backed out changeset a638660a49fa (bug 1428430)

--HG--
extra : source : 533de41e4cb3c8356e254f662371c0e852ce18ca
2018-03-02 01:48:52 +02:00
Gabriel Luong
8bbbdc6337 Bug 1441622 - Expose the OpenType Font Variations data to the fonts redux store. r=pbro 2018-03-01 15:25:10 -05:00
Yura Zenevich
8dccbf98a3 Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-01 10:06:14 -05:00
Sebastian Hengst
71f42f588a merge mozilla-central to autoland CLOSED TREE 2018-02-28 20:17:53 +02:00
Florian Quèze
8922be9c58 Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8. 2018-02-28 18:51:35 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Alexandre Poirot
ded0553ffd Bug 1441527 - Adapt Task middleware to async functions. r=jryans
MozReview-Commit-ID: 99NjKtf2krk

--HG--
extra : rebase_source : fe0d39e1235788200056357172f7c93e96be815e
2018-02-22 10:47:41 -08:00
Brian Grinstead
97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Alexandre Poirot
ae019f78bc Bug 1440320 - Convert Task.jsm to async/await in devtools/shared. r=jryans
MozReview-Commit-ID: IK8BzlYuOWm

--HG--
extra : rebase_source : f2ac7eee538490a3db18e7290f144037592b3f89
2018-02-22 00:49:06 -08:00
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