Commit Graph
74 Commits
Author SHA1 Message Date
Patrick Brosset 1124abfb31 Bug 1307347 - Get rid of duplicated loadTab/removeTab code in webconsole tests. r=jmaher 2017-02-17 14:28:19 +01:00
Tim Huang 8ccbc9efa5 Bug 1263324 - Part 2: Add test cases to test context id for devtools storage inspector. r=miker 2017-01-24 14:45:42 +08:00
Ricky Chien 6775276d8f Bug 1317650 - Implement Params Panel r=Honza,jsnajdr
MozReview-Commit-ID: A0GjfZeSOJi
2017-01-08 17:54:53 +08:00
Julian Descottes ec5e077f01 Bug 1307239 - add context menu to new console frontend;r=nchevobbe
MozReview-Commit-ID: 6btSC89pBmG
2016-12-29 17:06:59 +01:00
Gabriel Luong a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Alexandre Poirot 58d04774c5 Bug 1151909 - Make the inspector actor wait for DOMContentLoaded instead of load. r=pbro
MozReview-Commit-ID: IV4v5ql8GJ9
2016-11-07 16:07:26 -08:00
Alexandre Poirot 142db3bce0 Bug 1266134 - Pull host management out of toolbox.xul. r=jryans
MozReview-Commit-ID: 71GNAFuVFgl
2016-08-25 05:51:11 -07:00
Brian Grinstead 92d03a9508 Bug 1304178 - Reset the splitconsole pref after every test to make sure it gets cleaned up;r=linclark
MozReview-Commit-ID: Bt7KrCXaUwV
2016-10-06 17:09:57 -07:00
Fred Lin 18a4169423 Bug 1292592 - Convert sourceeditor to use key shortcuts module;r=ochameau
MozReview-Commit-ID: 2hFtanHPuyr
2016-09-23 15:12:17 +08:00
Jan Odvarko 9e0d87b8f6 Bug 1260552 - Fixing test failures; r=me 2016-09-13 15:32:20 +02:00
Jan Odvarko 2bb4561fdc Bug 1260552 - Replace xul:spliter by html:splitter; r=pbro 2016-09-21 08:26:02 +02:00
Sebastian Hengst fbf24f5ca1 Backed out changeset e8de82ab570d (bug 1260552)
MozReview-Commit-ID: B8xetPlNaN2
2016-09-17 20:07:57 +02:00
Sebastian Hengst f21d5023b6 Backed out changeset c6564e0c0491 (bug 1260552)
MozReview-Commit-ID: LTRcVPywpho
2016-09-17 20:07:53 +02:00
Jan Odvarko 66509bd289 Bug 1260552 - Fix test failures. r=me 2016-09-13 15:32:20 +02:00
Jan Odvarko 67ec437d72 Bug 1260552 - Replace xul:spliter by html:splitter. r=pbro 2016-09-15 09:54:01 +02:00
Alexandre Poirot e47ffe2642 Bug 1274106 - Ensure opening tabs in background from about:debugging test. r=jdescottes
MozReview-Commit-ID: kSeAw9Xz1A
2016-09-14 07:41:08 -07:00
Alexandre Poirot c1cbbf4f49 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Jarda Snajdr 99886dffb7 Bug 1239132 - Remove CPOW access from 'wait' function in shared-head.js r=pbro
MozReview-Commit-ID: 1oifs1zuPZw
2016-09-12 06:26:48 +02:00
Sunny a64f0d693b Bug 1205845 - Implement telemetry measure to track toolbox docking setting; r=jryans p=bsmedberg
MozReview-Commit-ID: 7Zl1ggZDbde
2016-08-30 10:19:29 -05:00
Jarda Snajdr 9c70e97f3f Bug 1269102 - Part 1: Move waitForClipboardPromise to shared-head.js r=ochameau
MozReview-Commit-ID: 3PmdEBNLaJq
2016-08-10 13:34:30 +02:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
J. Ryan Stinnett 3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Julian Descottes 7bcbd981b1 Bug 1280360 - markupview: a11y fix tabindex when modifying attributes;r=pbro
Modify the template for markup view attributes to accept a tabindex attribute.
The markup for attributes might be generated and inserted in an already focused
markup view line. In this case the DOM element should be created with a tabindex
of 0 instead of -1.

