Commit Graph

74 Commits

Author SHA1 Message Date
nchevobbe
a136800c55 Bug 1358937 - Add tests for exceptions with longString messages; r=bgrins
Edit the function that generates pageError stubs so it does use
the key we provide it.
Change the key in existing pageError stubs so we don't have to
modify the tests.

MozReview-Commit-ID: FBfpflNgXpv
2017-04-25 10:40:56 +02:00
nchevobbe
10db3c5e03 Bug 1088900 - Add mocha tests for custom styles on console.group messages. r=bgrins
Tests custom styles on both console.group and console.groupCollapsed messages.
Update the stubs to match what the server now returns.

MozReview-Commit-ID: KHhU8Ki0YUz
2017-04-11 11:43:46 +02:00
Tooru Fujisawa
7e6a80c83c Bug 104442 - Part 5: Add another testcase for devtools and note. r=nchevobbe 2017-02-25 12:52:34 +09:00
Nicolas Chevobbe
c05fd473f6 Bug 1313688 - Fix mocha tests. r=jdescottes
MozReview-Commit-ID: J1wGhUEFeQu
2017-02-15 22:41:45 +01:00
Tooru Fujisawa
b7ee7e3810 Bug 1283712 - Part 11.3: Add mocha test. r=nchevobbe 2017-02-15 23:53:07 +09:00
Tim Nguyen
265bbb90e8 Bug 1255116 - Simplify toolbar button styles. r=jryans
MozReview-Commit-ID: 9J11mNk2c5W
2017-02-14 19:34:54 +00:00
Nicolas Chevobbe
41169b8a94 Bug 1336937 - Add aria-pressed to the filter buttons in new console. r=jdescottes
MozReview-Commit-ID: FEvuSd3RQ67
2017-02-06 13:41:08 +01:00
Ricky Chien
6783233089 Bug 1307892 - Add support for network event update message r=nchevobbe
MozReview-Commit-ID: 4lat3RYa4YN
2017-01-29 13:07:58 +08:00
Nicolas Chevobbe
147aef1bcd Bug 1321485 - Localize filter bar. r=jdescottes
MozReview-Commit-ID: p9Pg2Qyz3Q
2017-01-23 13:27:19 +01:00
Nicolas Chevobbe
1e2a920cb7 Bug 1321485 - Cleanup filter bar. r=jdescottes
Remove code for additional toolbar which isn't shown for now.
Fix mocha test since it was failing.

MozReview-Commit-ID: p9Pg2Qyz3Q
2017-01-23 13:26:51 +01:00
Nicolas Chevobbe
13e25f1a6d Bug 1317069 - Fix ESLint in new console frontend; r=ntim
MozReview-Commit-ID: 7MgHbRxnU1V
2016-12-08 09:16:41 +01:00
Tim Nguyen
31a07ed744 Bug 1307871 - Add new console frontend support for 'Enable timestamps' pref. r=bgrins
MozReview-Commit-ID: FshE769sETL
2016-11-15 19:23:47 +00:00
Tim Nguyen
16b0ab24c0 Bug 1307942 - Add CSS warnings and errors to new console. r=bgrins
MozReview-Commit-ID: FB0P3X0r7Jz
2016-11-14 17:33:29 +00:00
Tooru Fujisawa
393344c279 Bug 1315242 - Part 5: Add a testcase for location in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa
b39b5c5099 Backed out changeset ce34d3f8a3b7 (bug 1315242) 2016-11-11 03:04:03 +09:00
Tooru Fujisawa
e3fbb581dd Bug 1315242 - Part 5: Add a testcase for location in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +09:00
Nicolas Chevobbe
57f03bddb9 Bug 1307908 - Implement custom styles in new console frontend. r=linclark,tromey;
Add the possibility to pass a style object to StringRep.
Parse the styles strings passed as argument using a dummy node element
to strip off forbidden properties and forbidden values.
Add a mocha test to ensure custom styles are rendered as expected.

