Commit Graph
148 Commits
Author SHA1 Message Date
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
Carsten "Tomcat" Book a52e64cebd Merge mozilla-central to autoland 2016-09-13 13:09:21 +02:00
James Long ae090b1dbc Bug 1300861 - enable new debugger in nightly r=bgrins 2016-09-12 23:45:16 -04: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
Alexandre Poirot 35acaa9d89 Bug 1298082 - Replace toolbox.frame usages with equivalents around toolbox.win. r=jryans
MozReview-Commit-ID: ClpBWEZbKq1
2016-08-30 06:42:25 -07:00
Alexandre Poirot 5a92c204eb Bug 1298082 - Various cleanups to use helpers. r=jryans
MozReview-Commit-ID: EwtA2K00EaM
2016-08-25 05:50:44 -07:00
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07: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
Julian Descottes dfd3d00d61 Bug 1295610 - Migrate devtools/client/framework to use l10n.js instead of Services.string;r=tromey
MozReview-Commit-ID: BwcfFPf85hu
2016-08-19 20:02:15 +02: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
Wes Kocher aecd5f5f0e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Jarda Snajdr 228b814e81 Bug 1290599 - Part 2: Fix the browser_toolbox_transport_events.js test r=jryans
MozReview-Commit-ID: 3Ck8o29f93K
2016-08-11 16:47:22 +02:00
Jaideep Bhoosreddy 05ac23cb95 Bug 1290263 - Source maps in console don't work after first log; r=jsantell 2016-08-10 17:01:25 -07: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
Yura Zenevich 58ee3f231c Bug 1289170 - improving keyboard accessibility for dev tools tabbar. r=bgrins
MozReview-Commit-ID: 10WSu9nGYmz
2016-08-03 17:05:00 -04:00
Tom Tromey 901e97b35a Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim
2016-07-18 13:58:20 -06: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
Jaideep Bhoosreddy 62ae513da3 Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell 2016-07-19 14:42:00 +02:00
Wes Kocher 92db197898 Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE 2016-07-20 15:15:33 -07:00
Jaideep Bhoosreddy 5a68fb170d Bug 670002 - Tests for source maps in the web console w/ performance issues. r=jsantell 2016-07-19 14:42:00 -04: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
Alexandre Poirot 043ec757f5 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot 43293a7a75 Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Brian Grinstead b32d541bec Bug 1285225 - Set accesskey and disabled properties on menuitems with submenus in Menu API;r=jdescottes
MozReview-Commit-ID: GN9j5pEn3cH
2016-07-08 07:24:09 -07:00
Carsten "Tomcat" Book a7a350dbcb merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nicolas Chevobbe 13a81ee15d Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv
2016-07-05 23:24: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
Patrick Brosset c820930b1a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA
2016-07-04 15:21:58 +02: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
Jan Odvarko 464f688c77 Bug 1277199 - Fix CSS for command-button-frames; r=ochameau, ntim 2016-06-09 13:07:34 +02:00
Nick Fitzgerald 31ebc542b4 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Jan Odvarko 7e3fed4e81 Bug 1276873 - Wait for a tick to avoid unexpected popuphidden event; r=jryans 2016-06-02 13:33:14 +02:00
Alexandre Poirot 51346cf61c Bug 1268447 - Convert webconsole to use new key shortcut module. r=bgrins 2016-05-31 14:17:03 -07:00
Jan Odvarko 49335be54f Bug 1266419 - Fixing tests; r=bgrins, poirot.alex 2016-05-26 14:51:28 +02:00
Jan Odvarko 6028bc0832 Bug 1266419 - HTML replacement for Toolbars and Toolbar buttons; r=bgrins, ntim 2016-05-04 20:58:49 +02: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
Carsten "Tomcat" Book 2c883425d5 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02: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
J. Ryan Stinnett 34f3550689 Bug 1090380 - Show target title and URL in toolbox title. r=bgrins
MozReview-Commit-ID: BksG2GOfxVG
2016-05-06 11:33:41 -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
Brian Grinstead 5c6111c480 Bug 1269497 - eslint fixes for Menu API;r=jdescottes
MozReview-Commit-ID: 9iSJgWUBRbp
2016-05-03 07:42:20 -07:00
Brian Grinstead 38a4f145c9 Bug 1269497 - Provide toolbox.win getter to make lines shorter in tests;r=jdescottes
MozReview-Commit-ID: 9KuWzsyHQGF
2016-05-03 07:41:20 -07:00