Commit Graph
2597 Commits
Author SHA1 Message Date
Nicolas Chevobbe 956d9c3018 Bug 1224504 - Use the same variable name in CssComputedView than in CssRuleView for inspected element. r=jdescottes
MozReview-Commit-ID: 7U4YYqdR7nZ
2016-06-20 18:22:20 +02:00
Nicolas Chevobbe 94d5c6f941 Bug 1224504 - Selecting the rule view panel should refresh the panel content. r=jdescottes
That's what the code intended to do, but it was checking an unexisting property.
This patch fixes that and adds a test to make sure changes are synced in the rule
view when editing properties in the layout view.
Move getRuleViewRuleEditor from inspector/rules/test/head to inspector/test/head in order to use
it in computed test folder. Remove the duplicated function in inspector/shared/test/head.

MozReview-Commit-ID: JbE4ppheSZC
2016-06-20 18:20:08 +02:00
Nicolas Chevobbe 154eb0aea8 Bug 1280520 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js. r=bgrins
MozReview-Commit-ID: 5hlcANi1exr
2016-06-17 17:23:44 +02:00
Tom Tromey dfb699ff53 Bug 1265830 - Remove uses of nsIDOMCSSRule from devtools. r=bgrins
MozReview-Commit-ID: 9q9Ei38My4A
2016-06-16 10:22:28 +01:00
Tom Tromey 0e5b8b227e Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G
2016-06-20 06:38:39 -06:00
moby fc0f8742a1 Bug 1203079 - Allow Ctrl+Shift+C to cancel element picker even if page becomes unfocused; r=pbro 2016-06-14 04:57:00 +01:00
Carsten "Tomcat" Book 961b5571f2 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Christoph Kerschbaumer 2c9d1aa9e0 Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead 2016-06-15 13:19:31 +01:00
Jarda Snajdr 5eca1c41fb Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly 2016-06-14 04:08:00 +01:00
Amod Narvekar 0e517cd3d7 Bug 1267503 - Show the font-inspector in sidebar menu if enabled, r=jdescottes 2016-06-14 08:12:00 +01:00
Patrick Brosset 22dfd32737 Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
Nicolas Chevobbe 3cbf734ad4 Bug 1271184 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js . r=bgrins
MozReview-Commit-ID: F3OSrcDYEbO
2016-06-10 23:11:48 +02:00
Jarda Snajdr 5dc2ff4680 Bug 1277264 - Part 2: Remove setImageContent method from Tooltip.js r=jdescottes 2016-06-12 12:01:00 +01:00
Jarda Snajdr 1cc8e2a3d0 Bug 1277264 - Part 1: Migrate netmonitor tooltips to HTML Tooltip. r=jdescottes 2016-06-12 12:01:00 +01:00
Nicolas Chevobbe b77179e404 Bug 1240038 - Listen for changes when a StyleSheetActor is created. r=tromey
A listener was added for stylesheet changes only if the stylesheet already
contributed to the page before the modification. So if there was a stylesheet
without any rule matching a node of the page, when a rule was created in it for
the current selected node in the markup view, the rule view wasn't refreshed.
The fix here is to emit an event, from the TabActor, when a StyleSheetActor is created,
and listen to such event to watch for changes in it, in order to update the rule view.
Modify an existing rule view/stylesheet editor sync test to make sure this bug is fixed.


MozReview-Commit-ID: H3szbUnchQP
2016-06-07 22:28:45 +02:00
Brian Grinstead 6ff4727f5a Bug 1266478 - Eslint fixes followup;r=me
MozReview-Commit-ID: 2BtKqZ23Qna
2016-06-10 16:51:47 -07:00
Brian Grinstead 56c23c5a7b Bug 1266478 - Integrate Menu API with inspector;r=pbro
This patch converts the inspector's context menu implementation away from
directly using XUL menus, and updates a number of tests to match.

MozReview-Commit-ID: L8aL23BUmXS
2016-06-10 15:52:27 -07:00
Nick Fitzgerald d1b4cd56b2 bug 1265723 - Decouple the MemoryFront from the MemoryActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Nick Fitzgerald b52886d1fe Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Julian Descottes 6b4ec8f341 Bug 1279441 - fix HTMLTooltip closing after click on inner iframe;r=bgrins
MozReview-Commit-ID: EggheTpU2y3
2016-06-10 11:24:04 +02:00
Jan Odvarko f4c2f1dcd1 Bug 1279215 - Move Tabs component to shared/components; r=pbro 2016-06-09 16:19:49 +02:00
Jan Odvarko b53324bfbc Bug 1278050 - Fix perf icon in the Net panel; r=ntim 2016-06-09 10:49:18 +02:00
Fabien Udriot 1d19b723cb Bug 1256810 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_repeated_messages_accuracy.js. r=linclark 2016-06-09 05:52:00 +02:00
Jan Odvarko 464f688c77 Bug 1277199 - Fix CSS for command-button-frames; r=ochameau, ntim 2016-06-09 13:07:34 +02:00
J. Ryan Stinnett 169c44d5f6 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Wes Kocher 64d8c15825 Bug 1265720 - ESLint fix 2016-06-09 12:00:28 -07:00
Eddy Bruel 84f0397a71 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Patrick Brosset 8aa7ed27cc Bug 1262710 - Don't use CPOW in devtools/server/test/browser tests when adding a tab; r=ochameau
MozReview-Commit-ID: DFJvufMBTjn
2016-06-08 09:47:02 +02:00
Carsten "Tomcat" Book 880355bb09 Merge mozilla-central to fx-team 2016-06-09 12:14:03 +02:00
Carsten "Tomcat" Book af0e25a749 merge mozilla-inbound to mozilla-central a=merge 2016-06-09 11:58:06 +02:00
Fabien Udriot cc47171484 Bug 1256936 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/test-bug-603750-websocket.js. r=linclark 2016-06-08 09:07:00 +02:00
moby 66d259e40e Bug 1245337 - Fix content.console.log statements in browser_webconsole_bug_613642_maintain_scroll.js; r=bgrins 2016-06-07 15:29:00 +02:00
Nicolas Chevobbe 5a9a52d5b1 Bug 1177324 - Fix dead CPOW intermittent in browser_webconsole_live_filtering_of_message_types.js . r=bgrins
MozReview-Commit-ID: 69Nf9VwHoUq
2016-06-07 22:47:06 +02:00
Wes Kocher 221ef85be6 Merge m-c to fx-team, a=merge 2016-06-08 17:13:46 -07:00
Wes Kocher 1952bcdfc1 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrea Marchesini 53ff1fb52e Bug 1278630 - Native Console API should work also after a refresh, r=bgrins 2016-06-08 08:01:08 -07:00
Julian Descottes f5dc74d78e Bug 1266450 - part7: fix html tooltip autofocus behavior;r=bgrins
For autofocus tooltips, we need to find a focusable item in order
to call focus() now that the tooltip content lives in the same
document as the toolbox. Updated the corresponding test and made
some superficial changes to HTMLTooltip.js.

