Commit Graph

681 Commits

Author SHA1 Message Date
Wes Kocher
52d75af886 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Dragana Damjanovic
7103eb740f Bug 1334776 - ResponseHeader Visitor will get original header casing. We need to fix it at some places in devtools. 2017-04-27 16:48:43 +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
5b11b585fb Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +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
Tom Tromey
40261f6ca8 Bug 1346326 - implement new console.count semantics; r=baku
Bug 1346326 points out that the console.count spec has changed to

  void count(optional DOMString label = "default");

This patch implements the same behavior, but does not change the webidl,
on the theory that perhaps something relies on the current "any..."
type.

MozReview-Commit-ID: 9RQKAZ4AVtT
2017-04-07 10:04:10 -06:00
Carsten "Tomcat" Book
146c23b5e9 Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Wes Kocher
e66b36fd81 Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07: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
Jim Porter
e6d010d8bf Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna
2017-04-11 13:47:31 -05:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Ricky Chien
00a72093be Bug 1356786 - Add waitUntil in browser_webconsole_shows_reqs_in_netmonitor.js r=ntim
MozReview-Commit-ID: 1cLwVeaortC
2017-04-15 19:38:00 +08: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
Alessio Placitelli
d7a33d4843 Bug 1341996 - Prevent using empty keys in DEVTOOLS_JAVASCRIPT_ERROR_DISPLAYED. r=bgrins
MozReview-Commit-ID: 42ESILTpnAT
2017-04-12 17:33:36 +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
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +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
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
Ricky Chien
4c1c62da60 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG
2017-04-01 23:01:06 +08:00
Carsten "Tomcat" Book
c4ba8ded0f Backed out changeset afbfe3a5cdb6 (bug 1352699) 2017-04-07 10:48:08 +02:00
Ricky Chien
cc080ff798 Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG
2017-04-01 23:01:06 +08:00
Sebastian Hengst
25599432c0 Backed out changeset a3ef74b43978 (bug 1352699) 2017-04-06 20:15:15 +02:00
Ricky Chien
7a9480e16a Bug 1352699 - Make netmonitor run on devtools-launchpad r=Honza
MozReview-Commit-ID: 4khCXm2lfzG
2017-04-01 23:01:06 +08:00
Ricky Chien
269c9c9b19 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn
2017-03-27 00:01:35 +08:00
Wes Kocher
2baab983e8 Backed out 7 changesets (bug 1350215) for OSX failures in browser_all_files_referenced.js a=backout
Backed out changeset 435557f30204 (bug 1350215)
Backed out changeset b8358b21928c (bug 1350215)
Backed out changeset 59d2a3f98f6d (bug 1350215)
Backed out changeset e219f3f6e8e7 (bug 1350215)
Backed out changeset f812f7a98a9c (bug 1350215)
Backed out changeset e676e004d08e (bug 1350215)
Backed out changeset e6d27888cb6f (bug 1350215)
2017-03-28 23:25:01 -07:00
Ricky Chien
3a4e612e80 Bug 1350215 - Fix mochitest failures r=Honza
MozReview-Commit-ID: CNo5JeqMyVn
2017-03-27 00:01:35 +08:00
Alexandre Poirot
6e5b6bd5c0 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz
2017-03-23 18:53:57 +01: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
J. Ryan Stinnett
47d40079e2 Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al
2017-03-20 16:22:55 -05:00
Wes Kocher
29c38a6108 Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Patrick Brosset
3118619a9a Bug 1301015 - Re-enable some devtools tests on e10s-multi; r=krizsa
Some devtools tests had been forced to run in e10s with just 1
content process in bug 1301340 and bug 1303113 because they were
failing.
Now there seems to have been enough e10s messaging fixes that these
tests work again. It seems safe to re-enable multi-content-processes
for them now.

MozReview-Commit-ID: ENfDdIXvIAI
2017-03-20 14:05:21 +01:00
Geoff Brown
aa6c04ef31 Bug 1298364 - Actually skip browser_webconsole_netlogging.js; r=jmaher
I accidentally disabled the wrong test in an earlier push. This change
corrects that, enabling browser_console_netlogging.js and skipping
browser_webconsole_netlogging.js.
2017-03-20 10:18:27 -06:00
Carsten "Tomcat" Book
92b3168c96 merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00