Commit Graph

309 Commits

Author SHA1 Message Date
Peter Elmers
6d74ac0231 Bug 1287958 - New console frontend: Add keys to messages. r=bgrins
--HG--
extra : rebase_source : c16e69da3e6c0a824316f3a97001d4b84efd1960
2016-07-19 15:41:39 -07:00
Carsten "Tomcat" Book
cc6b6404c0 Merge mozilla-central to fx-team 2016-08-02 17:13:42 +02:00
Nicolas Chevobbe
d72dd2ca63 Bug 1288529 - New console frontend: Handle console.count calls without label. r=me
--HG--
extra : rebase_source : 8634895d2950705bb2a79b03ea21158d3717fdf5
2016-07-21 22:43:48 +02:00
Sami Jaktholm
53a89f1b4a Bug 1270234 - Fix intermittent browser_bug664688_sandbox_update_after_navigation.js. r=bgrins
Page navigation triggers a chain of events that lead to the
console being cleared. If the stars are perfectly aligned,
the clear is triggered after |window.location.href| is executed
but before waitForMessages() looks at the existing messages
in the console. This causes the input line to be lost and
the test times out waiting for it.

These changes make the test to wait for the first clear to happen
before continuing the test.

MozReview-Commit-ID: LWuR8wxc5Lh

--HG--
extra : transplant_source : %9C%AE%A1b%FB%89%23o%CB%C6%3Ah%E1%27F%AD%FA%22%9A%EC
2016-07-30 13:35:36 +03:00
Peter Elmers
07b38d668a Bug 1287613 - New console frontend: use shouldComponentUpdate and add perf test. r=bgrins
--HG--
extra : rebase_source : 7d480f1b4b263fc03db6c4b1546b60477064e94c
2016-07-18 14:49:45 -07:00
Nicolas Chevobbe
7d67aaaadb Bug 1287508 - Part 5: Fix CSS rules and classes for the FilterBar. r=ntim
--HG--
extra : rebase_source : e3f0a6f19924add27a8899e90c9c2eefd5c084b3
2016-08-01 16:58:13 +02:00
Nicolas Chevobbe
5a6842de60 Bug 1287508 - Part 4: Fix CSS for the FilterBar. r=ntim
MozReview-Commit-ID: 82oAZaLkeft

--HG--
extra : rebase_source : 54ec568d4f201f21e7aa4fa1bdf8cc2f7cc12ed5
2016-07-23 01:01:13 +02:00
Nicolas Chevobbe
abed9ce7bc Bug 1287508 - Part 3: Define state defaults in reducers. r=me
--HG--
extra : rebase_source : b4ba9a708fbae947883be7b3ebff2dd048a579fd
2016-07-19 22:02:12 +02:00
Lin Clark
d5a6cc1319 Bug 1287508 - Part 2: Update scroll pinning. r=bgrins
MozReview-Commit-ID: 8KGmtcwEsdv

--HG--
extra : rebase_source : 81d083118aec2fbaeb08d11e6610f9e3cb891391
2016-07-18 15:24:41 -04:00
Nicolas Chevobbe
2f72f50306 Bug 1287508 - Part 1: New console frontend: Add filter bar. r=bgrins
MozReview-Commit-ID: KoIEkQVPg2V

--HG--
extra : rebase_source : 4d07e951076d599f81973f85f2b42762a5de522a
2016-07-18 19:02:19 +02:00
Jarda Snajdr
d603d43aeb Bug 1283901 - Intermittent devtools/client/webconsole/test/browser_console_error_source_click.js. r=bgrins 2016-07-29 08:29:00 -04:00
Jarda Snajdr
64e8b494ae Bug 1287172 - Console netlogging: sanitize POST body data when it's a longString. r=bgrins 2016-07-28 02:49:00 -04:00
Julian Descottes
ae7bd89cb6 Bug 1285591 - fix accessibility in devtools autocomplete using suggestion list clone;r=bgrins
Devtools autocomplete popups are hosted in a different document from the input
being autocompleted. To allow accessibility tools such as screen readers to still
make sense of this widget, a clone of the suggestion list is now inserted in the same
document as the input, and the aria-activedescendant attribute is updated on the input
accordingly.

MozReview-Commit-ID: 8rFjF6nvEyU

