Commit Graph

403 Commits

Author SHA1 Message Date
Patrick Brosset
292adfbff7 Bug 1121528 - Avoid the inspector going blank when quickly navigating; r=bgrins
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
2015-04-17 12:09:58 +02:00
Gabriel Luong
4e698df748 Bug 1120616 - Part 5: Refactor style inspector tests to use synthesizeKeys r=bgrins 2015-04-16 14:15:35 -04:00
Gabriel Luong
5627d34bdd Bug 1120616 - Part 4: Add textbox context menu for rule and computed view r=bgrins 2015-04-16 14:15:28 -04:00
Gabriel Luong
f9f4f8c891 Bug 1120616 - Part 3: Adjust the styles in the computed view's filter style search r=bgrins 2015-04-16 14:15:24 -04:00
Gabriel Luong
4ab56e56e8 Bug 1120616 - Part 2: Add unit tests for filter styles in rule view r=bgrins 2015-04-16 14:15:20 -04:00
Gabriel Luong
1faf344267 Bug 1120616 - Part 1: Implement filter styles in rule view r=bgrins 2015-04-16 14:15:09 -04:00
Patrick Brosset
e6e0278825 Bug 966787 - 2 - Skip inspector breadcrumb updates when the output doesn't change; r=bgrins
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
2015-04-13 10:22:05 +02:00
Mahdi Dibaiee
8a2b7753f8 Bug 1055181 - Mochitests for the CSS Filter tooltip; r=pbrosset
--HG--
extra : rebase_source : d455b727e82bc8eb5817d470a20e5464b7358068
extra : histedit_source : 82eac2b90816fdedd8b4fb7c910db3ac01d78ff6
2015-04-10 12:01:40 +04:30
Mahdi Dibaiee
43193dfe3b Bug 1055181 - CSS Filter Tooltip; r=pbrosset
Adds a new devtools tooltip type in the inspector used to edit
css filters. The widget displayed in the tooltip allows to add,
edit, remove, and re-order filters.
Changes made inside the tooltip are applied to the filter
property in the rule-view.

--HG--
extra : rebase_source : a38ce7108bfa4e035892c3c3d89098dc1b2b0052
extra : histedit_source : ff309c03f920359df61e139731f8f57cf55a1545
2015-04-09 13:30:42 +04:30
Sami Jaktholm
6d3dcf46e2 Bug 1148323 - Make checked checkboxes visibile in rule and computed view context menus on Windows. r=pbrosset 2015-04-04 09:19:47 +03:00
Panos Astithas
e4b9084401 Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Sami Jaktholm
499b1fa2b9 Bug 1147765 - Fix console and style inspector tests that interact with style editor. r=ejpbruel
CLOSED TREE
2015-03-21 19:03:35 +02:00
Patrick Brosset
31fcbce2ca Bug 1106272 - Part 3: Test for the selector highlighter feature in the rule-view. r=miker
--HG--
extra : rebase_source : 4b65324399a8ecb8eba60377b16446e4fc0ecf55
2015-03-24 15:57:33 +01:00
Patrick Brosset
d44f1cbad1 Bug 1106272 - Part 2: Change all rule-view events from custom dom events to eventemitter events. r=miker
--HG--
extra : rebase_source : f84711e8e874c92d3f34850573bf375b00930f7d
2015-03-24 15:06:39 +01:00
Patrick Brosset
7a37471593 Bug 1106272 - Part 1: Remove the selector highlight on hover and add a selector icon instead. r=miker
--HG--
extra : rebase_source : 57dcc58a96c35d42111f5b3671de2d4e8da78e35
2015-03-24 14:42:27 +01:00
Alessio Placitelli
d19436f3f5 Bug 1134279 - Change Telemetry data producers to use the correct recording flags. r=vladan 2015-03-23 04:39:00 +01:00
Michael Ratcliffe
cbdede1635 Bug 1120570 - Fix media query in rule view link text. r=bgrins 2015-03-23 17:33:02 +00:00
Tom Tromey
e5bc6a16d3 Bug 1142194 - fix quoteString to correctly quote. r=pbrosset 2015-03-18 08:12:00 +01:00
Tom Tromey
958fa8aaf3 Bug 1142207 - add "^" to REGEX_CSS_VAR to fix variables in the rule view. r=pbrosset
--HG--
extra : amend_source : f904a5d6ae584822606c5c12a3f4027a4d3f7dae
2015-03-16 07:55:00 -07:00
Ryan VanderMeulen
ef7adc09c2 Bug 1137765 - Request a longer timeout for browser_styleinspector_context-menu-copy-color_01.js.
CLOSED TREE

