Commit Graph
1259 Commits
Author SHA1 Message Date
Ben Kelly 572b3ee933 Bug 1279389 P2 Relax the timing in browser_telemetry_toolboxtabs_storage.js to account for osfile worker startup. r=jryans 2016-06-28 18:47:55 -07:00
Tom Tromey 33ff5b91eb Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri
2016-07-26 09:34:25 -06:00
Tom Tromey c2d182a6ab Bug 1294190 - prefix local storage keys used by prefs; r=gregtatum
MozReview-Commit-ID: 33oX6bHSfyi
2016-08-10 15:36:26 -06:00
Tom Tromey 74e17fc392 Bug 1294190 - allow observation of a preference in shim prefs; r=gregtatum
MozReview-Commit-ID: 1Rzs8F0yJtt
2016-08-10 15:28:34 -06:00
Tom Tromey 22f4eef22b Bug 1294190 - fix latent problems in test_service_prefs.html; r=gregtatum
MozReview-Commit-ID: GkqfMh14Aio
2016-08-10 15:09:20 -06:00
gasolin 07253550a1 Bug 1264686 - Reps: Use grip-array rep to display NamedNodeMap. r=linclark
MozReview-Commit-ID: 9hy2A9wmrAW
2016-07-21 10:53:49 +08:00
Julian Descottes c304555c0a Bug 1288375 - ruleview: fix invisible icons in filter widget tooltip;r=pbro
Scoped stylesheets cannot make reference to an element outside of the scope in any
part of a selector. This means a selector such as ".theme-light .scoped-element"
can not work in a scoped stylesheet.

Theme specific rules have been removed from the filter&bezier tooltip css. Instead
CSS variables defined for each theme are used in the scoped stylesheets.

MozReview-Commit-ID: 7apGbPc0CYy
2016-07-21 16:26:36 +02:00
Julian Descottes f474a9cf9b Bug 1283705 - wait for popuphidden to fix intermittent test browser_tableWidget_mouse_interaction;r=miker
MozReview-Commit-ID: GFyH7f1bXpR
2016-07-15 11:23:14 +02:00
Julian Descottes df74e45ea9 Bug 1288358 - restore padding around spectrum widget in colorpicker tooltip;r=pbro
MozReview-Commit-ID: BFZA3tDkoR0
2016-07-21 11:22:36 +02:00
Patrick Brosset c1a3c73892 Bug 1262439 - 8 - Re-implement telemetry in the eye-dropper; r=miker
MozReview-Commit-ID: 2XDhAb3iXdu
2016-06-09 16:02:08 +02:00
Patrick Brosset 3e7653ff54 Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD
2016-07-20 16:06:42 +02:00
Patrick Brosset 84a4813234 Bug 1262439 - 4 - Use the new eye-dropper highlighter in the color-picker tooltip; r=bgrins
The color-picker tooltip now uses the new eye-dropper highlighter, by
using the pickColorFromPage inspector method instead of the XUL-based
eye-dropper tool.

Telemetry hasn't yet been re-implemented in the new eye-dropper highlighter
so the telemetry-related test code has been removed for now. This will be
added again in a later commit.

MozReview-Commit-ID: enSzSKHac4
2016-07-20 14:47:24 +02:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book 506404d9f1 Merge mozilla-central to autoland 2016-07-18 17:14:33 +02:00
Lin Clark d1e8fabeee Bug 1264681 - [rep tests] Add tests for document rep. r=me
MozReview-Commit-ID: 2AkaAtb86O8
2016-06-24 07:07:42 -04:00
Lin Clark 8505ab2f53 Bug 1264695 - [rep tests] Add tests for regexp rep. r=me
MozReview-Commit-ID: EsiwaoNYc6X
2016-06-24 09:14:28 -04:00
Tom Tromey 44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Wes Kocher 4525c779e5 Backed out changeset fccbaff0ea6f (bug 1286259) for test_reps_grip-array.html failures a=backout 2016-08-15 16:55:31 -07:00
Wes Kocher 740463f70e Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Fred Lin 243f45881f Bug 1286259 - Reps: grip-array rep should support limited preview; r=Honza
MozReview-Commit-ID: IiATBSqv4Wz
2016-08-11 11:19:33 +08:00
Eric Rahm f88c2ff35a Bug 1179048 - Use mouseout instead of mouseleave in devtools. r=fitzgen
Using mouseleave in chrome code generates a warning in docshell about
performance which notes mouseout should be used instead. This patch replaces
usage of mouseleave with mouseout across the devtools codebase.
2015-07-20 12:13:00 -07: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
Jarda Snajdr 5dc2ff4680 Bug 1277264 - Part 2: Remove setImageContent method from Tooltip.js r=jdescottes 2016-06-12 12:01:00 +01: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
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
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 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 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
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
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
Tom Tromey 1543b8a054 Bug 1277534 - avoid output-parser failure with invalid URL; r=pbro
MozReview-Commit-ID: CK5n8sHgmwD
2016-06-06 08:56:47 -06:00
Julian Descottes 7985853271 Bug 1277501 - convert inspector breadcrumbs to shortcut-key API;r=ochameau
Existing keyboard shortcuts have been reimplemented using the new shortcut-key
api.

