gecko-dev/devtools/client/inspector
Patrick Brosset d440e92be8 Bug 1499755 - Select the right inline stylesheet on rule-view source url click; r=gl
The code we had to jump to the style-editor when a rule-view source link is clicked did
not make any distinction between multiple inline stylesheets. If you had many of them,
they would all have the same url (i.e. the url of the document, because they are
inline). And we were matching stylesheets in the style-editor by url, so we would
always select the first inline stylesheet.

This change makes use of the fact that the style-editor's selectStyleSheet function
also accept a StyleSheetFront object. When passing this object, there can be no
confusion, because they're all different.

Now, I'm only doing this for inlin stylesheets because other stylesheets have unique
urls and it's important to preserve the previous logic since source-maps may also be
involved.

I'm taking this opportunity to re-enable browser_rules_style-editor-link.js which had
been disabled a long time ago, and removing a part that just doesn't work anymore at
all apparently.

Differential Revision: https://phabricator.services.mozilla.com/D9093

--HG--
extra : moz-landing-system : lando
2018-10-18 15:15:12 +00:00
..
animation Bug 1488379 - guard for errors; r=daisuke 2018-10-18 08:54:56 +00:00
boxmodel Bug 1495717 - More user-friendly Flex item sizing information; r=gl 2018-10-12 08:46:34 +00:00
changes Bug 1478448 - (Part 5) Add ChangeManager skeleton to pass tracked style changes to store. r=nchevobbe 2018-09-18 08:56:47 +00:00
components Bug 1454696 - Run eslint --fix for prefer-const;r=yulia 2018-06-01 12:36:09 +02:00
computed Bug 1496990 - Move the onSidebarSelect event handler before adding the sidebar tabs. r=pbro 2018-10-10 11:40:30 -04:00
configs
extensions Bug 1398734 - Fix devtools toolbox issues while removing extension sidebar panels. r=jdescottes 2018-10-03 18:29:30 +00:00
flexbox Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman 2018-10-17 14:24:57 +00:00
fonts Bug 1494162 - Part 38: Use the cached css properties in the inspector. r=pbro 2018-10-01 13:38:19 -04:00
grids Bug 1497312 - The flexbox highlighter color should change on input from the color swatch. r=pbro 2018-10-15 13:18:15 -04:00
layout Bug 1499139 - Stop lazy requiring the FlexboxInspector and GridInspector in LayoutView. r=mtigley 2018-10-16 13:54:17 -04:00
markup Bug 1497905 - Avoid destroying the markup iframe on navigation. r=pbro 2018-10-14 22:26:05 -04:00
rules Bug 1499755 - Select the right inline stylesheet on rule-view source url click; r=gl 2018-10-18 15:15:12 +00:00
shared Bug 1317102 - Part 4: Disable grid highlighter toggles in the rules when the max highlighter is reached. r=jdescottes 2018-10-17 16:51:40 -04:00
test Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
.eslintrc.js
breadcrumbs.js Bug 1464192 - Part 21: Lazy initialize KeyShortcuts on focus of the HTMLBreadcrumbs. r=pbro 2018-09-28 13:51:10 -04:00
index.xhtml Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro 2018-10-12 21:56:44 +00:00
inspector-search.js Bug 1479373 - Refactor autocomplete popup for performance; r=jdescottes. 2018-09-06 05:48:02 +00:00
inspector.js Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
moz.build Bug 1478448 - (Part 2) Add basic Redux actions and reducers for Track Changes. r=nchevobbe 2018-09-18 08:54:51 +00:00
panel.js
reducers.js Bug 1478448 - (Part 2) Add basic Redux actions and reducers for Track Changes. r=nchevobbe 2018-09-18 08:54:51 +00:00
store.js Bug 1454696 - Run eslint --fix for prefer-const;r=yulia 2018-06-01 12:36:09 +02:00
toolsidebar.js Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe 2018-09-25 12:57:13 +00:00