Commit Graph

474 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
f77299ba17 Backed out changeset c9867a69b201 (bug 1136732) for frequent OSX m-oth test failures on a CLOSED TREE 2015-06-01 16:39:41 +02:00
Aaron Raimist
c577f49017 Bug 1136732 - Limit Minimum Firefox Viewport height to 100px. r=bgrinstead 2015-05-29 14:34:00 +02:00
Patrick Brosset
b0fc02b334 Bug 1166189 - ESLint configuration files for devtools; r=tromey
Adds a global .eslintrc file for all source files in /browser/devtools.
This file defines a set of global variables that are commonly used in
/browser/devtools code.
The files that import modules with Cu.import will need to define their
own globals as /* globals ... */ comments.
This file also defines the configuration for all the rules we want to
use.

This also adds a set of .eslintrc files, one per test directory in
/browser/devtools. Each of these files extend from one of 2 parent config
files: .eslintrc.xpcshell or .eslintrc.mochitest.
The parent config define the set of globals these types of tests have
access to (test runner functions, assertion functions, etc.).

Finally, this also adds .eslintrc files in /toolkit/devtools for code and
tests, which just extend from their counterparts in /browser/devtools.
2015-05-28 09:30:03 +02:00
Patrick Brosset
afc590c391 Bug 1167704 - Remove SpiderMonkey specific syntax in browser/devtools/shared and browser/devtools/framework; r=jryans 2015-05-22 21:17:11 +02:00
Patrick Brosset
6da0833731 Bug 1022726 - Focus the devtools window after switching host type; r=bgrins
After switching to a different toolbox host, make sure the toolbox window
receives the focus so that the toolbox keyboard shortcuts (like move to next
or previous tool) still work.
2015-05-22 16:06:37 +02:00
Panos Astithas
4a8380421f Bug 1163024 - Part 2: Ignore network requests from chrome code in a content toolbox. r=ochameau 2015-05-22 09:09:44 +03:00
Brian Grinstead
4b4691e0dd Bug 1166560 - Make a shared-head.js file for devtools, initially used by the framework and eyedropper tests;r=jryans 2015-05-20 11:46:51 -07:00
Alexandre Poirot
1e0a3af49f Bug 1059882 - Enable frame selection by default. r=jryans 2015-05-18 20:27:32 +02:00
Alexandre Poirot
5cbef5bde7 Bug 1161072 - Reset docshell state (disabled js/cache, service workers) from actor instead of client. r=jryans 2015-05-18 20:15:35 +02:00
Ehsan Akhgari
437d95a148 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Panos Astithas
c1e54e2fe4 Plug the leak in browser_toolbox_selected_tool_unavailable.js in a CLOSED TREE (bug 915448). r=testonly 2015-05-12 16:01:15 +03:00
Panos Astithas
9e3a9cc022 The toolbox should expect the previously selected tool to be unavailable (bug 915448). r=bgrins 2015-05-12 09:28:00 +03:00
Panos Astithas
f5a3b40dc3 Bug 862341 Part 4: Start recording network requests when the toolbox opens. r=vporof 2015-05-07 20:38:22 +03:00
J. Ryan Stinnett
af1de55c1e Bug 1160361 - Load tilt commands from ToolboxButtons to avoid in non-Firefox. r=bgrins 2015-05-06 12:34:28 -05:00
J. Ryan Stinnett
c0a2ae44ee Bug 1160361 - Catch GCLI's load of definitions for non-Firefox. r=bgrins 2015-05-06 12:34:27 -05:00
juliandescottes
5af8f706aa Bug 999568 - Bring devtools window to front on F12. r=pbrosset
Two keyboard shortcuts can toggle the devtools : F12 and CTRL+SHIFT+I/CMD+ALT+I.

Currently, with detached devtools, pressing a toggle key from the main window
closes the devtools window. Pressing a toggle key from the devtools window
itself has no effect.

The goal of this changeset is to :
- focus devtools window when pressing a toggle key in the main window
- close devtools window when pressing a toggle key in the devtools window

Modified toggleToolboxCommand in browser/devtools/framework/gDevTools.jsm to
destroy the toolbox only if it is "docked" (exists and the hostType is not
WINDOW).

Modified browser/devtools/framework/toolbox-window.xul and
browser/locales/en-US/chrome/browser/devtools/toolbox.dtd so that F12 and
CTRL+SHIFT+I/CMD+SHIFT+I also close the devtools window when used inside the
devtools window

Added mochitest browser_toolbox_toggle.js
2015-04-30 22:51:07 +02:00
Brian Grinstead
c1b6f620d1 Bug 1160345 - Set toolbox button visibility before consulting with the GCLI actor (which may not be available on old servers);r=jryans 2015-05-01 13:01:38 -07:00
Tooru Fujisawa
22a3f8a30f Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Shu-yu Guo
b6ecbe42df Bug 1145824 - Reset dom.send_after_paint_to_content when toggling gDevTools.testing, as chrome tests need it. 2015-04-25 15:56:20 -07:00
Jordan Santell
e2da22021b Bug 1145824 - Profiler actor and performance tools now handle
passing in a startTime to filter out SPS profiles on platform rather than
 client. r=vp,fitzgen
