Commit Graph

192 Commits

Author SHA1 Message Date
Alexandre Poirot
fb4cd85e35 Bug 1222047 - Manage device and preference fronts via client.mainRoot.getFront. r=yulia
Summary: Depends On D3317

Tags: #secure-revision

Bug #: 1222047

Differential Revision: https://phabricator.services.mozilla.com/D3318

MozReview-Commit-ID: 3jaFZbXVLuw
2018-08-23 03:51:40 -07:00
Brian Grinstead
e858b8d083 Bug 1484759 - Update references to browser.xul in tests to use AppConstants.BROWSER_CHROME_URL;r=Gijs
This only includes functions that seem to be using it to reference a window.
There are other instances where it's used as a generic chrome URI, and those
are left unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D3806

--HG--
extra : moz-landing-system : lando
2018-08-21 15:33:26 +00:00
Andreea Pavel
fabfc9e604 Bug 1469054 - edit type in devtools/client/webide/content/runtimedetails.js on a CLOSED TREE
--HG--
extra : amend_source : 318cba8ea3eebd812f9414a54db1af54fb8668b8
2018-08-09 13:38:07 +03:00
Hiroyuki Ikezoe
256c603bcd Bug 1469054 - Split Runtime.RuntimeTypes into a new file to import the RuntimeTypes in a file which is importing runtimes.js. r=jdescottes
MozReview-Commit-ID: LVfyW3aaSxU

--HG--
extra : rebase_source : 66802b7736a4148fefad16e4acc5221c7e5a2bf6
2018-08-09 14:27:56 +09:00
Boris Zbarsky
79181a1a13 Bug 1446940 part 3. Stop getting docshells from windows via getInterface in devtools. r=bgrins 2018-08-01 13:07:10 -04:00
Kris Maglione
02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Paolo Amadini
0e6d306642 Bug 1470872 - Load "dropmarker.css", "groupbox.css", and "splitter.css" as document stylesheets. r=bgrins
MozReview-Commit-ID: 3jF7wbLpc7R

--HG--
extra : source : 2fc97c8e2e2c6a6f74b533921162f6256f4be249
2018-07-07 11:18:36 +01:00
Sebastian Hengst
82bbb42c90 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP

--HG--
extra : rebase_source : 4e554f8e710aea1fb372a0f21d7539cf568baa17
2018-06-20 21:34:40 +03:00
J. Ryan Stinnett
fa78307d48 Bug 1466534 - Centralize DevTools link handling. r=jdescottes
This adds a `openContentLink` helper meant for any link controlled by web
content.  If there is an associated toolbox open, the toolbox's tab is used to
supply a triggering principal for the link.

MozReview-Commit-ID: 45l5yAPGpZr

--HG--
extra : rebase_source : 61a1d471d6792d148932488e854e16de60dea44b
2018-06-11 23:42:19 -07:00
Mark Banner
b30ac6aacd Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
Depends on D1643

MozReview-Commit-ID: 84M50HDg0wl

Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
J. Ryan Stinnett
70dc511eef Bug 1172897 - Rename ChromeActor to ParentProcessTargetActor. r=ochameau
MozReview-Commit-ID: JM17h5ArYub

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/targets/parent-process.js
extra : rebase_source : 2eae9440b9fac9ae1b42e910ac6cc5abf14105de
2018-06-01 17:31:48 -05:00
J. Ryan Stinnett
eaa4969e77 Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
MozReview-Commit-ID: LPTEx2h4F1o

--HG--
rename : devtools/server/actors/tab.js => devtools/server/actors/targets/browsing-context.js
rename : devtools/shared/specs/tab.js => devtools/shared/specs/targets/browsing-context.js
extra : rebase_source : e62720693ad492cdfb68ab21af1f54d78e85123a
2018-05-25 18:20:28 -05:00
Julian Descottes
7fdc2c153f Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks

--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +02:00
Julian Descottes
640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Kris Maglione
1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
J. Ryan Stinnett
e2c2e9c3e4 Bug 1463924 - Remove Dev. Edition promo doorhanger. r=nchevobbe
MozReview-Commit-ID: LIg6o35CvD2

--HG--
extra : rebase_source : 0eda7252ad7962b5038b3d7df3c8fc2eee9db511
2018-05-23 18:30:36 -05:00
Jonathan Kew
ec10b3f21a Bug 1392147 - Use Roboto instead of Clear Sans as default sans-serif font on Android, for better webcompat. r=xidorn 2018-05-23 13:51:59 +01:00
Michael Ratcliffe
3df73f73cd Bug 1458206 - telemetry.js: Cleanup toolOpened/toolClosed r=jdescottes
The methods have been improved and now live in telemetry.js again.

We use these methods for tools that at least require timing.

MozReview-Commit-ID: 2CqBCA9j3XU

--HG--
extra : rebase_source : faa489ea4790db55648301be842f55cea308ce29
2018-05-04 18:00:04 +01:00
Michael Ratcliffe
3b052d0d30 Bug 1458205 - telemetry.js: Remove actionOccurred r=jdescottes
MozReview-Commit-ID: 7mBtbV5inso

--HG--
extra : rebase_source : 98f050564b93430ebb7882d177a85e0f9fd1aa99
2018-05-04 14:30:40 +01:00
Michael Ratcliffe
5c91c7417c Bug 1458204 - telemetry.js: Rename startTimer/stopTimer r=jdescottes
MozReview-Commit-ID: HAgOaVka0Qk