MozReview-Commit-ID: AaMUS1h1o0C
2016-07-01 23:34:21 +02:00
Nick Fitzgerald 29461839ae Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Tom Tromey 474aade274 Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK
2016-06-09 09:04:58 -06:00
Tom Tromey 49a3014680 Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9
2016-06-09 09:04:22 -06:00
Alexandre Poirot 9ba9816597 Bug 1268450 - Convert toolbox key shortcut to stop using XUL. r=jryans 2016-05-25 08:31:05 -07:00
Brian Grinstead 834ad6e7cf Bug 1256869 - Fix eslint issues in browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js;r=me
MozReview-Commit-ID: G054kUVXbcr
2016-05-24 09:24:21 -07:00
Ryan VanderMeulen 67f0d40a09 Backed out 3 changesets (bug 1268450) for browser_keybindings_03.js timeouts.
Backed out changeset 466d5c96f439 (bug 1268450)
Backed out changeset 9d79d99a3e18 (bug 1268450)
Backed out changeset 9090f1b3c2e4 (bug 1268450)
2016-05-19 22:48:37 -04:00
Alexandre Poirot a98861463d Bug 1268450 - Convert toolbox key shortcut to stop using XUL. r=jryans 2016-05-19 16:13:00 -04:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Alexandre Poirot 4a0b60932c Bug 1268441 - Convert inspector key shortcut to stop using XUL. r=bgrins 2016-05-12 03:07:56 -07:00
Julian Descottes d162f12420 Bug 1259834 - Create basic HTML tooltip API;r=bgrins
First implementation of HTML based tooltip to be used in devtools
instead of XUL panels. API is similar to the current API of
Tooltip.js

MozReview-Commit-ID: 8njiKBubLSj
2016-05-04 14:44:57 +02:00
J. Ryan Stinnett 7bdf3cf623 Bug 1270619 - Add missing imports instead of using globals. r=pbro
MozReview-Commit-ID: 28Xn7N9FSZr
2016-05-09 13:35:09 -05:00
Brian Grinstead 02f9ddbe39 Bug 1269763 - Convert instances of toolbox.frame.contentWindow to toolbox.win;r=jdescottes
MozReview-Commit-ID: 2jPa6K6io40
2016-05-03 15:46:24 -07:00
Julian Descottes d84bf3ee02 Bug 1245776 - part1: include inspector/test/head in shared/test/head;r=gl
Include inspector/test/head in shared/test/head and remove the redundant functions.
Comparing with markup/test/head and computed/test/head, some functions were also
duplicated and have been moved up to inspector/test/head or shared-head.

Logic for opening the inspector will be moved in part2.

MozReview-Commit-ID: 5EIalpbf3cf
2016-04-20 11:40:02 +02:00
Jarda Snajdr 3957e1cc65 Bug 1261785 - Part 4: fix the click offset in waitForContextMenu. r=jdescottes 2016-04-19 04:03:00 +02:00
Jarda Snajdr 9dfc2b0ccd Bug 1261785 - Part 3: make affected JS files eslint-clean. r=mratcliffe 2016-04-19 01:44:00 +02:00
Jarda Snajdr 23486fae96 Bug 1261785 - Part 2: use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-19 01:44:00 +02:00
Brian Grinstead 9338e4e881 Bug 1264804 - Clean up tabs between tests in browser_webconsole_netlogging.js;r=pbro
Also adds a new closeTabAndToolbox helper function to shared-head.js

MozReview-Commit-ID: IIVOczLD3zS
2016-03-30 18:24:06 -07:00
Sebastian Hengst d8628f4821 Backed out changeset 5d81dab28e18 (bug 1261785) 2016-04-17 12:27:33 +02:00
Sebastian Hengst 6cddfe1405 Backed out changeset 735739a3a13a (bug 1261785) 2016-04-17 12:27:22 +02:00
Jarda Snajdr 2978e47a2a Bug 1261785 - Part 3: Make affected JS files eslint-clean. r=mratcliffe 2016-04-15 07:00:00 -04:00
Jarda Snajdr 7e52af5ae5 Bug 1261785 - Part 2: Use shared-head.js for storage inspector tests. r=mratcliffe 2016-04-13 04:01:00 -04:00
Nick Fitzgerald f2a6ddf449 Bug 1249788 - Implement the census individuals view; r=jsantell
This adds the INDIVIDUALS view state to the memory panel, renames "dominator
tree display" to "label display", and adds a view for listing the individual
nodes in a census group and inspecting each nodes' retaining paths.
2016-04-11 18:04:31 -07:00
Nick Fitzgerald 7df204612a Bug 1237054 - Part 0: Make tests fail if DevToolsUtils.assert fails; r=jryans 2016-04-05 19:21:00 +02:00
Carsten "Tomcat" Book 666db7fba1 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 15:53:12 +02:00
Jarda Snajdr 692e11ad40 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe 2016-04-01 05:11:00 +02:00
Carsten "Tomcat" Book b325937094 Backed out changeset 66f61a656571 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 09:27:58 +02:00