Since we are now using "devtools/shared/dom-node-constants" in Reps, the JSONView
was failing. Add "devtools/shared" to the requirejs configuration to allow the JSONView
to require the script, and wrap the dom-node-constants export in `define` since the view
expect the modules to be AMD.
MozReview-Commit-ID: CXQZ0YzrWGV
This changes the behavior of the element picker so that when it is
cancelled the previously selected DOM node is re-scrolled into view.
Additionally the existing behavior of the keyboard shortcuts for the
element picker was broken when the devtools toolbox was docked. The main
content area was not being focused, so the keyboard shortcuts for the
element picker were not being used. When the toolbox is detached, the
focus event is still not fired, as it's not desirable to have the
content pop into view over the devtools.
Finally there is now an additional implementation of the Escape shortcut
when the devtools are focused. The console Escape shortcut is ignored
until the element picker has been disabled making disabling the element
picker consistent irrelevant of the context.
MozReview-Commit-ID: HxENmPBoTcD
Expose network throttling via the emulation actor, similar to other platform
features that RDM alters. This simplifies the client side since we can avoid
thinking about console clients, etc.
MozReview-Commit-ID: 3CNnJl6Ude8
This patch removes the preferences from the css properties db as they
are not needed anymore. It also makes the generation process more
robust when the properties-db.js has been deleted. Finally the comments
have been updated to reflect the recent change in approach to the
devtools-css-db.
MozReview-Commit-ID: H31QGYTjy34
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update nsComputedDomStylePropertyList.h
4. update devtools' property database
MozReview-Commit-ID: B3kOFrM9EL
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update devtools' property database
MozReview-Commit-ID: B3kOFrM9EL
This caching feature is no longer valid as the client-side database
will not necessarily be the same as the server since the DB is
only built on nightly.
MozReview-Commit-ID: 550EQmgO9O7
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.
MozReview-Commit-ID: 7aDIsyZjf6h