Commit Graph

2588 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
e6988379ea Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead 2016-06-15 13:19:31 +01:00
Jarda Snajdr
b57da2dc12 Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly 2016-06-14 04:08:00 +01:00
Nicolas Chevobbe
48bc9fb95f Bug 1271184 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js . r=bgrins
MozReview-Commit-ID: F3OSrcDYEbO

--HG--
extra : rebase_source : 579b33c6a7a034aa45803b52eee0d1e3eda29e4f
2016-06-10 23:11:48 +02:00
Jarda Snajdr
5ab0872067 Bug 1277264 - Part 2: Remove setImageContent method from Tooltip.js r=jdescottes
--HG--
extra : rebase_source : a313841f78e97805da871ecd8427ec2153c62c56
2016-06-12 12:01:00 +01:00
Jarda Snajdr
1c20c2504b Bug 1277264 - Part 1: Migrate netmonitor tooltips to HTML Tooltip. r=jdescottes
--HG--
extra : rebase_source : 01d928759882d7f34d3389ed5a7a718cde8d89bb
2016-06-12 12:01:00 +01:00
Nicolas Chevobbe
80aa7658fd Bug 1240038 - Listen for changes when a StyleSheetActor is created. r=tromey
A listener was added for stylesheet changes only if the stylesheet already
contributed to the page before the modification. So if there was a stylesheet
without any rule matching a node of the page, when a rule was created in it for
the current selected node in the markup view, the rule view wasn't refreshed.
The fix here is to emit an event, from the TabActor, when a StyleSheetActor is created,
and listen to such event to watch for changes in it, in order to update the rule view.
Modify an existing rule view/stylesheet editor sync test to make sure this bug is fixed.


MozReview-Commit-ID: H3szbUnchQP

--HG--
extra : transplant_source : %F7%E0%D2%8B%B3%D2%C3%1F%F8%88%03%AA%10Q%E4%B8h%0C%BE_
2016-06-07 22:28:45 +02:00
Brian Grinstead
70988d77e5 Bug 1266478 - Eslint fixes followup;r=me
MozReview-Commit-ID: 2BtKqZ23Qna
2016-06-10 16:51:47 -07:00
Brian Grinstead
ad19bb6b11 Bug 1266478 - Integrate Menu API with inspector;r=pbro
This patch converts the inspector's context menu implementation away from
directly using XUL menus, and updates a number of tests to match.

MozReview-Commit-ID: L8aL23BUmXS
2016-06-10 15:52:27 -07:00
Nick Fitzgerald
ff7200291a bug 1265723 - Decouple the MemoryFront from the MemoryActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Nick Fitzgerald
323a754b9a Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Julian Descottes
7bd66d252a Bug 1279441 - fix HTMLTooltip closing after click on inner iframe;r=bgrins
MozReview-Commit-ID: EggheTpU2y3

--HG--
extra : rebase_source : 5c6a678776292446aeb36a0555f89a5e943d252e
2016-06-10 11:24:04 +02:00
Jan Odvarko
9b1cb0ea1e Bug 1279215 - Move Tabs component to shared/components; r=pbro
--HG--
rename : devtools/client/jsonview/css/tabs.css => devtools/client/shared/components/tabs/tabs.css
rename : devtools/client/jsonview/components/reps/tabs.js => devtools/client/shared/components/tabs/tabs.js
2016-06-09 16:19:49 +02:00
Jan Odvarko
17def8d479 Bug 1278050 - Fix perf icon in the Net panel; r=ntim 2016-06-09 10:49:18 +02:00
Fabien Udriot
ede4c5602a Bug 1256810 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_repeated_messages_accuracy.js. r=linclark 2016-06-09 05:52:00 +02: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
Wes Kocher
2cb9715c8a Bug 1265720 - ESLint fix 2016-06-09 12:00:28 -07:00
Eddy Bruel
170631fab0 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Patrick Brosset
23a6760a0b Bug 1262710 - Don't use CPOW in devtools/server/test/browser tests when adding a tab; r=ochameau
MozReview-Commit-ID: DFJvufMBTjn

