Граф коммитов

242 Коммитов

Автор SHA1 Сообщение Дата
Jaideep Bhoosreddy 55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Jaideep Bhoosreddy 02353bc27a Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 +02:00
Wes Kocher 2f6e5ed95c Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE
--HG--
rename : devtools/client/framework/test/browser_source_map-01.js => devtools/client/framework/test/browser_source-location-01.js
rename : devtools/client/framework/test/browser_source_map-02.js => devtools/client/framework/test/browser_source-location-02.js
2016-07-20 15:15:33 -07:00
Wes Kocher b79af22444 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures
--HG--
rename : devtools/client/framework/source-map-service.js => devtools/client/framework/source-location.js
2016-07-20 12:56:46 -07:00
Jaideep Bhoosreddy 5b25587f88 Bug 670002 - Tests for source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 -04:00
Jaideep Bhoosreddy 8f73e01607 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 00:40:00 -04:00
Tom Tromey c1f4e8a225 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA

--HG--
extra : rebase_source : 6513acf886bef3192445ae003f413acc0143f658
2016-07-15 14:04:02 -06:00
Tom Tromey f3688e87f4 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH

--HG--
extra : rebase_source : 45d478bf4b60a869490b12b1e2cd1e8f2d204a9f
2016-07-14 12:48:47 -06:00
Julian Descottes c0a152512a 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

--HG--
extra : rebase_source : e03f187326b6b42f7e575712137118e3adcb6a6f
2016-07-01 23:34:21 +02:00
Alexandre Poirot a4a6cbfec2 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot 213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot d63a3adedf Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
Ricky Chien c68666cebd Bug 1280791 - Don't apply min-width to the command-button-frames checkbox in firebug theme r=Honza
MozReview-Commit-ID: 1BrYfWKqwsP
2016-07-08 16:44:21 +08:00
Brian Grinstead f3214d3c0b 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
Gijs Kruitbosch ad4c50d8a8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3

--HG--
extra : rebase_source : 742b2dc71b56e32a23ca426713b3eb53a7d65f48
2016-07-07 16:38:27 +01:00
Carsten "Tomcat" Book 1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nicolas Chevobbe eaa1f24d14 Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv

--HG--
extra : rebase_source : 4b77cdad5f749555acd470b61ca9627c805f1ad5
2016-07-05 23:24:21 +02:00
Nick Fitzgerald 7b0a1f6dee 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 3d0938464a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA

--HG--
extra : rebase_source : fef638a9abb65e918ef593434a9224828c44d29e
2016-07-04 15:21:58 +02:00
Towkir Ahmed 88e1001723 Bug 1266142 - Fixed radio button labels vertical alignment in devtools settings/options pane. r=ochameau 2016-06-29 12:36:00 +02:00
Alexandre Poirot 9e552a2542 Bug 1281731 - Destroy the toolbox on toolbox.xul unload. r=jryans 2016-06-28 08:39:37 -07:00
Jan Keromnes 03eff3939b Bug 1268073 - Fix a few BrowserToolboxProcess leaks. r=ochameau 2016-06-28 08:39:37 -07:00
Alexandre Poirot 250e55dddb Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Alexandre Poirot b62081ba39 Bug 1268073 - Prevent leaking BrowserToolboxProcess instance when debuggerServer leaks. r=jryans 2016-06-28 08:39:36 -07:00
Philipp Kewisch a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
J. Ryan Stinnett 0068c10f19 Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Tom Tromey abf6180c9f Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK

--HG--
extra : transplant_source : %21MF%10yF%AC%01%D3%3C%A3%95fF%CA%7Ct%A6%92w
2016-06-09 09:04:58 -06:00
Tom Tromey 16d4051c4f Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9

--HG--
extra : transplant_source : %EB%27%9C%FE%80N%8D%13E%C0%7B%B7%F0_%A5%CCJ%5D%FC%8F
2016-06-09 09:04:22 -06:00
Eddy Bruel ba21a67524 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Amod Narvekar 61a9f0df50 Bug 1267503 - Show the font-inspector in sidebar menu if enabled, r=jdescottes 2016-06-14 08:12:00 +01:00
Jan Odvarko a8f1d4df47 Bug 1277199 - Fix CSS for command-button-frames; r=ochameau, ntim 2016-06-09 13:07:34 +02:00
J. Ryan Stinnett ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
J. Ryan Stinnett b48b79960b Bug 1278413 - Clean up code style in worker.js, event-emitter.js. r=tromey
MozReview-Commit-ID: LVbo9i0rPqI
2016-06-07 22:32:40 -05:00
Nick Fitzgerald e3276c78d8 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 644e1b42f8 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Julian Descottes a3bc664c7e Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 3f3733928e0b3d2bbc12cb55521acda32a45bd2a
extra : source : f3bdf3ebaf4cbf3bb426d10cf95e702bc8e981f4
2016-06-02 10:41:49 +02:00
James Long e4aeb1c9ee Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Jan Odvarko 7e579639dd Bug 1276873 - Wait for a tick to avoid unexpected popuphidden event; r=jryans 2016-06-02 13:33:14 +02:00
Carsten "Tomcat" Book 3b31f13666 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Julian Descottes fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Alexandre Poirot f673d8c325 Bug 1268447 - Convert webconsole to use new key shortcut module. r=bgrins 2016-05-31 14:17:03 -07:00
Jan Odvarko 95f6bd58be Bug 1266419 - Fixing tests; r=bgrins, poirot.alex 2016-05-26 14:51:28 +02:00
Jan Odvarko 1634c31011 Bug 1266419 - HTML replacement for Toolbars and Toolbar buttons; r=bgrins, ntim 2016-05-04 20:58:49 +02:00
Jan Odvarko 1642a84877 Bug 1266419 - Use HTML API for frames menu; r=bgrins, poirot.alex 2016-05-20 14:46:13 +02:00
Alexandre Poirot c77bd1981b Bug 1268450 - Convert toolbox key shortcut to stop using XUL. r=jryans 2016-05-25 08:31:05 -07:00
Brian Grinstead 34bc1cd7d4 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 4069dcd34f 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 1915a59e3c Bug 1268450 - Convert toolbox key shortcut to stop using XUL. r=jryans 2016-05-19 16:13:00 -04:00
Tom Tromey 0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
Jan Odvarko 7d096e7cdf Bug 1272870 - Load React and build Notificationbox on demand. r=bgrins 2016-05-19 12:05:55 +02:00