--HG--
extra : rebase_source : 04a4574aee30206c3ac5dbeadcebaea89f0888c3
2016-07-22 17:35:03 +02:00
Oriol
3e28f15238 Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
Lin Clark
bcfaeeffb2 Bug 1286676 - New console frontend: use new taxonomy for RDP packet types. r=me
--HG--
extra : rebase_source : d993104d714fd7d9048d6cc4fa8154a0658deeef
2016-07-11 18:50:25 -04:00
Lin Clark
fffe5181d0 Bug 1286676 - Part 1: Match current markup in pageError. r=me
--HG--
extra : rebase_source : a3c2542e638da12426a1e263e4cc1208619932d4
2016-06-29 21:10:50 -04:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
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
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
Jennifer Fong
5efe427a53 Bug 1113825 - Nowrap content in console.table(). r=bgrins 2016-07-20 15:19:11 -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
J. Ryan Stinnett
76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Lin Clark
c2f6635800 Bug 1285053 - New console frontend: use variables view link for object inspection. r=bgrins
MozReview-Commit-ID: I59OZXI2Qks
2016-07-14 06:21:00 -04:00
gasolin
711ad5eab1 Bug 1264701 - combine url utils to rep-utils.js; r=linclark
MozReview-Commit-ID: Gdtg6Nf1Spj

--HG--
extra : transplant_source : 2j%91%13%E2H%E1%02%89%8A%26%B8%9A%FD%EBF%20%3Cu%F5
2016-07-12 11:53:24 +08:00
Iris Hsiao
aeb367f736 Backed out changeset bb5d09eec5ee (bug 1285053) for failures in test_evaluation-result.html 2016-07-14 15:18:12 +08:00
Lin Clark
c12ffe35ae Bug 1285549 - New console frontend: display console commands in console output. r=me
--HG--
extra : rebase_source : 7430bbdb843a79aba0beaba2013bc1ae5bacf6d2
2016-07-12 18:57:00 -04:00
Lin Clark
3eecfb03d8 Bug 1285549 - Part 1: Add an Immutable.Record type for ConsoleMessages. r=me
MozReview-Commit-ID: HxlrNypyFn8

--HG--
extra : rebase_source : adc8697a5af2e2bb4d80956a8fde167c5254ffa1
2016-07-08 10:29:41 -04:00
Lin Clark
abca42c746 Bug 1285053 - New console frontend: use variables view link for object inspection. r=bgrins
--HG--
extra : rebase_source : 83611d0790c1052404d1c321e2b91103a8f98ba6
2016-07-12 13:19:49 -04:00
Nicolas Chevobbe
dcb23a03bd Bug 1285672 - New console frontend: introduce message limit. r=linclark
MozReview-Commit-ID: 1tdWAce9Q7U

--HG--
extra : transplant_source : %3D%B2%04o%11%06%96k%B8%FD%60y2%FC8%A5u%24%B3%D5
2016-07-09 12:00:59 +02:00
Nicolas Chevobbe
ed609be9a0 Bug 1283123 - Reps: make it possible to pass in a component to handle object links. r=linclark,honza
MozReview-Commit-ID: 20xvwUua4WA

--HG--
extra : transplant_source : %EC%13%B8%CB%FF%7BQ%ADY%29%94%120%12%C8%0E%1D.%F6_
2016-06-21 22:56:10 +02:00
Julian Descottes
e1bf411118 Bug 1266456 - part10: fix tests for autocomplete-popup HTMLTooltip migration;r=bgrins
Most test modifications deal with listening to the proper events.
As mentioned in the parent commit, the keyboard navigation for the
inspector-search changed a bit with this change, so the related test
case is using a slightly different scenario.

MozReview-Commit-ID: BgSa69bSSFB

--HG--
extra : rebase_source : a1b565f6b54f2c8e3d641794aaa6aa43a2c75134
2016-07-10 19:10:21 +02:00
Julian Descottes
d03c3018a5 Bug 1266456 - part9: use HTMLTooltip for autocomplete-popup;r=bgrins
Modify the devtools autocomplete-popup to rely on a HTMLTooltip instance
instead of a XUL panel.

Other than the straightforward migration to HTML, the main difference with
the new implementation is that the richlistbox has now been replace with a
simple HTML list element. The former XUL widget used to be able to take the
focus from the input it was linked to.