--HG--
extra : rebase_source : 1366bc929067f6c7bbd5f944f973101bf3af9d7c
2016-06-08 09:47:02 +02:00
Carsten "Tomcat" Book
2273c7b9f8 Merge mozilla-central to fx-team 2016-06-09 12:14:03 +02:00
Carsten "Tomcat" Book
733a4f6de5 merge mozilla-inbound to mozilla-central a=merge 2016-06-09 11:58:06 +02:00
Fabien Udriot
98d71fb40f Bug 1256936 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/test-bug-603750-websocket.js. r=linclark 2016-06-08 09:07:00 +02:00
moby
e8c5fb94d7 Bug 1245337 - Fix content.console.log statements in browser_webconsole_bug_613642_maintain_scroll.js; r=bgrins 2016-06-07 15:29:00 +02:00
Nicolas Chevobbe
de056ba5d3 Bug 1177324 - Fix dead CPOW intermittent in browser_webconsole_live_filtering_of_message_types.js . r=bgrins
MozReview-Commit-ID: 69Nf9VwHoUq

--HG--
extra : transplant_source : %02%3F%21%90%E7%5D%24%8B%B5c%17%29%A3%F87%91%1Bn%22%C3
2016-06-07 22:47:06 +02:00
Wes Kocher
e0c9a7bf97 Merge m-c to fx-team, a=merge 2016-06-08 17:13:46 -07:00
Wes Kocher
07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrea Marchesini
8f19409ff1 Bug 1278630 - Native Console API should work also after a refresh, r=bgrins 2016-06-08 08:01:08 -07:00
Julian Descottes
94777feb05 Bug 1266450 - part7: fix html tooltip autofocus behavior;r=bgrins
For autofocus tooltips, we need to find a focusable item in order
to call focus() now that the tooltip content lives in the same
document as the toolbox. Updated the corresponding test and made
some superficial changes to HTMLTooltip.js.

MozReview-Commit-ID: L61eIxgFm3d

--HG--
extra : rebase_source : dae55ebb8c888638b902aec000cce2ef0631ca04
extra : source : c3ef26c17be6ef971f834c38d9aa69edc767d10c
2016-06-08 13:32:15 +02:00
Julian Descottes
724f434327 Bug 1270494 - fix autocomplete popup offset for multiple values input;r=pbro
Fixed regression from Bug 1168246 and added a unit test to loosely check that
the autocomplete popup moves along with autocompleted query.

MozReview-Commit-ID: H7t5WjkwBE4

--HG--
extra : rebase_source : d876338475ee1b1ae7ef30a9da8bea24c775c948
2016-06-06 12:10:13 +02:00
Jan Odvarko
d707265e1d Bug 1274760 - Fix colors in Rules side panel; r=pbro 2016-06-07 10:38:20 +02:00
Julian Descottes
0f7dbc517b Bug 1266450 - part6: migrate EventDetails tooltip;r=bgrins
For now this is a 1 to 1 migration of the existing Tooltip
helper method from XUL to HTML.

MozReview-Commit-ID: 9YiJLgibV9h

--HG--
extra : rebase_source : af428055060a105d270d70b1e4694717e0869b2b
extra : source : d03cca0c048c9ba1f3062519650e37ae986d4bc7
2016-05-31 11:25:43 +02:00
Julian Descottes
3615d9843b Bug 1266450 - part5: move event details tooltip css to tooltips.css;r=bgrins
MozReview-Commit-ID: 9b1C1g0e6K5

--HG--
extra : rebase_source : 5200605483812de478e5275993624259b8d3c6af
extra : source : 435400acef3b987c73e797ca3fa743d2269f11d9
2016-06-03 15:07:23 +02:00
Julian Descottes
632539b70d Bug 1266450 - part4: allow tooltips to have a variable height;r=bgrins
With this changeset the tooltip's effective height can be smaller than
the height specified when calling setContent. If the tooltip content is
dynamic, this allows to display a small tooltip frame if the content is
collapsed, and a bigger tooltip frame when it is expanded.

MozReview-Commit-ID: 44vA0Rdz62m

--HG--
extra : rebase_source : 0e796f611e3462579f6e84a25671e5d44ed2314d
extra : source : 8583ea99abef8f25a1822178bab823f9fb7f2d01
2016-06-03 12:52:59 +02:00
Julian Descottes
14ed6c99b4 Bug 1266450 - part3: fix helper to check if click occurred in tooltip;r=bgrins
The existing helper checking if a click occurred inside or outside a
HTMLTooltip container was failing if the click occurred in an iframe.

MozReview-Commit-ID: 9AIACOukYUF

