Commit Graph
1476 Commits
Author SHA1 Message Date
Julian Descottes 0a049a8375 Bug 1447154 - Use AppConstants.jsm instead of devtools/shared/system to get constants;r=jryans,nchevobbe
devtools/shared/system is a complex module retrieving details device/platform
information. Modules that only need to get AppConstants should not pull down
such a complex dependency.

MozReview-Commit-ID: 2FmCO8nBSpP
2018-03-19 22:18:20 +01:00
Nicolas Chevobbe 449d27e24c Bug 1440388 - devtools-reps: release v0.21.0; r=Honza.
This update the reps bundle and its CSS files, and adds
the images now used as background for some buttons.

MozReview-Commit-ID: 3gNJnFRRZmt
2018-03-13 14:30:55 +01:00
Bogdan Tara f6affd371a Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Nicolas Chevobbe f50726549e Bug 1382581 - Remove old-event-emitter usage from devtools/client/framework; r=bgrins.
MozReview-Commit-ID: 4oQJ3391H9S
2018-03-14 17:31:12 +01:00
Kris Maglione 9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
J. Ryan Stinnett c3fe06279e Bug 1445776 - Add development restart shortcut to Browser Console. r=bgrins
Adds the browser restart shortcut (Cmd / Ctrl + Alt + R) to the Browser Console
window.  Only enabled for local development builds.