--HG--
extra : rebase_source : 06a5b00a8d4d6747290c1111b80f3e5bb6b7d85b
2015-02-27 12:53:15 -05:00
Tim Nguyen
8e21ed3081 Bug 1133205 - Fix SVG style edition in rules view. r=pbrosset 2015-02-23 12:40:00 -05:00
Brian Grinstead
dc83310391 Bug 1123948 - Wait for _applyingModifications to finish before checking computed style in livepreview test. r=pbrosset 2015-02-18 09:43:00 -05:00
Carsten "Tomcat" Book
5d6b2bde45 Backed out changeset 0799176cb906 (bug 1120570) for m-oth test regressions on a CLOSED TREE 2015-02-18 16:57:48 +01:00
Michael Ratcliffe
2e43ba9759 Bug 1120570 - Fix media query in rule view link text r=bgrins 2015-02-18 12:54:11 +00:00
Matteo Ferretti
b5fd939f60 Bug 1127238 - Remove the hard-coded list of highlighters; r=pbrosset CLOSED TREE
--HG--
extra : amend_source : cd57594cb3fae346e0d454920bc62475a0a3a9ec
2015-02-03 13:03:33 +01:00
L. David Baron
d11f0e55fb Bug 743392 - Serialize background-color at the beginning of the last item of the background shorthand. r=heycam
This matches what Chrome and WebKit do for a single-item background
shorthand, per discussion on today's CSS teleconference.  (At least
Chrome has bugs for multiple-items.)

The added test fails without the patch and passes with the patch.
2015-01-22 16:53:56 -08:00
Patrick Brosset
c993303a3d Bug 1110110 - 1 - Remove various inspector-related exception logs during dt test runs; r=bgrins 2015-01-22 10:42:45 +01:00
Eddy Bruël
4d5052fce3 Bug 1096490 - Remove the deprecated-sync-thenables from protocol.js;r=bgrins 2015-01-19 13:58:45 +01:00
Cameron McCormack
bb019d8d4c Bug 1038134 - Part 6.1: Change browser_ruleview_completion-existing-property_01.js from using border-* to font-*. r=pbrosset 2015-01-17 15:22:52 +11:00
Eddy Bruël
3004465c29 Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset 2015-01-13 10:05:20 +01:00
Heather Arthur
5e9f69c5a4 Bug 990741 - Add telemetry to eyedropper. r=mratcliffe 2014-12-17 11:04:00 -05:00
Michael Ratcliffe
93673abdb9 Bug 1111601 - Avoid using hiddenwindow in DevTools code r=pbrosset 2014-12-17 13:43:30 +00:00
Patrick Brosset
9c625888b6 Bug 1104908 - 3 - Re-enable most of the styleinspector tests on e10s; r=me 2014-12-16 22:34:17 +01:00
Patrick Brosset
9cb7db4564 Bug 1104908 - 2 - Remove the timeout in styleinspector's waitforsuccess test helper function; r=harth 2014-12-16 22:34:13 +01:00
abdelrhman
3990efb3f1 Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao
--HG--
extra : rebase_source : d7ef16a16f884458d99dff05efb370694d2ea5e3
2014-12-15 22:05:46 +01:00
Patrick Brosset
77d594ab26 Bug 1075319 - Use native add_task in devtools mochitests rather than custom asyncTest. r=miker 2014-12-15 03:37:00 -05:00
Patrick Brosset
a0a6bdc6d7 Bug 1104908 - 1 - Fix e10s intermittent browser_computedview_original-source-link.js; r=harth 2014-12-15 12:24:47 +01:00
Patrick Brosset
acf691100a Bug 1103993 - 4 - Cleanup styleinspector tests; r=bgrins 2014-12-10 09:09:25 +01:00
Patrick Brosset
b66c23fae5 Bug 1103993 - 3 - Only refresh the rule/computed views when active; r=bgrins r=ochameau 2014-12-10 09:09:19 +01:00
Patrick Brosset
9a01cdb256 Bug 1103993 - part 2 - Clean-up some of the style-inspector's code; r=bgrins 2014-11-26 10:18:12 +01:00
Patrick Brosset
1228075d81 Bug 1103993 - part 1 - Rename the style-inspector's highlight methods; r=bgrins 2014-11-26 10:18:07 +01:00
Ryan VanderMeulen
b719233c6a Bug 1104908 - Disable the Style Inspector tests on Linux e10s.
CLOSED TREE

--HG--
extra : rebase_source : 48f548c3da3cdf4e9c18b8e3604e6887ca64f612
2014-11-25 14:23:01 -05:00
Brian Grinstead
721d2dd930 Bug 1102084 - Add more contrast for the currently hovered node in the markup view;r=vporof 2014-11-24 13:59:46 -08:00
Brian Grinstead
ecad4235cb Bug 1102369 - Convert existing devtools colors to CSS variables - part 2;r=vporof 2014-11-20 12:10:32 -08:00
Heather Arthur
c2a7709c61 Bug 1040653 - Make eyedropper work with e10s. r=mratcliffe 2014-11-07 16:46:00 +01:00
Eddy Bruël
3702f66bc0 Bug 1090340 - Disable failing tests on Linux Opt for E10S (Holly);r=me 2014-10-28 17:14:00 +01:00
Simon Lindholm
a749046d66 Bug 1075444 - Handle "(" when parsing CSS for the Style Inspector. r=bgrins 2014-10-24 05:28:00 -04:00
Bruno Peres
747255721f Bug 949651 - Serialize all pseudo-elements with the two-colon syntax, even those that allow one colon. r=dbaron 2014-10-18 17:01:58 -04:00
David Rajchenbach-Teller
6ccc5443f6 Bug 1016387 - Whitelisting tests that leak Promise rejections (devtools). r=paul 2014-10-04 14:21:00 +02:00
Carsten "Tomcat" Book
716ea73d4c Backed out changeset 746989e4c8d1 (bug 1016387) for bc1/bc3 test failures 2014-10-10 10:41:25 +02:00