--HG--
extra : rebase_source : b8d13342be947c1f700dbdc24f820b13b047dcb0
2018-05-04 14:14:43 +01:00
Michael Ratcliffe
30e6b8b177 Bug 1458203 - telemetry.js: Rename all log* methods r=jdescottes
MozReview-Commit-ID: 9QcRGkXCq71

--HG--
extra : rebase_source : a2dcf7c3b8c58aba0afccd83377ffe2855862b02
2018-05-09 09:53:49 +01:00
Kris Maglione
882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Kris Maglione
877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Alexandre Poirot
9b2fdcf8bb Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h

--HG--
extra : rebase_source : 55c0c9fa81a8dc17b92cba721dcc5912b07d0fab
2018-04-12 09:22:42 -07:00
Mark Banner
d226fcc86a Bug 1453383 - Enable ESLint for devtools/client/{webaudioeditor,webide}/. r=jdescottes
MozReview-Commit-ID: Gm77Z0T3oJq

--HG--
extra : rebase_source : 9a23baa102558d30302baf5044da207b7d79f3b6
2018-04-11 16:10:35 +01:00
Mark Banner
6a7d7e5b8c Bug 1453383 - Automatically fix ESLint issues in devtools/client/{webaudioeditor,webide}/. r=jdescottes
MozReview-Commit-ID: 8QPtZi0oSOO

--HG--
extra : rebase_source : 6b030e1bfd065af35f9b58666fe776a4da0d2dee
2018-04-11 15:43:09 +01:00
Dão Gottwald
8b23aaae8b Bug 1453281 - Remove obsolete menubar binding and styling. r=bgrins,Paolo
MozReview-Commit-ID: Kao3jst0DBJ

--HG--
extra : rebase_source : bed74abc9910ec22295207fdced37f6bfc1648be
2018-04-11 17:29:27 +02:00
Jonathan Kingston
bbb3623c41 Bug 1374741 - Within devtools/ make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
MozReview-Commit-ID: KecQcZWeU6a

--HG--
extra : rebase_source : edbcbd607ee7209b5c137d4f7af9daf5eaeffab6
2018-02-21 16:01:03 +00:00
Julian Descottes
e88b64543e Bug 1448077 - Move webide preferences file to dedicated /preferences folder;r=jryans
Changing the name for consistency purposes (see RFC
https://github.com/devtools-html/rfcs/issues/43)

MozReview-Commit-ID: BBXObtPaR00

--HG--
rename : devtools/client/webide/webide-prefs.js => devtools/client/webide/preferences/webide.js
extra : rebase_source : ee79e29d260ed147947babc1ff1dd1710e4f7128
2018-04-06 12:06:53 +02:00
Coroiu Cristina
586aed9d72 Backed out 4 changesets (bug 1448077) for xpcshell failures at toolkit/components/osfile/tests/xpcshell/test_creationDate.js on a CLOSED TREE
Backed out changeset 456166433c71 (bug 1448077)
Backed out changeset a826e8871e9f (bug 1448077)
Backed out changeset 42b4ccfcb9c4 (bug 1448077)
Backed out changeset c61caf7df6c7 (bug 1448077)

--HG--
rename : devtools/client/preferences/devtools-client.js => devtools/client/preferences/devtools.js
rename : devtools/client/webide/preferences/webide.js => devtools/client/webide/webide-prefs.js
rename : devtools/startup/preferences/devtools-startup.js => devtools/startup/devtools-startup-prefs.js
2018-04-09 18:58:40 +03:00
Julian Descottes
067132558d Bug 1448077 - Move webide preferences file to dedicated /preferences folder;r=jryans
Changing the name for consistency purposes (see RFC
https://github.com/devtools-html/rfcs/issues/43)

MozReview-Commit-ID: BBXObtPaR00

--HG--
rename : devtools/client/webide/webide-prefs.js => devtools/client/webide/preferences/webide.js
extra : rebase_source : 33e24e37b9ec375684f3248ea9e4c200fad71856
2018-04-06 12:06:53 +02:00
Brian Grinstead
8c4db27eb0 Bug 1445772 - Don't worry about binding console methods to the console object r=jryans
This isn't needed since Console is an interface and not an object

MozReview-Commit-ID: ZoIo2TS9QL

--HG--
extra : rebase_source : 7ccb86dd4290e5d7ac829cab6dcf2f9548d89f11
2018-03-14 14:33:47 -07:00
Alexandre Poirot
bcf6facc3c Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05: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
Brendan Dahl
f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Nicolas Chevobbe
4d5651404b Bug 1382607 - Use new EventEmitter in webide; r=jryans.
MozReview-Commit-ID: 6BGUTw5RNke

--HG--
extra : rebase_source : fe8ffed6ccf0451c4d91f513b2f18b1ec7042fe8
2018-02-26 14:06:47 +01: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
Timothy Guan-tin Chien
a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +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
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
Alexandre Poirot
c1196409cb Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 84269b1282c822e21747a7196d0fa8482418aaa4
2018-02-06 01:05:59 -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
Alexandre Poirot
dc9ab39924 Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 9d4a66356f4da9d76b9579b803e6d4259f1db962
2018-02-06 01:05:59 -08: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
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
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