Commit Graph
7430 Commits
Author SHA1 Message Date
Lin Clark fb8c6a0af0 Bug 1281051 - Remove text-node rep. r=Honza 2016-06-21 09:45:00 -04:00
Christoph Kerschbaumer 618620b065 Bug 1281114 - Convert devtools/client/debugger/test/mochitest/addon3.xpi to use channel.open2() r=grinstead 2016-06-21 10:23:58 +02:00
Carsten "Tomcat" Book 1d413e8f7b Merge mozilla-central to mozilla-inbound 2016-06-22 13:46:46 +02:00
Jan de Mooij 971389ad49 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Jan de Mooij 220acfd211 Bug 1282113 - When we're shutting down the runtime, only allow shutdown GCs. r=terrence 2016-06-28 11:56:08 +02:00
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
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
Sylvestre Ledru 010a36177a Bug 1289135 - Fix typos in the properties files r=Ehsan
MozReview-Commit-ID: 5n2mCxzkDch
2016-07-25 16:34:38 +02: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 6ac230e8bc Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs
2016-07-26 09:32:21 -06:00
Peter Elmers 81734f059c Bug 1287958 - New console frontend: Add keys to messages. r=bgrins 2016-07-19 15:41:39 -07:00
Greg Tatum 6116ea3895 Bug 1291322 - Manually throttle CssRuleView tests; r=tromey
This patch provides a mechanism for overriding the throttle function in
inspector tests with a manually controllable throttle. I did modify a
few tests to not check for a second "ruleview-changed" as it required
using a setTimeout to defer the code to the next frame to get it to work
as it currently exists. I figured it was safer to just not flush the
throttle, and reduce how many "ruleview-changed" events that the test
expected.

MozReview-Commit-ID: 8AIMouZjLBf
2016-08-02 11:27:27 -05:00
Tom Tromey 88a37a520c Bug 1290234 - remove uses of nsIDOMNode constants from inspector; r=gregtatum
MozReview-Commit-ID: G73Dn8shdkp
2016-07-28 14:03:50 -06:00
Tom Tromey eab752d4af Bug 1274303 - fix gcli "inspect" command; r=jwalker
MozReview-Commit-ID: GeTUvJqvrKx
2016-07-27 13:08:47 -06:00
James Long ae07ee3f14 Bug 1313197 - open source in new tab if it doesn't exist in the debugger r=jlast 2016-11-01 11:22:14 -04:00
Gabriel Luong b8da371ddc Bug 1308257 - Part 1: Move ReflowActor to reflow.js r=pbro 2016-11-01 11:51:58 +09: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
Gabriel Luong c015790bb3 Bug 1288238 - Move the computed toolbar below the box model r=jdescottes 2016-07-22 14:24:19 -04:00
Yury Delendik ac977b8b8b Bug 1288150 - Add fast breakpoint presents check for removeBreakpoints. r=jlongster
MozReview-Commit-ID: KKDUw6st4Bs
2016-07-21 08:52:00 -05:00
Tom Tromey 09c177e89b Bug 1244227 - Remove unused file from devtools/client/netmonitor/test/. r=Honza
MozReview-Commit-ID: 1obunKGZYgx
2016-06-20 11:29:36 -06:00
Tom Tromey 3db2e25714 Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
Tom Tromey 872d714a01 Bug 1244227 - Properly report throttled network timing. r=Honza
MozReview-Commit-ID: BCJLSRGS0vE
2016-02-04 06:40:25 -07:00
Tom Tromey 7e93ed9f92 Bug 1244227 - Add network throttling. r=Honza
MozReview-Commit-ID: Iy6buFxUrGg
2016-01-29 11:56:25 -07:00
Tom Tromey 9121fdb6e6 Bug 1244227 - NetworkResponseListener does not need to implement nsIInterfaceRequestor. r=Honza
MozReview-Commit-ID: 9TMlmdjQWLL
2016-02-16 15:03:23 -07: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 ac96830236 Bug 1278552 - Make sidebar containers focusable so shortcuts work when they are active; r=jdescottes
The rule-view and computed-view now have tabindex="-1" on their containers
so that clicking anywhere in the views will focus them, so will tabbing
through the inspector to them.
This means that any user activity on them ends up focusing them (or any
focusable element in them, which was the case before anyway).
Because of this, pressing ctrl+F (or any other shortcut) will work correctly:
the _onShortcut callback in each of these views will detect that the active
element is the view itself and will therefore handle the event.
Note that the container element that has the tabindex attribute is a child of
the main container element that is scrollable (overflow:auto). That is
because if we use only one element for both, then grabbing the scrollbar will
focus the element and blur any field that's currently focused.

MozReview-Commit-ID: 97a1tpdlbmZ
2016-07-18 14:38:10 +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 98c7a0eefb Bug 1262439 - 7 - Delete the old eyedropper implementation; r=ochameau
MozReview-Commit-ID: FFrbWHiA8f3
2016-06-09 13:33:27 +02:00
Patrick Brosset 91ad55560f Bug 1262439 - 6 - Update the eye-dropper devtools menu entry to use the new eye-dropper; r=ochameau
Removes some old eye-dropper related code in browser.js which was not
used anymore since the devtools menu are added dynamically now.
And replaces the code in devtools/client/menus.js to call the gcli
eyedropper command now instead of the old eyedropper tool.

MozReview-Commit-ID: DMn9eiVOnGY
2016-06-09 13:19:09 +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 1309c4b84e Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue
2016-06-06 15:11:27 +02:00
Patrick Brosset 48056ab112 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd
2016-07-20 16:07:04 +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
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
Lin Clark 9292416ee8 Bug 1289258 - Part 6: Convert store tests. r=bgrins
MozReview-Commit-ID: 8pUV8KFuo4Y
2016-07-27 16:24:15 -04:00
Lin Clark f4763ce63b Bug 1289258 - Part 5: Convert component tests to mocha. r=bgrins
MozReview-Commit-ID: 7MhaWRxJACl
2016-07-27 14:20:48 -04:00
Lin Clark 0f39a358c0 Bug 1289258 - Part 4: Convert utils tests to mocha. r=bgrins 2016-07-26 15:56:46 -04:00
Lin Clark a46122dc79 Bug 1289258 - Part 3: Convert action test to Mocha. r=bgrins
MozReview-Commit-ID: LFqvilPHUe1
2016-07-26 15:16:59 -04:00