In this patch, remove main codes of old animation inspector such the
inspector/animation-old directory. Additionally, remove the codes that had been
referring the old codes.
Also, remove a CSS variable which no longer reffered in inspector from
devtools/client/themes/breadcrumbs.css, because this caused a test failure occur
from browser/base/content/test/static/browser_parsable_css.js. In this patch,
remove animationinspector.css as well. The reason why the error was not occurred
so far is that it had been interpreted that animationinspector.css refer to the
variable.
Differential Revision: https://phabricator.services.mozilla.com/D5498
This patch increases the timeout for 'devtools/client/inspector/animation/test/browser_animation_keyframes-graph_computed-value-path_easing-hint.js' for failures on windows10-64-ccov.
Differential Revision: https://phabricator.services.mozilla.com/D5473
Before this change it was hardcoded to "application/x-www-form-urlencoded",
now original type is simply forwarded.
Differential Revision: https://phabricator.services.mozilla.com/D5220
The App component takes the whole document space, so we can move the
code that listen for every click in the console UI to decide if the
jsterm should be focused or not.
This feels more like the React way, and will also provide us better
access to the store and the props when we need them in this focus
handling (like this will be the case for hiding the reverse search UI).
Depends on D5150
Differential Revision: https://phabricator.services.mozilla.com/D5152
This adds 2 arrowhead images to navigate to the next and previous result
in the reverse search UI.
The search.svg icon is modified to accept fill through CSS.
Depends on D5149
Differential Revision: https://phabricator.services.mozilla.com/D5150
The App component takes the whole document space, so we can move the
code that listen for every click in the console UI to decide if the
jsterm should be focused or not.
This feels more like the React way, and will also provide us better
access to the store and the props when we need them in this focus
handling (like this will be the case for hiding the reverse search UI).
Depends on D5150
Differential Revision: https://phabricator.services.mozilla.com/D5152
This adds 2 arrowhead images to navigate to the next and previous result
in the reverse search UI.
The search.svg icon is modified to accept fill through CSS.
Depends on D5149
Differential Revision: https://phabricator.services.mozilla.com/D5150
- This removes the "shown" property from the flexItem types, and introduces a flexItemShown
property in the flexbox state that keeps track of the node actor ID of the flex item that is shown.
This patch remove some unused dom elements and CSS rules
that might negatively influence reflow times.
Also, we set an hidden overflow to all the element we know
for sure won't ever have a scrollbar, which seems to speed
up the reflow significantly.
Differential Revision: https://phabricator.services.mozilla.com/D4695
This patch introduces some options that can be passed to
setItems and openPopup to prevent doing unecessary work.
The main ideas here are to create all the popup items and
put them in a document fragment which then will be appended
to the popup, so we don't add them one by one which can be costly.
When creatingthe items, we also create one directly with the
selected class if autoSelect is set to true. This way, we don't have
to toggle the class later (which led to another reflow).
We take this work as an opportinuity to clean up the component.
Unused function (like appendItem and removeItem) are removed,
selectedIndex does not use a getter/setter anymore.
Some of the consumers calls are updated and so is the component test.
Differential Revision: https://phabricator.services.mozilla.com/D4848