--HG--
extra : rebase_source : e10ce05610e9a630ed1d9ba8a3f70b3344dffe9e
extra : source : 978c01749bdc4012f010db5fe09b0f8a402a9c0e
2016-06-03 12:50:39 +02:00
Eddy Bruel
72591e2414 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Julian Descottes
b46591f37c Bug 1266450 - part2: remove iframe container for HTML tooltip;r=bgrins
In order to have tooltips with a variable height, the tooltip container
should be allowed to resize itself on the fly, which cannot be achieved
with an iframe.

This changeset makes the HTMLTooltip rely on a HTML container inserted
in the XUL document directly. This allows to go back to a synchronous
API which also simplifies the implementation.

MozReview-Commit-ID: EDcsnVSKmeU

--HG--
extra : rebase_source : 80a22bc558468b69ff099602ab2364a55bcdd2f7
extra : source : 1794dbc179a093b26d06eadc18086c8f138dc008
2016-05-30 23:02:58 +02:00
Julian Descottes
973205986c Bug 1266450 - part1: move devtools tooltip styles to dedicated file;r=bgrins
Tooltip styles are scattered between common.css and panel-specific CSS
files (e.g. inspector.css). For the HTML tooltip, the panel specific CSS
files will not be applied since the tooltip container is appended to the
devtools top window.

This changeset creates a new tooltips.css file which is loaded by default
with devtools themes.

MozReview-Commit-ID: BnoRi9gLfD5

--HG--
extra : rebase_source : 3fee4731f65563c4b61371e3a3c51fb797d1a12b
extra : source : bd8878532e1f370fb49e0c50de0b2da267f7de8a
2016-06-03 14:36:56 +02:00
Nicolas Chevobbe
6901d27224 Bug 1276468 - Fix sheetToUrl function for inline style. r=jwalker
The function was trying to access `stylesheet` parameter's ownerNode property,
which is undefined when the parameter is a StyleSheetActor. In the latter case,
we use nodeHref and styleSheetIndex properties to match what is done when the
parameter is a StyleSheet.

MozReview-Commit-ID: 7FNoKasFYLL
2016-06-06 21:48:54 +02:00
Carsten "Tomcat" Book
6439e7004c merge mozilla-inbound to mozilla-central a=merge 2016-06-08 11:57:53 +02:00
Carsten "Tomcat" Book
1bd67fd288 merge fx-team to mozilla-central a=merge 2016-06-08 11:56:38 +02:00
Carsten "Tomcat" Book
c1439093ab Merge mozilla-central to mozilla-inbound 2016-06-07 15:34:15 +02:00
Carsten "Tomcat" Book
c6d661cfe2 merge mozilla-inbound to mozilla-central a=merge 2016-06-07 15:23:03 +02:00
Masatoshi Kimura
dfb8d11072 Bug 1268728 - Remove ability to enable RC4. r=keeler 2016-06-07 22:17:43 +09:00
Eric Faust
aa9c6fd13b Bug 1115779 - Fix buggy devtools test, solving intermittent timeouts. (r=bgrins) 2016-06-07 10:54:37 -07:00
Wes Kocher
807cf956d8 Merge m-c to inbound, a=merge 2016-06-06 17:14:49 -07:00
Wes Kocher
ab48b7cb10 Bug 1278400 - disable browser_eyedropper_cmd.js because it's failing a=test-only CLOSED TREE 2016-06-06 15:17:42 -07:00
Julian Descottes
eac10d79af Bug 1277501 - convert inspector breadcrumbs to shortcut-key API;r=ochameau
Existing keyboard shortcuts have been reimplemented using the new shortcut-key
api.

A keypress handler was removed  on the breadcrumbs buttons, it had no use
since a focused button is always selected.

MozReview-Commit-ID: JTSRxwQGSlh

--HG--
extra : rebase_source : 4466162a2cf2bd77cb50ee77ea5843c973ceb5b2
2016-06-02 12:04:14 +02:00
Jarda Snajdr
45e8d66845 Bug 1134073 - Part 3: Show network request cause and stacktrace in netmonitor - mochitests r=ochameau
MozReview-Commit-ID: Bjkl2XB3sFs
2016-06-03 01:55:00 +02:00
Jarda Snajdr
2276274acd Bug 1134073 - Part 2: Show network request cause and stacktrace in netmonitor UI r=ochameau
MozReview-Commit-ID: HauaLcPTZ5r
2016-06-03 03:24:00 +02:00
Jarda Snajdr
d56d19a26c Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: BdrqblFyC66
2016-06-01 01:03:00 +02:00