MozReview-Commit-ID: I3LgeNRujaL
2016-10-08 15:31:11 +02:00
Nicolas Chevobbe
c6e6f52b04 Bug 1307919 - Add "Learn more" MDN link in message output. r=linclark;
MozReview-Commit-ID: DSAGjD0umzG
2016-10-15 01:06:42 +02:00
Nicolas Chevobbe
b597f028c3 Bug 1308840 - Fixes expanding/collapsing stacktraces. r=linclark;
Fixes the "dispatch is not a function error", passing the dispatch prop from `PageError` to `Message`.
Make the message collapsible only if the message is a group or an error with a stacktrace.
Adds mocha tests.

MozReview-Commit-ID: CkvV2z4yfcV
2016-10-10 08:12:15 +02:00
Nicolas Chevobbe
4b2d3ad8b6 Bug 1307907 - Add support for console.dirxml() in the new console frontend. r=linclark;
Adds console.dirxml support, which behave the same as console.log.
Adds mocha test to ensure dirxml calls are rendered as expected.

MozReview-Commit-ID: 22kUozOiDAA
2016-10-07 12:30:10 +02:00
Nicolas Chevobbe
47b1aa9d50 Bug 1307873 - Add support for console group. r=linclark 2016-10-07 07:17:00 -04:00
Lin Clark
d7463b348c Bug 1307243 - Part 2: Fix Ctrl-F keyboard shortcut and add test. r=bgrins
MozReview-Commit-ID: 3Z5Vp6UMii4
2016-10-04 11:31:40 -07:00
Lin Clark
8649071822 Bug 1307243 - Part 1: Consolidate services in a service container and add addRefToHud. r=bgrins
MozReview-Commit-ID: 4lDTLFzh5ly
2016-10-04 11:31:38 -07:00
Nicolas Chevobbe
3868d44ac2 Bug 1306781 - New console frontend: Add title on repeat element. r=linclark
MozReview-Commit-ID: L10G6ShRuXR
2016-10-02 15:16:49 -07:00
Nicolas Chevobbe
0475585bf7 Bug 1306727 - New console frontend: Add test for the location in consoleApiCall. r=linclark
MozReview-Commit-ID: H3eLp8FDQRN
2016-10-02 15:16:49 -07:00
Lin Clark
a63cac5b49 Bug 1306622 - New console frontend: Factor out common HTML structures from message types. r=bgrins
MozReview-Commit-ID: 3JjyRuJyFAP
2016-10-02 15:16:49 -07:00
Lin Clark
809ba8d714 Bug 1305788 - Part 3: Update mocha tests. r=me
MozReview-Commit-ID: 5DvUWErni0O
2016-10-02 15:16:48 -07:00
Lin Clark
ef471b0723 Bug 1305788 - Part 2: Remove mocha unit testing of actions. r=me
MozReview-Commit-ID: AGCvvLdztDc
2016-10-02 15:16:48 -07:00
Lin Clark
3fc70f5374 Bug 1305509 - New console frontend: Temporarily remove collapsible and status from network messages. r=me
MozReview-Commit-ID: DTqS0MZRwvI
2016-09-27 10:09:52 -07:00
Lin Clark
c255a56fff Bug 1304185 - Part 2: Display evaluation result errors. r=bgrins
MozReview-Commit-ID: E4xatW19czo
2016-09-21 16:07:04 -07:00
Lin Clark
bc7f6b177c Bug 1304185 - Part 1: Convert evaluation result unit test to Enzyme. r=bgrins
MozReview-Commit-ID: Btpc4E7uu9P
2016-09-21 16:07:04 -07:00
Lin Clark
b264341d97 Bug 1303872 - Part 2: Update stubs and tests. r=me
MozReview-Commit-ID: GsYzVeDXlVA
2016-09-20 11:37:04 -07:00
Nicolas Chevobbe
95b71b5465 Bug 1303612 - New console frontend: pageErrors should include the location. r=linclark
MozReview-Commit-ID: 4UUOSHYtu4l
2016-09-20 11:37:03 -07:00
Lin Clark
2d3224b92f Bug 1302873 - New console frontend: Remove quotes around strings. r=nchevobbe
MozReview-Commit-ID: JKw5URD5nkV
2016-09-20 11:37:03 -07:00
Lin Clark
cfdfb4af3a Bug 1303181 - New console frontend: Fix stub generators. r=bgrins
MozReview-Commit-ID: KeMe90yNRq3
2016-09-20 11:37:03 -07:00
Nicolas Chevobbe
783878110a Bug 1303101 - New console frontend: Match against stacktrace in text filter. r=linclark
MozReview-Commit-ID: 8GWuWu9Y8FD
2016-09-20 11:37:03 -07:00
Ricky Chien
511dd0e899 Bug 1300058 - New console frontend: Support network event messages. r=linclark
MozReview-Commit-ID: BVc8zLjsKPm
2016-09-20 11:37:03 -07:00
Lin Clark
9dc26527b5 Bug 1301695 Part 3: Add stacktrace to page error. r=nchevobbe
MozReview-Commit-ID: 6u5dHjfIhpe
2016-09-20 11:37:02 -07:00
Lin Clark
67ab03eb79 Bug 1301695 Part 2: Convert page error test to enzyme. r=nchevobbe
MozReview-Commit-ID: 4YVVv9m3VHh
2016-09-20 11:37:02 -07:00
Lin Clark
9093055d34 Bug 1300494 - New console frontend: Fix rep spacing for console. r=Honza
MozReview-Commit-ID: LKikTgd3DgT
2016-09-20 11:37:01 -07:00
Ricky Chien
f3dfd8c264 Bug 1300057 - New console frontend: Add support for console.assert(). r=linclark
MozReview-Commit-ID: DXFAcjrWY6X
2016-09-20 11:37:01 -07:00
Lin Clark
465034601b Bug 1294517 - Part 2: New console frontend: Add tests for console.trace(). r=bgrins
MozReview-Commit-ID: 9sldZfh4PLY
2016-09-20 11:37:00 -07:00
Lin Clark
4e7a7df64c Bug 1294517 - Part 1: convert test to use Enzyme
MozReview-Commit-ID: QhvwujTmhv
2016-09-20 11:37:00 -07:00
Jarda Snajdr
9f35703ef2 Bug 1296389 - Part 1: Use the same markup structure as the old console frontend r=me
MozReview-Commit-ID: 2YVe8jtdJSe
2016-08-22 12:39:15 +02:00
Lin Clark
9da5f84f9a Bug 1297180 - New console frontend: Use packet stubs to test store. r=bgrins 2016-08-22 16:43:27 -04:00
Nicolas Chevobbe
bf1ab30f1a Bug 1295347 - New console frontend: Add support for console.time(). r=me 2016-08-20 00:46:26 +02:00
Lin Clark
d7ba611251 Bug 1295337 - New console frontend: Automate creation and update of stubs. r=bgrins
MozReview-Commit-ID: KtJLRAMqGVC
2016-08-18 16:04:57 -07:00
Lin Clark
61df896ff7 Bug 1292322 - New console frontend: Clean up React warnings. r=bgrins
MozReview-Commit-ID: AhhSP61tl7w
2016-08-18 16:04:32 -07:00
Lin Clark
9c5486956e Bug 1291832 - New console frontend: Remove all category/severity cruft. r=nchevobbe
MozReview-Commit-ID: IyAqX1vzY0m
2016-08-18 16:04:32 -07:00
Lin Clark
7e3a0ac09a Bug 1291056 - New console frontend: Use require-hacker to load mocks in npm tests. r=bgrins
MozReview-Commit-ID: 8ndzzDqCRTB
2016-08-18 16:04:30 -07:00