2015-04-17 12:44:52 -07:00
Tooru Fujisawa
0901099358 Backed out changeset fb84ee59e04a (bug 1145824) for mochitest-other failure 2015-04-25 14:12:21 +09:00
Jordan Santell
d9a58344f8 Bug 1134778 - Consolidate usages of view sourcing in tools with a source-utils module. r=vp,jryans 2015-04-24 14:16:34 -07:00
Jordan Santell
2b639c63b4 Bug 1145824 - Profiler actor and performance tools now handle
passing in a startTime to filter out SPS profiles on platform rather than
 client. r=vp,fitzgen
2015-04-17 12:44:52 -07:00
Joe Walker
cb03960f98 Bug 1128988 - runAt support for commands/converters; r=bgrins 2015-04-23 10:24:49 +01:00
Patrick Brosset
f6460c2162 Bug 1135635 - Position sidebar allTabs menu absolutely to avoid oveflow jittering; r=bgrins 2015-04-23 10:34:01 +02:00
Gabriel Luong
4c850453d7 Bug 1120616 - Part 4: Add textbox context menu for rule and computed view r=bgrins 2015-04-16 14:15:28 -04:00
Jordan Santell
11a3e3a081 Bug 1077464 - Wire console.profile/profileEnd to the new performance tool. Move most of the recording-model logic from the front end into the PerformanceFront and PerformanceActorConnection so it can manage recordings without the front end being viewed. r=vp,jryans,pbrosset 2015-04-14 08:58:58 -07:00
Patrick Brosset
1f55db6d1b Bug 988278 - Fixes ESCape keypress mess in the inspector to make sure the split console opens; r=miker
This fixes 2 problems related to the split console not opening when it should.
1 - After the inspector selection mode (pick mode) was canceled with ESC, pressing ESC once
again did not open the split console, because the toolbox did not have the focus.
2 - The markup-view tooltip (used to preview images) was eating the first ESC keypress when
the markup-view was focused, even though the tooltip was hidden. This was forcing users to
press ESC twice to open the split console.
2015-04-13 10:51:49 +02:00
Ryan VanderMeulen
d5b7d4f2e2 Backed out changeset 881ef048e290 (bug 1147945) for causing spammy TypeErrors that make sheriffing real failures difficult. 2015-04-10 13:58:28 -04:00
Jose Antonio Olivera Ortega
3ace621ba7 Bug 1150946 - Relabel Service Workers toolbox option. r=nsm, r=jryans 2015-04-08 02:35:00 -04:00
Jordan Santell
cfc0a86c82 Bug 1147945 - Let the profiler's buffer size and sample rate be configurable via prefs. r=vp 2015-04-08 00:16:00 +02:00
Brian Grinstead
72340464c7 Bug 1151259 - Switch <toolbar> to <box> to get rid of -moz-appearance styles for devtools sidebar. r=jryans 2015-04-07 14:27:00 +02:00
Matteo Ferretti
25add9c6b5 Bug 1144163 - Add a rulers highlighter; added gcli command and button. r=pbrosset 2015-04-01 19:28:57 +02:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Brian Grinstead
1b9420556e Bug 1148996 - Install a devedition lightweight theme on startup, then wait for it to be applied before applying devedition styles;r=Gijs 2015-03-31 20:00:32 -07:00
Victor Porof
1a623af11a Bug 1148463 - Re-enable the Performance++ tool, r=jsantell 2015-03-31 11:28:43 -04:00
Wes Kocher
28034396c1 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07:00
Brian Grinstead
0ab1e8f3c5 Bug 1094821 - Backout 01482cdccd72 for test failures in Aurora simulation;r=me;a=RyanVM 2015-03-30 09:20:48 -07:00
J. Ryan Stinnett
f0b83f9006 Bug 1138591 - Remove the chrome-enabled pref. r=past 2015-03-28 03:42:33 -05:00
Victor Porof
7814ffa481 Bug 1148463 - Temporarily disable the new performance tools for the Aurora uplift by backing out changeset 2ae4dac8f094, r=jsantell 2015-03-27 20:20:11 -04:00
Brian Grinstead
2388814692 Bug 971129 - Set a minimum page size to 25px when initializing the devtools toolbox host;r=jryans 2015-03-27 10:35:32 -07:00
Wes Kocher
53385e4f61 Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
J. Ryan Stinnett
63d863fb93 Bug 1147042 - Rename attachProcess to getProcess. r=ochameau 2015-03-24 14:59:53 -05:00
Alexandre Poirot
001c914d02 Bug 1134180 - Introduce RootActor.getTab to prevent creating TabActor for all tabs. r=past 2015-03-25 09:30:00 -04:00
Brian Grinstead
c03e9933a0 Bug 1064596 - Clamp the toolbox size to min(preferred size, available space). r=jryans 2015-03-25 15:01:00 -04:00
Brian Grinstead
652d1f4fe2 Bug 1094821 - Install a devedition lightweight theme on startup, then wait for it to be applied before applying devedition styles;r=Gijs 2015-03-25 06:54:18 -07:00
Jose Antonio Olivera Ortega
e15639e6b4 Bug 1003991 - Disable https:// only load for ServiceWorkers when Developer Tools are open. r=nsm, r=miker 2015-03-24 14:15:00 -04:00
Michael Ratcliffe
9183c998fd Bug 1144363 - Fix this._telemetry is undefined in gDevTools. r=bgrins 2015-03-18 10:04:59 +00:00
Brian Grinstead
53cdd1b4c3 Bug 1144392 - Show an error message in the Browser Toolbox if the connection fails. r=jryans 2015-03-17 14:55:00 -04:00