MozReview-Commit-ID: 2oTT55TYCx6
2018-03-14 17:02:07 -05:00
Michael Ratcliffe 34e6287300 Bug 1440609 - Uncouple DEBUG_JS_MODULES and DEBUG in devtools code r=jryans
MozReview-Commit-ID: 6qiu3D5eYyn
2018-03-13 12:49:39 +00:00
Brian Grinstead 5dbe98446b 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
2018-03-14 14:33:47 -07:00
Yura Zenevich 046bfe48e5 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
Boris Zbarsky 3bae4de13b Fix lint failures (one from the merge in rev a97e078dcacb, one apparently preexisting. r=bzbarsky, No bug 2018-03-13 00:38:57 -04:00
Boris Zbarsky b3c2a8abe6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 00:15:42 -04:00
Noemi Erli 62d55d8385 Backed out changeset 1b13b329ba29 (bug 1444414) for devtools failures on browser_storage_localstorage_rapid_add_remove.js timeouts a=backout CLOSED TREE 2018-03-13 03:59:03 +02:00
Noemi Erli fd5935e9ba Backed out 2 changesets (bug 1444414, bug 1444357) for merge conflicts a=backout
Backed out changeset 6f0c06b06b6e (bug 1444414)
Backed out changeset ef01364e8730 (bug 1444357)
2018-03-13 01:56:34 +02:00
Alexandre Poirot 22e91d7acd 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
Sebastian Hengst 40f3198573 merge mozilla-central to autoland. CLOSED TREE 2018-03-13 02:09:59 +02:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Mike Ratcliffe 7104d98143 Bug 1444357 - Fix race conditions caused by duplicate store-objects-updated events r=ochameau
This is in preparation for adding the rapid add/remove test from bug 1295761.

Changes:
- Added `tree.exists(item)` to fix an issue where `selectTreeItem()` was caled for an item that did not exist and then waited for an `store-objects-updated` event. It only ever received this event due to errors when writing tests.
- Renamed `StorageUI.onUpdate()` to `StorageUI.onEdit()` and changed it's event name to `store-objects-edit`.
- Changed tests to use `store-objects-edit` where appropriate.

MozReview-Commit-ID: IAem8Penrf9
2018-03-09 13:51:37 +00:00
J. Ryan Stinnett a7231a768e Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB
2018-03-08 18:14:52 -06:00
Nicolas Chevobbe a10117a12b Bug 1441885 - Remove warnings from autocomplete-popup.js; r=jdescottes.
This was caused by an innerHTML assignment. Switching to replaceWith + cloneNode
does the trick.

MozReview-Commit-ID: 4pnIijKoJHU
2018-03-08 16:20:59 +01:00
Emilio Cobos Álvarez 8b5df725d4 Bug 1444036: Remove trivial uses of getPropertyCSSValue. rs=johannh
getPropertyCSSValue("foo").cssText is the same as getPropertyValue("foo").

MozReview-Commit-ID: HxdSr4749hi
2018-03-08 12:39:36 +01:00
Cosmin Sabou ada3bae617 Merge inbound to mozilla-central. a=merge 2018-03-08 05:59:30 +02:00
shindli 032434e425 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-08 02:27:35 +02:00
J. Ryan Stinnett 3b7bcb2efc Bug 1436187 - Fix linting errors in shared-head.js. r=bgrins
After moving shared-head.js, linting is activated because the new path is not
ignored.

MozReview-Commit-ID: GCLDfgJ7WCb
2018-03-06 15:28:55 -06:00
J. Ryan Stinnett f0dc8a8b60 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
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett 230370edaf Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett aa067adb85 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
Yura Zenevich a568a3d975 Bug 1438835 - [VirtualizedTree] keep inner state for when the tree is moused down, to help with deciding when to keyboard focus on tree container. r=nchevobbe
MozReview-Commit-ID: 6W9N242QmmU
2018-03-07 15:38:14 -05:00
Boris Zbarsky 5beec567c4 Bug 1443393. Stop trying to import light-theme.css from URLs that don't return anything useful. r=jdescottes
MozReview-Commit-ID: BZrZMHWGN3X
2018-03-06 14:45:27 -05:00
Jan Odvarko eb219bc6a8 Bug 1443121 - Use new redux-connect wrapper for the Console; r=nchevobbe
* Renaming the connect file to reflect its purpose
* Require the module using absolute path

MozReview-Commit-ID: H3giPGF9dyJ
2018-03-05 14:26:57 +01:00
Nicolas Chevobbe dae11d6da6 Bug 1442602 - Fix Frame component for browser-loader requested resources; r=miker.
There wasn't anything done for this kind of resources, so the URL looked
like resource://devtools/shared/base-loader.js -> resource://devtools/path/to/file.js
and was causing issue in the onClick handler.

MozReview-Commit-ID: GUJOpjDX1zG
2018-03-02 17:56:10 +01:00
Sebastian Hengst 2ef8464bbe merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Jan Odvarko a4594dffd0 Bug 1419350 - Stop doing React updates while netmonitor is in background; r=ochameau
MozReview-Commit-ID: FvKFDiM8xNB
2018-03-01 10:48:26 +01:00
Yura Zenevich afa52a72f9 Bug 1438837 - fix VirtualizedTree node aria-level attribute to start with 1 not 0. r=nchevobbe
MozReview-Commit-ID: KLb964Irdkd
2018-03-01 10:41:47 -05:00
Sebastian Hengst 35f3c204b4 merge mozilla-central to autoland CLOSED TREE 2018-02-28 20:17:53 +02:00
Florian Quèze 5715aadbec Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Alexandre Poirot 1b87908d6e Bug 1441527 - Adapt Task middleware to async functions. r=jryans
MozReview-Commit-ID: 99NjKtf2krk
2018-02-22 10:47:41 -08:00
Brian Grinstead c116f51a86 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
2018-02-27 11:29:59 -08:00
Andreea Pavel d547a32cb0 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-28 00:25:43 +02:00
Michael Ratcliffe f1b92a530d Bug 1204268 - 'appcache validate' command doesn't work when manifest is in outer directory r=miker
MozReview-Commit-ID: Dtl5prPOQTT
2018-02-27 12:26:03 +00:00
Tiberius Oros a9a38cae00 Merge inbound to mozilla-central. a=merge 2018-02-27 00:19:49 +02:00
Michael Ratcliffe 1eec064092 Bug 1441147 - Upgrade redux and react-redux to remove react-dev warnings r=nchevobbe
This is as simple as an upgrade can be. Everything still appears to work but we should ensure try is green before landing.

MozReview-Commit-ID: KjH6nnuK4EY
2018-02-26 13:44:55 +00:00
Michael Ratcliffe fa940b81ef 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
2018-02-21 20:34:19 +00:00
Masayuki Nakano acd24d6ad1 Bug 1439500 - Make devtools/client/shared/widgets handle non-printable keys and key combinations with keydown event r=jryans
We'll stop dispatching keypress event for non-printable keys and key
combinations at least in web content.  This means that widget of
devtools/client cannot be tested with loading them into tabs with mochitest
browser chrome.  Fortunately, they are cleanly independent from other module's
keypress event listeners.  So, we can make they use keydown event to handle
non-printable keys and key combinations.

MozReview-Commit-ID: 6fNSsGi9VbQ
2018-02-20 18:57:35 +09:00
Ruturaj K. Vartak e77c9719ae Bug 1438457 - Autocomplete popup should autoselect the first element of the list. r=nchevobbe. 2018-02-23 02:38:00 +02:00
J. Ryan Stinnett 0f76b03190 Bug 1441974 - Avoid duplicate clicks in sidebar toggle. r=gl
After the React monkeypatch removal (bug 1420130), some events can be duplicated
because both privileged and non-privileged versions are dispatched.

To work around this, we can stop propagation for the event in cases like this
where it is safe to do so.

MozReview-Commit-ID: L6cHpuTw1D2
2018-02-28 13:45:47 -06:00
Yura Zenevich d9e6008ee5 Bug 1428433 - added role 'presentation' to shared component elements that do not have any semantics. r=Honza
MozReview-Commit-ID: 6HMgKzMgk2k
2018-02-23 13:54:39 -05:00
Ruturaj K. Vartak f71a5ba59d Bug 1439242 - Headers filter in netmonitor broken. r=honza. 2018-02-21 21:01:00 +02:00
Michael Ratcliffe d8b122fcc7 Bug 1420130 - Remove React Proxy Monkeypatch r=gregtatum
MozReview-Commit-ID: 9L9PYPDGTmj
2018-02-13 13:26:03 +00:00
[email protected] 9a77f9fcc6 Backed out changeset 84ab509808e7 (bug 1420130) for mochitest failures on /browser_fontinspector_expand-css-code.js 2018-02-21 00:33:09 +02:00
Michael Ratcliffe a71b47bae3 Bug 1420130 - Remove React Proxy Monkeypatch and see how it affects DAMP r=gregtatum
MozReview-Commit-ID: 9L9PYPDGTmj
2018-02-13 13:26:03 +00:00