Commit Graph
262 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 3eed0a7e6c merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Brian Grinstead 1287ed5f20 Bug 1363768 - Prevent creating constant elements during render;r=nchevobbe
MozReview-Commit-ID: IPWczrp1TOA
2017-05-11 09:59:49 -07:00
Brian Grinstead 782fc70f54 Bug 1363307 - Update component test for timer errors;r=nchevobbe 2017-05-11 14:36:14 -07:00
Andrea Marchesini 3b9c7b278d Bug 1363307 - Console.timeEnd(label) should warn if 'label' in an unknwon timer, r=bgrins 2017-05-11 14:36:12 -07:00
Andrea Marchesini b4124f6839 Bug 1363288 - Console.time() prints a warning if used twice with the same label, r=bgrins 2017-05-11 14:36:09 -07:00
Florian Scholz 5500cfbc5d Bug 1353706 – Update errordocs mapping for added and updated MDN docs. r=Honza 2017-05-04 00:49:00 -04:00
Ricky Chien 8e1c828432 Bug 1344160 - Refactor netmonitor-controller.js r=Honza
MozReview-Commit-ID: JPUB83Qsmav
2017-04-29 23:20:24 +08:00
Phil Ringnalda 479af68a2c Backed out changeset 8ff81b6fdfb8 (bug 1317962) for frequent Windows failures in browser_console_copy_entire_message_context_menu.js
CLOSED TREE

MozReview-Commit-ID: ADIiRxXlKs1
2017-05-04 20:56:39 -07:00
Tom Tromey 469d05c675 Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv
2017-05-02 12:51:51 -06:00
Brian Grinstead aeabbbbb9a Bug 1361429 - Convert FilterButton to functional component;r=nchevobbe
MozReview-Commit-ID: 5ILDOVR3GS7
2017-05-03 07:31:35 -07:00
Brian Grinstead 67b715fe2a Bug 1361429 - Grab only the filterBarVisible property to limit number of re-renders for FilterBar;r=nchevobbe
MozReview-Commit-ID: JJMPDEDNbhZ
2017-05-03 07:27:52 -07:00
Jan Odvarko b1817dd98f Bug 1359065 - Update stubs; r=nchevobbe
MozReview-Commit-ID: DVALxvFeMkQ
2017-05-03 07:25:59 +02:00
Jan Odvarko 2f88092751 Bug 1359065 - Update tests; r=nchevobbe
MozReview-Commit-ID: I846PkLlIoL
2017-05-02 18:32:51 +02:00
Jan Odvarko 99c5c830b2 Bug 1359065 - Remove timeStamp before generating message ID; r=nchevobbe
MozReview-Commit-ID: HGaQsIkb7IG
2017-05-02 18:32:34 +02:00
Jan Odvarko 1c20d6d5c7 Bug 1307895 - logMessages rendering test; r=nchevobbe
MozReview-Commit-ID: 8PX0C7rGvG3
2017-05-01 16:34:13 +02:00
Jan Odvarko 62abdcfe31 Bug 1307895 - Support LogMessage log type; r=nchevobbe
MozReview-Commit-ID: D3RGGNuOjU5
2017-05-01 16:34:06 +02:00
Tom Tromey c4042ba67b Bug 1359144 - use client-side source map service in console; r=jryans
MozReview-Commit-ID: Jn9fr1EoPg9
2017-04-28 10:12:57 -06:00
Jan Odvarko 950cd0d65d Bug 1361270 - Update test; r=nchevobbe
MozReview-Commit-ID: 26l7AlZOWO0
2017-05-02 17:27:25 +02:00
Jan Odvarko e4988f073f Bug 1361270 - Search also within net logs; r=nchevobbe
MozReview-Commit-ID: FTs2tJicTXC
2017-05-02 17:27:15 +02:00
Jan Odvarko 8273eae614 Bug 1361270 - Avoid exception when searching in the Console panel; r=nchevobbe
MozReview-Commit-ID: FGF3gzI4hjG
2017-05-02 09:13:07 +02:00
Jan Odvarko 2ffbb49be4 Bug 1307879 - Implement test for searching in grips; r=nchevobbe
MozReview-Commit-ID: Gj1Yu6CHzLz
2017-04-25 15:31:22 +02:00
Jan Odvarko 034fd6db99 Bug 1307879 - Search within grip preview items; r=nchevobbe
MozReview-Commit-ID: 7oVMD2WvIVw
2017-04-25 15:14:37 +02:00
nchevobbe ac52ed9f0b Bug 1358507 - Adapt tests to the new component architecture; r=bgrins
MozReview-Commit-ID: LfHkDyIwIv5
2017-04-28 12:15:45 +02:00
nchevobbe 2330b148e2 Bug 1358507 - Simplify component tree. r=bgrins
MozReview-Commit-ID: 3os1JlDVeEI
2017-04-28 11:38:13 +02:00
nchevobbe b4b6709311 Bug 1358937 - Make getCleanedPacket function handle longString exception messages; r=bgrins
Since the longString object has an actor property which can change from test to test,
replace it with its value in the existing packet.

