272 Commits

Author SHA1 Message Date
Alexandre Poirot
fc8714580a 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 09:52:57 -07:00
Alexandre Poirot
082e20e693 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 09:52:55 -07:00
shindli
51a3c01ced Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
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
Julian Descottes
0db1432e3a Bug 1452061 - CamelCase all React component files in devtools performance panel;r=gregtatum
MozReview-Commit-ID: 3RW6DRE95bY

--HG--
rename : devtools/client/performance/components/jit-optimizations.js => devtools/client/performance/components/JITOptimizations.js
rename : devtools/client/performance/components/jit-optimizations-item.js => devtools/client/performance/components/JITOptimizationsItem.js
rename : devtools/client/performance/components/recording-button.js => devtools/client/performance/components/RecordingButton.js
rename : devtools/client/performance/components/recording-controls.js => devtools/client/performance/components/RecordingControls.js
rename : devtools/client/performance/components/recording-list.js => devtools/client/performance/components/RecordingList.js
rename : devtools/client/performance/components/recording-list-item.js => devtools/client/performance/components/RecordingListItem.js
rename : devtools/client/performance/components/waterfall.js => devtools/client/performance/components/Waterfall.js
rename : devtools/client/performance/components/waterfall-header.js => devtools/client/performance/components/WaterfallHeader.js
rename : devtools/client/performance/components/waterfall-tree.js => devtools/client/performance/components/WaterfallTree.js
rename : devtools/client/performance/components/waterfall-tree-row.js => devtools/client/performance/components/WaterfallTreeRow.js
extra : rebase_source : 751d10f91cd97c6ce3d916f401ce57ec94f744f1
2018-06-14 14:45:15 -07:00
Gurzau Raul
b7807c2f1e Backed out changeset 9162b1c01237 (bug 1452061) for failing at performance/components/test/test_jit_optimizations_01.html on a CLOSED TREE
--HG--
rename : devtools/client/performance/components/JITOptimizationsItem.js => devtools/client/performance/components/jit-optimizations-item.js
rename : devtools/client/performance/components/JITOptimizations.js => devtools/client/performance/components/jit-optimizations.js
rename : devtools/client/performance/components/RecordingButton.js => devtools/client/performance/components/recording-button.js
rename : devtools/client/performance/components/RecordingControls.js => devtools/client/performance/components/recording-controls.js
rename : devtools/client/performance/components/RecordingListItem.js => devtools/client/performance/components/recording-list-item.js
rename : devtools/client/performance/components/RecordingList.js => devtools/client/performance/components/recording-list.js
rename : devtools/client/performance/components/WaterfallHeader.js => devtools/client/performance/components/waterfall-header.js
rename : devtools/client/performance/components/WaterfallTreeRow.js => devtools/client/performance/components/waterfall-tree-row.js
rename : devtools/client/performance/components/WaterfallTree.js => devtools/client/performance/components/waterfall-tree.js
rename : devtools/client/performance/components/Waterfall.js => devtools/client/performance/components/waterfall.js
2018-07-24 17:11:01 +03:00
Julian Descottes
c14ce480de Bug 1452061 - CamelCase all React component files in devtools performance panel;r=gregtatum
MozReview-Commit-ID: 3RW6DRE95bY

