The WebAnimations API now returns names for CSS transitions too. The existing mechanism
in the animation-panel doesn't need to be changed for these names to appear, but some
comments needed modifying.
--HG--
extra : rebase_source : 2ae4d1dd747ad9cf630ec6ed5449a8fc33263004
extra : histedit_source : df40d357379ea965e6ab4095806ee5e4b98cf991
This prevents the WalkerActor from failing at handling various requests when
those requests are about DeaedNodes. Indeed, the async nature of the devtools
protocol means that the client could be asking for information about a node that
doesn't exist anymore because it was part of a page that was navigated away from.
The WalkerActor should know how to deal with such cases, so the patch adds a
number of early returns and a new test for them.
This helps avoiding the inspector-panel from going blank in some edge cases.
--HG--
extra : rebase_source : 26ef72eee71334f6fe467d46a486768296035b8a
extra : histedit_source : 697ddbd179ec2992706f20ca7baccbd4f90f9175%2C6e1130e38ed538809f3ee16fd9a5291fe60a85c1
Previously, there was a case where typing 'a' and then selecting '#about' would
end up with 'about' in the editor. The selection wasn't taking this situation
into account, so now if the prefix of the autocomplete item contains the entire
text of the line, then replace the first part of the line with the item
DeveloperToolbar.show now returns a promise.
This code was missed during the refactoring as it wasn't executed
because some previous test wasn't cleaning up correctly and the toolbar was still on.
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.
This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
This fixes 2 problems related to the split console not opening when it should.
1 - After the inspector selection mode (pick mode) was canceled with ESC, pressing ESC once
again did not open the split console, because the toolbox did not have the focus.
2 - The markup-view tooltip (used to preview images) was eating the first ESC keypress when
the markup-view was focused, even though the tooltip was hidden. This was forcing users to
press ESC twice to open the split console.
--HG--
extra : rebase_source : 503e6f0a8fa2ef153f714af1361e85ad844a49d2
Whenever something changed on the selected element (pseudo, attribute), the
breadcrumbs widget used to loop over all breadcrumbs buttons and re-create the
markup for each.
Now, we cache a string version of the text displayed in a button and compare
the new value to that in the loop, to skip DOM updates.
Additionally, the breadcrumbs widget used to update itself after all markup mutations
in the DOM tree displayed in the inspector. The update method now looks at the mutations
array and early return if none of them actually impact the displayed breadcrumbs.
--HG--
extra : rebase_source : 4945c42d03e5be856c92919aa271811e66f3d188