MozReview-Commit-ID: CzxX203TdEU
2017-04-27 09:38:15 +02:00
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 e172e6dea1 Bug 1358937 - Fix console crash due to longString error messages; r=bgrins
MozReview-Commit-ID: 95m5bvQDcdB
2017-04-25 14:05:28 +02:00
nchevobbe 3f66200b5b Bug 1359716 - Make test_render_perf.html more accurate; r=Honza
Set the logLimit to the number of messages we add.
Bump up the number of messages to add to 4000.
Iterate 25 times instead of 10.
Compute the median to limit the impact of low/high spikes.

MozReview-Commit-ID: 1WoiYk5pF9v
2017-04-26 10:40:04 +02:00
Brian Grinstead 83baffc882 Bug 1359597 - Set up new console with devtools-launchpad;r=Honza
MozReview-Commit-ID: FxuwGLYef5v
2017-04-26 08:10:04 -07:00
nchevobbe e6737c0f87 Bug 1358520 - Fix render perf test; r=bgrins
MozReview-Commit-ID: EPAxQ3hAKit
2017-04-20 09:48:00 +02:00
Sebastian Hengst 6642b397b2 Backed out changeset 2462fcdd73bc (bug 1358520) for eslint failure. r=backout 2017-04-24 22:12:11 +02:00
nchevobbe 7e9656a1fa Bug 1358520 - Fix render perf test; r=bgrins
MozReview-Commit-ID: EPAxQ3hAKit
2017-04-20 09:48:00 +02:00
nchevobbe 07fed53b5b Bug 1307940 - Add toolbox-dependent method to serviceContainer only if toolbox is available. r=bgrins
MozReview-Commit-ID: CjRXKemaJ4f
2017-04-24 10:09:27 +02:00
Nicolas Chevobbe f47c18b50f Bug 1307940 - Add mochitest to test open-in-inspector icon in the console. r=bgrins,jdescottes
MozReview-Commit-ID: 7tBt2KzOGnp
2017-03-13 13:51:31 +01:00
nchevobbe be2efe1402 Bug 1307940 - Add icon next to ElementNodeRep to select node in inspector; r=bgrins,jdescottes
MozReview-Commit-ID: InGASswqAAA
2017-04-21 09:23:11 +02:00
Tom Tromey fc99179caa Bug 1353038 - do not quote whitespace in console evaluation results; r=nchevobbe
Don't escape whitespace in console evaluation results.  This preserves
the behavior of the old console, and in particular makes pprint() more
useful again.

MozReview-Commit-ID: CrWWXjtSBIw
2017-04-20 11:58:35 -06:00
nchevobbe d8840a78b0 Bug 1358103 - Remove createFactory call on Reps; r=jdescottes
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.

MozReview-Commit-ID: 4KvCThhwphv
2017-04-21 08:50:24 +02:00
Wes Kocher f8d2845e66 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Julian Descottes 99bcf6d7c1 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR
2017-04-20 14:49:44 +02:00
Andrea Marchesini 94b9d42abb Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Carsten "Tomcat" Book 146c23b5e9 Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Julian Descottes 569f1d9f93 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR
2017-04-18 10:25:19 +02:00
Carsten "Tomcat" Book 465ba009d4 Merge mozilla-central to autoland 2017-04-20 13:06:52 +02:00
nchevobbe 4e79e43782 Bug 1357341 - Fix VariableView with new Reps bundle; r=jdescottes
MozReview-Commit-ID: GSOyL6Nx23Z
2017-04-20 12:12:14 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
nchevobbe 72f4acabef Bug 1355869 - Delay scrollToBottom on next tick in console init. r=bgrins
The call to scrollToBottom could take a good amount of time if there were
already logged messages in the console. This might be related to the fact that
componentDidMount is called although there is some layout or paint work.
Delaying the first call to scrollToBottom in the component greatly reduced the
time spent in scrollToBottom.

MozReview-Commit-ID: F3cRYV4OFhm
2017-04-12 17:21:27 +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
nchevobbe 06113d95bc Bug 1088900 - Use ConsoleMessage's "parameters" property for console.group. r=bgrins
Because we now enable custom styling on console.group, we can't rely solely on groupName
to output the group. We can have multiple pieces on which to apply different styles, like
for console.log, so we use the same properties to have the same behavior for custom styles.

MozReview-Commit-ID: 7IKl919Dg7a
2017-04-11 11:41:36 +02:00
nchevobbe e6b2727561 Bug 1355454 - Move "createFactories" function from Reps to a shared util. r=jdescottes
MozReview-Commit-ID: LmGBg2HSzOC
2017-04-12 08:33:37 +02:00
J. Ryan Stinnett b1e4f726f1 Bug 1349360 - Mark experimental SourceMapService as deprecated. r=ochameau
The existing `SourceMapService` uses server-side source maps, which we are
replacing with client-side source maps.  It will be removed later in bug
1349354, but for now mark it as deprecated so we don't use it with any other
tools.

MozReview-Commit-ID: ABmWGC5asZd
2017-03-21 16:44:09 -05:00