--HG--
rename : devtools/client/performance/components/jit-optimizations.js => devtools/client/performance/components/JITOptimizations.js
rename : devtools/client/performance/components/jit-optimizations-item.js => devtools/client/performance/components/JITOptimizationsItem.js
rename : devtools/client/performance/components/recording-button.js => devtools/client/performance/components/RecordingButton.js
rename : devtools/client/performance/components/recording-controls.js => devtools/client/performance/components/RecordingControls.js
rename : devtools/client/performance/components/recording-list.js => devtools/client/performance/components/RecordingList.js
rename : devtools/client/performance/components/recording-list-item.js => devtools/client/performance/components/RecordingListItem.js
rename : devtools/client/performance/components/waterfall.js => devtools/client/performance/components/Waterfall.js
rename : devtools/client/performance/components/waterfall-header.js => devtools/client/performance/components/WaterfallHeader.js
rename : devtools/client/performance/components/waterfall-tree.js => devtools/client/performance/components/WaterfallTree.js
rename : devtools/client/performance/components/waterfall-tree-row.js => devtools/client/performance/components/WaterfallTreeRow.js
extra : rebase_source : afb1dc2e55dc6912b0b0c6c1168a5f41307bb974
2018-06-14 14:45:15 -07:00
sreeise
92950020b5 Bug 1366532 - Replaced uses of 'defer' with 'new Promise' in the devtools/client/performance directory. r=gregtatum
MozReview-Commit-ID: LniNQt7Jo6Z

--HG--
extra : rebase_source : f7c575e2f3c5be75591a961da9cb4f059989eae5
2018-07-06 04:30:53 -04: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
Julian Descottes
58aba64766 Bug 1459398 - log a clear test failure if mandatory telemetry-test-helpers.js cannot be loaded;r=miker
MozReview-Commit-ID: KuMO6VeAfsw

--HG--
extra : rebase_source : c34968f0d45920ce03ce3e0228035bd7998ed708
2018-05-05 12:49:39 +02: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
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Markus Stange
941bef84eb Bug 1462784 - Update the devtools performance panel for the new category list. r=gregtatum
MozReview-Commit-ID: HwRFEfgA4L

--HG--
extra : rebase_source : b9e1fa68453fea4743c610b214370f43d9d0ba0b
2018-05-23 23:11:41 -04:00
Csoregi Natalia
fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange
c4f749faf8 Bug 1462784 - Update the devtools performance panel for the new category list. r=gregtatum
MozReview-Commit-ID: HwRFEfgA4L

--HG--
extra : rebase_source : 17453521abd14516e7f4b4635b864d0cacc24498
extra : histedit_source : 349127e9f4cca9e710ba6f2615dca0d4aca51ad4%2Cef997f401b8b3cb80a7c99e6cf51af7c58755a60
2018-05-23 23:11:41 -04: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
Noemi Erli
1fd69fa2bc Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Markus Stange
2d2563cbdc Bug 1462784 - Update the devtools performance panel for the new category list. r=gregtatum
MozReview-Commit-ID: HwRFEfgA4L

--HG--
extra : rebase_source : 56e48e2bac9db59da7706392f3f57d0f66763eee
2018-05-23 23:11:41 -04:00
Boris Zbarsky
fef0aa2027 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Markus Stange
68470bc3c0 Bug 1461555 - Rename PseudoStack to ProfilingStack. r=njn
This also changes many references to the 'pseudo stack' to refer to the 'label
stack' instead. The label stack is one of the two stacks that are managed by
the profiling stack, the other stack being the JS interpreter stack.

MozReview-Commit-ID: Ed0YMMeCBY8

--HG--
extra : rebase_source : 5675d670f424c7d7dda04bafc2b3431fa2485e3c
2018-05-15 01:03:11 -04:00
Markus Stange
633ac66e7f Bug 1461555 - Rename ProfileEntry to ProfilingStackFrame. r=njn
The term "entry" is already used for elements in the profile buffer.

MozReview-Commit-ID: 1aB22V6veQh

--HG--
extra : rebase_source : c664eb4d6bed6cb74ba8a1b67ea99bd8ca57bcf7
extra : source : 3264c0cc0027b240b55bd3aebf27263b1e1d1cc0
2018-05-15 01:14:03 -04: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
Michael Ratcliffe
764c4c8578 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01: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
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
Julian Descottes
886ae7b748 Bug 1448077 - Rename client/preferences/devtools.js to devtools-client.js;r=jryans
We will be moving existing generic preferences for devtools from libpref/init/all.js
to a new preferences file that will be devtools/preferences/devtools.js and that
will always be shipped. We rename the current devtools.js to devtools-client.js to
avoid conflicts when packaging the preference file to @RESPATH@/browser/@PREF_DIR@/devtools.js