A keypress handler was removed  on the breadcrumbs buttons, it had no use
since a focused button is always selected.

MozReview-Commit-ID: JTSRxwQGSlh
2016-06-02 12:04:14 +02:00
Julian Descottes c778afb7c0 Bug 1254070 - inspector: trigger autocomplete if nextchar is not a word character;r=gl
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
2016-03-08 19:27:25 +01:00
Greg Tatum 4aebc40c28 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Julian Descottes 7046ee2670 Bug 1277906 - part2: focus previous active element when hiding HTML Tooltip;r=bgrins
MozReview-Commit-ID: GuiwOlZyyik
2016-06-04 00:40:37 +02:00
Julian Descottes 74a70da867 Bug 1277906 - part1: change HTMLTooltip default autofocus value to false;r=bgrins
Given the current usage of the HTMLTooltip, I think having the autofocus as
an opt-in behavior makes more sense.

MozReview-Commit-ID: CS98szSKQdF
2016-06-03 21:15:54 +02:00
Nicolas Chevobbe a4164b00fb Bug 1248274 - Fix click on augmented value elements (swatch, url,…) on the RuleView when property's name is being edited. r=pbro
Do not update the value span if the property name has not been modified.
Add tests to ensure the bug is fixed.

MozReview-Commit-ID: 7AHnd4iFmYW
2016-04-29 13:29:49 +02:00
Nick Fitzgerald 6783a8670c Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
James Long d86f63cef0 Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Alexandre Poirot cebe930459 Bug 1271988 - Support targeting a specific element on key shortcut module. r=bgrins 2016-06-03 02:24:31 -07:00
Julian Descottes 2c3b0d3082 Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r=tromey
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
2016-06-01 17:07:09 +02:00
Jan Odvarko 6928cd3edc Bug 1276661 - Fix notification bar colors on Linux. r=bgrins 2016-05-31 17:14:43 +02:00
Sami Jaktholm bb5811c20d Bug 1230990 - Wait for the source text to finish loading before signaling that source has been shown in the debugger. r=ochameau
Currently viewSourceInDebugger() only waits for a source to be shown if it is
not the selected one. If the requested source is selected by default, it might
already be selected when the isLoading check is made. However, the actual
source text might still be loading since it is loaded asynchronously.

In this case the method does not wait for the source to be shown meaning the
method resolves before the source is ready in the debugger. This causes
browser_toolbox_view_source_01.js to fail intermittently with wrong
line number since it looks at the focused line BEFORE the source text has
loaded and the correct line is selected.

This changeset modifies the behavior of viewSourceInDebugger() to also wait for
source shown event if the source is already selected but still loading.

MozReview-Commit-ID: JvxjJ5Yt19a
2016-05-21 10:50:51 +03:00
Steve Melia f92b128fd4 Bug 1276533: Update test actor to scroll element into view before simulating mouse click;r=ochameau
MozReview-Commit-ID: ElTy62z8tl6
2016-05-31 22:03:58 +01:00
Benoit Chabod ff87dbc796 Bug 1254392 - Change getJSON behaviour and move caches to local storage, r=jryans 2016-06-01 06:15:00 +02:00
Jan Odvarko 3053bca2b6 Bug 1276229 - Move PropRep Component into its own module; r=jryans
MozReview-Commit-ID: EWhmTGuVwSH
2016-06-01 00:38:46 -07:00
Alexandre Poirot 51346cf61c Bug 1268447 - Convert webconsole to use new key shortcut module. r=bgrins 2016-05-31 14:17:03 -07:00