Alexandre Poirot
796f22b354
Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
...
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.
Depends On D4078
Reviewers: yulia!
Tags: #secure-revision
Bug #: 1485676
Differential Revision: https://phabricator.services.mozilla.com/D6161
MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 01:25:02 -07:00
Alexandre Poirot
631e7bfdf9
Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
...
Tags: #secure-revision
Bug #: 1485676
Differential Revision: https://phabricator.services.mozilla.com/D4078
MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00
Gurzau Raul
ad28ad0169
Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
...
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot
8724260e30
Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
...
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.
Depends On D4078
Reviewers: yulia!
Tags: #secure-revision
Bug #: 1485676
Differential Revision: https://phabricator.services.mozilla.com/D6161
MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
Alexandre Poirot
48f5790c9b
Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
...
Tags: #secure-revision
Bug #: 1485676
Differential Revision: https://phabricator.services.mozilla.com/D4078
MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00
arthur.iakab
6877b6a75c
Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
...
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Alexandre Poirot
c023333832
Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
...
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.
Depends On D4078
Differential Revision: https://phabricator.services.mozilla.com/D6161
--HG--
extra : moz-landing-system : lando
2018-09-21 08:08:11 +00:00
Alexandre Poirot
196d295b46
Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D4078
--HG--
extra : moz-landing-system : lando
2018-09-21 08:07:48 +00:00
Jonathan Kingston
45825d47d3
Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4555
--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
extra : intermediate-source : 68200d86ebc80827c7f8c330a5b5ae004a5959e3
2018-08-29 15:46:12 +01:00
Brindusan Cristian
1db0587c0e
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
7a0538675d
Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4555
--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
2018-08-29 15:46:12 +01:00
arthur.iakab
d2e647e133
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
1a020bb397
Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4555
--HG--
extra : source : 97cd948c92f66d0f4d57939288f545c1121d1c35
2018-08-29 15:46:12 +01:00
Tiberius Oros
3235f6720f
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
40056cd04c
Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4555
--HG--
extra : source : a5fe8b9644cdc1ba1616e9a80a439c6c02958177
2018-08-29 15:46:12 +01:00
yulia
e43fffae44
Bug 1462399 - remove GCLI commands; r=ochameau
...
This patch removes remaining files and traces of GCLI panel commands.
Differential Revision: https://phabricator.services.mozilla.com/D3615
--HG--
extra : moz-landing-system : lando
2018-09-03 17:24:32 +00:00
Kris Maglione
9a8a840c9d
Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D3732
--HG--
extra : rebase_source : 0154c72286ce0ca3ade84c5c360122861a36c7b0
extra : histedit_source : 83a8b267becbf86db5f8789d3673bd529da35286
2018-08-18 19:28:37 -07:00
Boris Zbarsky
0e54dc6661
Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins
2018-07-24 19:47:41 -04:00
J. Ryan Stinnett
9d30878aa5
Bug 1473687 - Wait for files to finish loading in Scratchpad test. r=ochameau
...
In devtools/client/scratchpad/test/browser_scratchpad_recent_files.js, we would
import test files and delete them from disk before the read had fully completed,
which caused an error. (This test also had various other troubles like not
actually writing anything to the test files.)
Differential Revision: https://phabricator.services.mozilla.com/D1976
--HG--
extra : moz-landing-system : lando
2018-07-06 07:44:41 +00:00
Alexandre Poirot
b18ae66a40
Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
...
MozReview-Commit-ID: 72iggFSZswN
--HG--
extra : rebase_source : 9e6192682deb3c7ecd162515a2a5ac6b391f9674
2018-06-25 12:59:22 -07:00
Alexandre Poirot
63b32d2839
Bug 1470989 - Rename all panel modules to "panel.js". r=jdescottes
...
MozReview-Commit-ID: HN33KNmbCaY
--HG--
rename : devtools/client/accessibility/accessibility-panel.js => devtools/client/accessibility/panel.js
rename : devtools/client/dom/dom-panel.js => devtools/client/dom/panel.js
rename : devtools/client/scratchpad/scratchpad-panel.js => devtools/client/scratchpad/panel.js
rename : devtools/client/styleeditor/styleeditor-panel.js => devtools/client/styleeditor/panel.js
extra : rebase_source : 24bef9ee149421ac77a5d05f7f1d98e66f556875
2018-06-25 12:47:52 -07:00
Alexandre Poirot
f7e331b36e
Bug 1470244 - Rename all panel documents to index.{xul|html}. r=jdescottes
...
MozReview-Commit-ID: 5C3ehYKBt3m
--HG--
rename : devtools/client/accessibility/accessibility.html => devtools/client/accessibility/index.html
rename : devtools/client/canvasdebugger/canvasdebugger.xul => devtools/client/canvasdebugger/index.xul
rename : devtools/client/debugger/debugger.xul => devtools/client/debugger/index.xul
rename : devtools/client/dom/dom.html => devtools/client/dom/index.html
rename : devtools/client/inspector/inspector.xhtml => devtools/client/inspector/index.xhtml
rename : devtools/client/memory/memory.xhtml => devtools/client/memory/index.xhtml
rename : devtools/client/performance-new/perf.xhtml => devtools/client/performance-new/index.xhtml
rename : devtools/client/performance/performance.xul => devtools/client/performance/index.xul
rename : devtools/client/scratchpad/scratchpad.xul => devtools/client/scratchpad/index.xul
rename : devtools/client/storage/storage.xul => devtools/client/storage/index.xul
rename : devtools/client/styleeditor/styleeditor.xul => devtools/client/styleeditor/index.xul
rename : devtools/client/webaudioeditor/webaudioeditor.xul => devtools/client/webaudioeditor/index.xul
rename : devtools/client/webconsole/webconsole.html => devtools/client/webconsole/index.html
extra : rebase_source : 30d4a2b96c7caf9c2543866e11519559d73f75dc
2018-06-21 11:08:25 -07: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
Alexandre Poirot
f68f33087a
Bug 1466691 - Replace callback style in favor of promise for TabClient methods. r=jryans
...
MozReview-Commit-ID: 6Is4O8KQhgY
--HG--
extra : rebase_source : 8987e85385bd202a8e9100a230eff1c1fcdcb4f9
2018-06-05 01:50:40 -07:00
Brian Grinstead
057167f7eb
Bug 1425552 - Move clearOutput and clearPrivateMessages from the jsterm and onto the WebConsoleFrame;r=nchevobbe
...
MozReview-Commit-ID: 9lJW7qt64DT
--HG--
extra : rebase_source : 1a331fb42429206688ac5c980a2915c1c7d48157
2018-06-02 16:44:08 -07: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
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
abhinav
7d35a49d48
Bug 1454045 - Downgrade openTrustedLinkIn
for DevTools where pages don't need special powers. r=jryans
...
MozReview-Commit-ID: GqDS7jlF3Ni
--HG--
extra : rebase_source : aa0bf50fb3df3c2147c899f7ebe16e32414cbf4d
2018-05-07 00:47:43 +05:30
Mark Banner
f7f93b63da
Bug 1456755 - Enable ESLint rule no-undef for devtools/{client/scratchpad/,shared/tests/unit}. r=jdescottes
...
MozReview-Commit-ID: 1GdQdf1y0gc
--HG--
extra : rebase_source : ce83f4ebc4dd66202651b061bcdaef7e9ca360ba
2018-04-24 21:46:01 +01:00
Mantaroh Yoshinaga
40919c22b6
Bug 1455496 - Part 2. Add test of existence of scratchpad's menu bar. r=jdescottes
2018-04-23 09:26:15 +09:00
Mantaroh Yoshinaga
f65311bb20
Bug 1455496 - Part 1. Hide toolbar of scratchpad panel. r=dao
...
The scratchpad panel(in the toolbox) should not display menu bar.
This patch will hide this menu bar if target is toolbox.
2018-04-23 09:25:59 +09:00
Boris Zbarsky
45a3faf8f6
Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
...
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Kris Maglione
9da74a6674
Bug 1455176: Follow-up: Fix devtools bustage in straggler tests that still use Task global. r=bustage
...
MozReview-Commit-ID: J0ieBBJGZWM
--HG--
extra : rebase_source : ffa1e92e83c38ab5cc970ea8b90b037026e6939e
2018-04-19 16:15:00 -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
Brian Grinstead
86d5c02846
Bug 1304794 - Stop using the old frontend for remaining non-console mochitests r=nchevobbe
...
MozReview-Commit-ID: D9azk5jNzpm
--HG--
extra : rebase_source : c361776292202609c408c25533aeab64428c4a47
2018-04-12 09:29:43 -07: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
Dão Gottwald
bf9d434a13
Bug 1450559
- Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
...
MozReview-Commit-ID: 8spvIOus9ai
--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Mark Banner
a0259c665b
Bug 1451659 - Fix mochitest issues after enabling ESLint on more files in devtools. r=jdescottes
...
MozReview-Commit-ID: 4KZjO1VewoE
--HG--
extra : rebase_source : 5db3e7be1f73514ca5b1e56d0558eb70f5952592
2018-04-05 11:08:30 +01:00
Mark Banner
3e2d95e5c0
Bug 1451659 - Enable ESLint for devtools/client/{canvasdebugger,framework,scratchpad,shadereditor}/. r=jdescottes
...
Disable rules with many failures for now, in a way that mentored bugs can easily pick them up.
Fix other minor issues raised by various rules.
MozReview-Commit-ID: 71OQI7jLihe
--HG--
extra : rebase_source : 7eac06299e6bbc6ae84e21b263c105555a06e757
2018-04-04 23:24:04 +01:00
Mark Banner
34a483b76d
Bug 1451659 - Automated ESLint fixes for devtools/client/scratchpad/. r=jdescottes
...
MozReview-Commit-ID: ACluPVPspsQ
--HG--
extra : rebase_source : 473724688611bbda178cd3b58859dba3e9f41570
2018-04-05 08:01:09 +01:00
Oriol Brufau
22273d6ed4
Bug 1445805 - Remove unsafe CPOWs in Scratchpad tests r=jryans
...
MozReview-Commit-ID: 6wvOxhrtTUp
--HG--
extra : rebase_source : 144cc1e4003d18537a94c102a0c494a68b84ec26
2018-03-20 04:26:23 +01:00
Kris Maglione
83957914cc
Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
...
MozReview-Commit-ID: 4ojwvjw9XGT
--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -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
56166f1711
Bug 1382604 - Remove old-event-emitter usage from scratchpad; r=jryans.
...
Usage was removed from devtools/client/framework/sidebar as well since it emits
events with the parent component.
MozReview-Commit-ID: 24LLmnSZ89I
--HG--
extra : rebase_source : 3ede287d862c80817fe4767e8d029dda26cbb58b
2018-03-05 10:45:55 +01:00
Nicolas Chevobbe
8ea55ce28a
Bug 1382606 - Switch webconsole to new event-emitter; r=Honza.
...
MozReview-Commit-ID: HBogPeOI7WM
--HG--
extra : rebase_source : 4ad1fb922ffc818d175ae3c09820ce31ba416487
2018-02-23 09:10:36 +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
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