MozReview-Commit-ID: INnqWGBoIAF

--HG--
rename : devtools/client/preferences/devtools.js => devtools/client/preferences/devtools-client.js
extra : rebase_source : b0936c4b2f07c6e4ed3a9202be4c497baf5ae7c4
2018-04-06 12:13:56 +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
e881d80fab Bug 1448077 - Rename client/preferences/devtools.js to devtools-client.js;r=jryans
We will be moving existing generic preferences for devtools from libpref/init/all.js
to a new preferences file that will be devtools/preferences/devtools.js and that
will always be shipped. We rename the current devtools.js to devtools-client.js to
avoid conflicts when packaging the preference file to @RESPATH@/browser/@PREF_DIR@/devtools.js

MozReview-Commit-ID: INnqWGBoIAF

--HG--
rename : devtools/client/preferences/devtools.js => devtools/client/preferences/devtools-client.js
extra : rebase_source : c6c3fefbedda04792b7d48d398e40c816316e320
2018-04-06 12:13:56 +02:00
Nicolas Chevobbe
e772ae7bc1 Bug 1382603 - Adapt performance panel tests to the new EventEmitter; r=gregtatum.
MozReview-Commit-ID: DQjKvc4Qusi

--HG--
extra : rebase_source : 5fece05d056be69a5f0b8f6ecd123fa824a61d1a
2018-03-22 15:19:02 +01:00
Nicolas Chevobbe
4bf647e83a Bug 1382603 - Remove old-event-emitter usage from performance panel; r=gregtatum.
MozReview-Commit-ID: F7VCMbWwPRH

--HG--
extra : rebase_source : 841f4a356e00a7cb6edcc4b7deca1a4cecec4ab0
2018-03-22 14:16:51 +01:00
Tooru Fujisawa
d6dc027000 Bug 1442465 - Part 4.1: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (non-simple part). r=dao 2018-03-19 11:12:14 +09:00
Yura Zenevich
89b8270203 Bug 1438912 - by default, do not navigate to next node on ArrowRight key. r=nchevobbe
MozReview-Commit-ID: KQlHIA7pYAn
2018-03-13 09:39:46 -04: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
J. Ryan Stinnett
23ff4cc75d Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
J. Ryan Stinnett
d56f6a7b1f Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : 8c4d77c37cacdae36d17102b4dbf1222ec1fbd8a
2018-03-06 14:14:55 -06:00
Cosmin Sabou
0bc675f657 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)

--HG--
rename : devtools/client/shared/test/shared-head.js => devtools/client/framework/test/shared-head.js
rename : devtools/client/shared/test/shared-redux-head.js => devtools/client/framework/test/shared-redux-head.js
rename : devtools/client/shared/test/frame-script-utils.js => devtools/client/shared/frame-script-utils.js
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett
a5ba5726ef Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : cb18b88016df8bc7fba1620534beed473ebb406a
2018-03-06 14:14:55 -06:00
yulia
14627be8a8 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79

--HG--
extra : rebase_source : 242b560f9e675bcda84ff0f566a67ecde54e9475
2018-03-07 10:17:03 +01: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
Michael Ratcliffe
1a67e265c1 Bug 1439673 - Fix React 16 warnings r=nchevobbe
I believe this fixes all warnings except for one. This warning appears the first time the memory panel is selected:
"Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types
    in MemoryApp (created by Connect(MemoryApp))
    in Connect(MemoryApp) (created by bound createElementWithValidation)
    in bound createElementWithValidation
    in Provider"

This appears to be an issue with `devtools/client/memory/app.js` but I will log a new bug for this.

MozReview-Commit-ID: 341zdQyfgrN

--HG--
extra : rebase_source : ce25569407b89a7547e4db688373b202d17d2475
2018-02-21 20:34:19 +00: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