This is no longer the case. Most autocomplete users were always keeping the
focus in the input, except for the inspector-search, which was moving the
focus back and forth between the input and the autocomplete's richlistbox.
Now the focus is always in the input. A practical example to illustrate how
this changes the UX: before when the user had the focus on the first element
of the list, pressing "DOWN" would keep the element selected but visually move
the focus in the input. Now the selection simply cycles to the next item.

Even though this introduces a difference in behaviour compared to the previous
implementation, it makes the inspector search UX consistent with the other
autocomplete widgets used in devtools.

Another difference is about the display for the inspector-search. The position
of the autocomplete popup used to be above the input. This is now impossible to
achieve because the search input is at the top of the toolbox and the HTML tooltip
can not exceed the limits of the toolbox.

For this #2 issue, either we manage to use XUL panel wrappers, in which case, the
autocomplete will be displayed as it used to. Or we can invert the order in which
items are inserted and explicitly ask for the autocomplete to be displayed below the
input. I prefered not to change this here in order to make the code change easier to
understand, but it should be addressed in a follow-up.

MozReview-Commit-ID: jH9aXm9Jvz

--HG--
extra : rebase_source : 57267be0d214ed807f3152838c4123400ab7b7e3
2016-07-07 16:32:42 +02:00
Ruturaj
6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
Lin Clark
72d422fb86 Bug 1285348 - New console frontend: disable in browser toolbox. r=bgrins
--HG--
extra : rebase_source : cff98e95cd5b21480990f849569e7fbd2c63b329
2016-07-07 16:08:12 -04:00
Lin Clark
75503e8ad4 Bug 1283893 - New console frontend: required prop severity is sometimes undefined. r=bgrins
--HG--
extra : rebase_source : fb164f3f1b564b9c9bb7b0716275cc32a2f84843
2016-07-06 17:47:16 -04:00
Tom Tromey
6a91e5346c Bug 1276349 - Fix DAMP regression by speeding up _isURL. r=bgrins
MozReview-Commit-ID: C7khVe46Vjk

--HG--
extra : rebase_source : 991395b28fdc0bc6296af866a3e7b4ddd6eda9c2
2016-07-05 11:33:01 -06:00
Lin Clark
8674b1ac25 Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: 36TkWMPePIT
2016-07-05 17:38:05 -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
Phil Ringnalda
e38bf61245 Back out 7d431089a2d2 (bug 1283870) for failures in test_evaluation-result.html 2016-07-01 18:26:52 -07:00
Lin Clark
40a56b044e Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: HYRdgpKDXF
2016-07-01 11:21:08 -04:00
Peter Elmers
ef47656f06 Bug 1283465 - New console frontend: Display cached messages. r=linclark
MozReview-Commit-ID: ArhGOuUY8ea
2016-06-30 06:59:55 -07:00
Jarda Snajdr
24366b36b0 Bug 1281732 - Part 8: Fix webconsole tests that inspect the stack frames r=bgrins 2016-06-27 04:54:00 +02:00
Jarda Snajdr
d66c01d247 Bug 1281732 - Part 7: Clean up and simplify markup of webconsole messages r=bgrins 2016-06-24 09:28:00 +02:00
Jarda Snajdr
d095253488 Bug 1281732 - Part 6: Use StackTrace React component in webconsole, cleanup message-location r=linclark 2016-06-29 04:06:00 +02:00
Jarda Snajdr
2eeeda64b7 Bug 1281732 - Part 5: Style cleanup for HTTP console log messages r=Honza 2016-06-24 09:15:00 +02:00
Jarda Snajdr
143d345a63 Bug 1281732 - Part 4: Add stack trace tab to HTTP console log message r=Honza 2016-06-28 09:29:00 +02:00
Wes Kocher
0a4e1558a6 Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Nicolas Chevobbe
9cc375021b Bug 1283247 - New console frontend: Add support for console.count(). r=linclark
MozReview-Commit-ID: 2b9cBXXMLMW
2016-06-25 14:32:37 +02:00
Tom Tromey
f6968e4e28 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : %88%FA%CB%0D%21%07%D9%DA%84%03%2C%92N%60%0F%E4%11%CF%8Dp
2016-03-01 11:13:41 -07:00