Commit Graph
133 Commits
Author SHA1 Message Date
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
Brian Grinstead 51bda38cbf Bug 1269497 - Add 'visible' support to MenuItem API;r=jdescottes
MozReview-Commit-ID: Fl3OO3kCNxQ
2016-05-03 07:40:33 -07:00
Brian Grinstead 32283fae66 Bug 1257613 - Add an API to open context menus from an HTML document;r=jdescottes
MozReview-Commit-ID: 4j9d5k3Ut1f
2016-05-01 17:01:47 -07:00
Alexandre Poirot 89dc6c7b3c Bug 1264626 - Test the browser toolbox debugger. r=jryans,jlongster 2016-04-27 07:04:47 -07:00
Ryan VanderMeulen 9026b4fefd No bug - Re-enable some more tests that were disabled on e10s without a tracking bug. 2016-04-25 21:45:46 -04:00
Carsten "Tomcat" Book 6339c25f72 Merge mozilla-central to mozilla-inbound 2016-04-23 10:51:51 +02:00
Ben Kelly acd1a4df14 Bug 1266221 P2 Expand devtools test to verify toolbox service worker option works with nested iframes. r=bgrins 2016-04-21 16:26:42 -07:00
Jan Odvarko cc510a79ae Bug 1201475 - Fix test failures; r=jryans
MozReview-Commit-ID: L2C6LdChJz8
2016-04-21 23:23:48 +02:00
Jan Odvarko 5b2b84a397 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: AmFZNR3Tp7q
2016-04-12 19:56:52 +02:00
Carsten "Tomcat" Book 292f2fead5 Backed out changeset b795087334cb (bug 1201475) 2016-04-21 14:24:12 +02: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
Jan Odvarko 4fa4fead45 Bug 1201475 - Tests for DOM panel; r=linclark
MozReview-Commit-ID: FcYby6OWFAM
2016-04-12 19:56:52 +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