We don't have a HeapSnapshotFileFront, this actor is used under the covers in
the MemoryFront, but we should work towards all actors being defined in the
WithSpec way.
Adapt existing tests checking for updates to shortValue and incompleteValue on
NodeFront instances. Instead we now check for mutations of inlineTextChild type
as well as for the inlineTextChild property of the parent front.
MozReview-Commit-ID: 1mujxwVfvvP
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.
MozReview-Commit-ID: 7MdgH8GzC7q
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit
If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.
MozReview-Commit-ID: HcDMqjbOesN
Migrate the previewTooltip used in the ruleview (& computedview) to use a
HTMLTooltip instance.
Helper methods from Tooltip.js have been removed, migrated to HTML and are
now in style-inspector-overlays.js (not used by any other client). Tests
have been updated to be compatible with HTML Image preview tooltips.
The behavior should be the same as before, so no new test has been added.
MozReview-Commit-ID: HuFatuPi5VM
For the style attribute CSS autocompletion, suggestions will now be provided
when the character after the caret is a non-word character. As opposed to the
current behavior where suggestions would only be displayed if the next character
was the end of the input or a space.
This allows to show suggestions when the user's caret is next to ";" or '"', which
can frequently happen when editing style attributes.
MozReview-Commit-ID: Bvz6koikbqR
The XUL tabpanel can no longer receive userfocus to avoid scrollbars
stealing the focus. Editors are using the blur event to destroy
themselves, which was no longer working if a user click ended up on
the tabpanel element.
Add a wrapper inside the layout view panel taking
100% width and height to make sure clicks performed outside of the layout
container will trigger a blur event on a focused editor.
MozReview-Commit-ID: JmZluQ6LzFl
In order to keep testing indexes & total number of displayed suggestions,
added two tests relying on mocked suggetions list.
The inplace-editor API has been modified to allow mocking the suggestions.
Helper methods in devtools/client/shared/test have been moved to a new
test helper helper_inplace_editor.js, loaded by all inplace-editor
tests of this test suite.
CLOSED TREE
MozReview-Commit-ID: LuXelKF0kY
Several devtools autocomplete tests are checking that the popup
displays an exact number of suggestion, and that the selected
suggestion is exactly at the expected index.
Since devtools do not control the list of CSS properties used for the
autocomplete, we should not assert anything based on it in tests.
MozReview-Commit-ID: H4Azyx0UgpX