MozReview-Commit-ID: L61eIxgFm3d
2016-06-08 13:32:15 +02:00
Julian Descottes f35ef554de Bug 1270494 - fix autocomplete popup offset for multiple values input;r=pbro
Fixed regression from Bug 1168246 and added a unit test to loosely check that
the autocomplete popup moves along with autocompleted query.

MozReview-Commit-ID: H7t5WjkwBE4
2016-06-06 12:10:13 +02:00
Jan Odvarko 8478846f51 Bug 1274760 - Fix colors in Rules side panel; r=pbro 2016-06-07 10:38:20 +02:00
Julian Descottes 2e11b982f8 Bug 1266450 - part6: migrate EventDetails tooltip;r=bgrins
For now this is a 1 to 1 migration of the existing Tooltip
helper method from XUL to HTML.

MozReview-Commit-ID: 9YiJLgibV9h
2016-05-31 11:25:43 +02:00
Julian Descottes 1d32bc08f6 Bug 1266450 - part5: move event details tooltip css to tooltips.css;r=bgrins
MozReview-Commit-ID: 9b1C1g0e6K5
2016-06-03 15:07:23 +02:00
Julian Descottes c94e194787 Bug 1266450 - part4: allow tooltips to have a variable height;r=bgrins
With this changeset the tooltip's effective height can be smaller than
the height specified when calling setContent. If the tooltip content is
dynamic, this allows to display a small tooltip frame if the content is
collapsed, and a bigger tooltip frame when it is expanded.

MozReview-Commit-ID: 44vA0Rdz62m
2016-06-03 12:52:59 +02:00
Julian Descottes 6605337e81 Bug 1266450 - part3: fix helper to check if click occurred in tooltip;r=bgrins
The existing helper checking if a click occurred inside or outside a
HTMLTooltip container was failing if the click occurred in an iframe.

MozReview-Commit-ID: 9AIACOukYUF
2016-06-03 12:50:39 +02:00
Eddy Bruel 624adbf498 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Julian Descottes ce41dce5f4 Bug 1266450 - part2: remove iframe container for HTML tooltip;r=bgrins
In order to have tooltips with a variable height, the tooltip container
should be allowed to resize itself on the fly, which cannot be achieved
with an iframe.

This changeset makes the HTMLTooltip rely on a HTML container inserted
in the XUL document directly. This allows to go back to a synchronous
API which also simplifies the implementation.

MozReview-Commit-ID: EDcsnVSKmeU
2016-05-30 23:02:58 +02:00
Julian Descottes de9f21ec87 Bug 1266450 - part1: move devtools tooltip styles to dedicated file;r=bgrins
Tooltip styles are scattered between common.css and panel-specific CSS
files (e.g. inspector.css). For the HTML tooltip, the panel specific CSS
files will not be applied since the tooltip container is appended to the
devtools top window.

This changeset creates a new tooltips.css file which is loaded by default
with devtools themes.

MozReview-Commit-ID: BnoRi9gLfD5
2016-06-03 14:36:56 +02:00
Nicolas Chevobbe 04867cd0c8 Bug 1276468 - Fix sheetToUrl function for inline style. r=jwalker
The function was trying to access `stylesheet` parameter's ownerNode property,
which is undefined when the parameter is a StyleSheetActor. In the latter case,
we use nodeHref and styleSheetIndex properties to match what is done when the
parameter is a StyleSheet.

MozReview-Commit-ID: 7FNoKasFYLL
2016-06-06 21:48:54 +02:00
Carsten "Tomcat" Book e9321e1391 merge mozilla-inbound to mozilla-central a=merge 2016-06-08 11:57:53 +02:00
Carsten "Tomcat" Book 7c66295b7a merge fx-team to mozilla-central a=merge 2016-06-08 11:56:38 +02:00
Carsten "Tomcat" Book 5caea4a9e2 Merge mozilla-central to mozilla-inbound 2016-06-07 15:34:15 +02:00