Commit Graph
227 Commits
Author SHA1 Message Date
Ricky Chien 508258701d Bug 1309192 - Implement search filter in Net Panel Toolbar r=jsnajdr
MozReview-Commit-ID: FjVo69jmE7e
2016-10-20 13:58:35 +08:00
Nicolas Chevobbe 3bc62a0860 Bug 1307938 - Add a Rep for DOM nodes. r=Honza,pbro;
Add tests based on existing browser_webconsole_output_dom_elements_*.js tests.

MozReview-Commit-ID: Wmzg0knuuh
2016-10-17 19:29:32 +02:00
Nicolas Chevobbe aa88c7eb94 Bug 1313765 - Make Rep handles Proxy. r=Honza;
In the GripRep, we were using the root property `ownPropertyLength` to
retrieve additionnal uninterresting props on the Grip. For Proxy
objects, we don't have this property, but a `preview.ownPropertiesLength`.
This adds a test case similar to the one for Proxy in browser_webconsole_output_05.js.

MozReview-Commit-ID: 652cfTlW7Sg
2016-10-31 20:02:02 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Ryan VanderMeulen 112d5746d5 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Towkir Ahmed dcd6bd57ba Bug 1306942 - Fix all-tabs-menu position in RTL locales. r=ntim 2016-10-28 01:50:00 -04:00
Jan Odvarko 061357d124 Bug 1310801 - Remove non-printable characters. r=nchevobbe 2016-10-27 13:31:54 +02:00
Lin Clark 4680dc507d Bug 1313050 - Handle invalid dates in reps. r=nchevobbe 2016-10-26 09:42:00 -04:00
Nicolas Chevobbe e13905c730 Bug 1311426 - Handle Grip with wrapped value in Reps. r=Honza;
Handle object created from a constructor function, like `new Boolean(true)`,
`new Number(42)` or `new String("foo")`.
It displays the wrapped value using Rep so the primitives are displayed like
expected.

MozReview-Commit-ID: JrJVeV0C0wO
2016-10-24 07:32:32 +02:00
Nicolas Chevobbe 6e5189afd0 Bug 1310608 - Add a Rep for Promises. r=Honza;
MozReview-Commit-ID: BkeHonHQ28M
2016-10-24 19:24:10 +02:00
J. Ryan Stinnett cd2e2f271f Bug 1311178 - Expose some DevTools CSS as resource:// only. r=ntim
For CSS files which were used via both chrome:// and resource://, I converted
all usages to resource:// and removed the chrome:// copy to reduce file
duplication.

I believe most DevTools CSS could be using resource:// throughout, but that's
left as follow up work for now.

MozReview-Commit-ID: G7oxZqjodwv
2016-10-19 16:19:29 -05: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 e24b7b822e Bug 1311266 - Preserve line breaks for comment node rep in short mode. r=Honza;
Use `cropString` instead of `cropMultipleLines` to keep line breaks.
Edit tests accordingly.

MozReview-Commit-ID: 1fBVqtH0lb
2016-10-19 13:57:47 +02:00
Nicolas Chevobbe 067ec7855c Bug 1311266 - Add a rep for comment node. r=Honza;
MozReview-Commit-ID: B5ofNavxQIX
2016-10-19 07:51:37 +02:00
Jan Odvarko 176e5a0176 Bug 1281051 - Fix text-node rep. r=linclark 2016-09-28 17:43:34 +02:00
Phil Ringnalda 770d92a74f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Phil Ringnalda 82387edd0e Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW
2016-10-18 19:45:02 -07:00
Phil Ringnalda 5359f7fbb2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Carsten "Tomcat" Book 7c090ab8d2 Merge mozilla-central to mozilla-inbound 2016-10-18 10:44:04 +02:00
Gabriel Luong 9f48fd5235 Bug 1308227 - Add a CSS Grid accordion container to the layout panel r=jdescottes
MozReview-Commit-ID: ElJnsdJYXA
2016-10-14 20:31:04 -04:00
Nicolas Chevobbe e48d859fcb Bug 1309749 - Add reps for NaN and Infinity. r=Honza;
Add reps and test for it.
Edit Number rep's `supportsObject` function because there was
an error for `-0` object, due to some change in the function which
detect which rep to use.

MozReview-Commit-ID: 8Dz40E7LBb0
2016-10-15 10:58:29 +02:00
Carsten "Tomcat" Book 715217a8b5 Merge mozilla-central to autoland 2016-10-18 10:45:57 +02:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Jan Odvarko 00b7cac513 Bug 1308742 - Preserve line breaks in String rep; r=linclark 2016-10-17 15:58:49 +02:00
Julian Descottes 48f014a16d Bug 1310615 - eslint: force unix style linebreaks in devtools;r=jryans
MozReview-Commit-ID: BOmZ5vBJ3Fm
2016-10-17 11:47:03 +02:00
Andrea Marchesini ae47ca23c2 Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug 2016-10-13 15:19:24 +02:00
Sebastian Hengst f2200afdb1 Bug 1154789 - Create shared React component for searchbox: tell eslint that search-box.js has windows as global. r=eslint-fix 2016-10-12 19:35:09 +02:00
Tim Nguyen 18d957bec3 Bug 1154789 - Create shared React component for searchbox. r=jsnajdr
MozReview-Commit-ID: 3C2OinOHDY3
2016-10-12 18:17:39 +01:00
Tim Nguyen e8c152625c Bug 1306840 - Fix RTL in DOM panel. r=Honza
MozReview-Commit-ID: Djaa4douEBY
2016-10-11 09:54:29 +01:00
Nicolas Chevobbe 2e3b2c65d2 Bug 1305981 - Fix grip truncation on object with non-enumerable properties. r=Honza;
The problem is that we are checking the computed props against `object.ownPropertyLength` to see if there's more to show.
But, if an object has a non-enumerable property (like `prototype`), `ownPropertyLength` counts it,
but it does not appear `object.preview`.
To fix that, we do a simple check : if there is more item in the preview object than `max`, then we show the "more..." label.
Adds a test to ensure the problem is fixed.

In the same time, I did a little refactor on how we deal with the last object delimiter when we get the props, so we don't have
to go back to the last object and remove the comma.

MozReview-Commit-ID: 1drpuUOsLNI
2016-10-06 08:07:15 +02:00
Jan Odvarko 506cbafcc3 Bug 1276206 - Avoid caption clobber if more prop exists. r=linclark 2016-09-27 16:30:01 +02:00
Jan Odvarko 64a071a991 Bug 1305979 - Test for addSidebarTab API. r=jdescottes 2016-10-03 18:14:14 +02:00
Jan Odvarko 830fb03aef Bug 1306898 - Avoid exception. r=ntim 2016-10-03 13:33:53 +02:00
Nicolas Chevobbe 06c79823e1 Bug 1304352 - Add a Rep for Map and WeakMap. r=Honza;
Add a GripMap rep which handles both map and weakmap objects.
Make it possible to pass an object as the `name` property to PropRep,
in order to handle WeakMap keys.
Add a mochitest to make sure everything is displayed correctly.

MozReview-Commit-ID: ABBy2FT4rmE
2016-09-27 19:41:03 +02:00
Nicolas Chevobbe 3e23657ade Bug 1304352 - Fix title issue in the ObjectRep. r=Honza;
MozReview-Commit-ID: 2oh8mZ4zE2b
2016-09-28 07:49:38 +02:00
Carsten "Tomcat" Book 8e4c37c11b Merge mozilla-central to fx-team 2016-09-28 16:29:56 +02:00
Julian Descottes b8aa1500ba Bug 1305007 - Fix RTL in inspector styles after migration to HTML;r=ntim
MozReview-Commit-ID: 9yev7xXsgJI
2016-09-27 16:49:56 +02:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -07:00
Jan Odvarko 3ef2f9291c Bug 1300291 - Fix background-color and icon color of all-tabs-menu; r=ntim 2016-09-21 16:10:21 +02:00
Brian Grinstead 9fb98ba390 Bug 1303458 - Changed the dimensions of close.svg and centered the close button icon. r=bgrins
MozReview-Commit-ID: J0M3dxodO3q
2016-09-22 08:02:53 -07:00
Carsten "Tomcat" Book c9ac004310 Merge mozilla-central to fx-team 2016-09-21 12:08:57 +02:00
Carsten "Tomcat" Book 4ffad31ef1 merge fx-team to mozilla-central a=merge 2016-09-21 12:02:19 +02: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 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
Jan Odvarko 2bb4561fdc Bug 1260552 - Replace xul:spliter by html:splitter; r=pbro 2016-09-21 08:26:02 +02:00
Sebastian Hengst fdb150c1f7 Backed out changeset e7da6eac37d3 (bug 1260552) for failing devtools tests on Linuxe 32 bit debug, e.g. browser_rules_completion-existing-property_01.js. r=backout a=backout
MozReview-Commit-ID: 2esBSWcAZeq
2016-09-17 20:09:00 +02:00
Sebastian Hengst fbf24f5ca1 Backed out changeset e8de82ab570d (bug 1260552)
MozReview-Commit-ID: B8xetPlNaN2
2016-09-17 20:07:57 +02:00
Jan Odvarko 67ec437d72 Bug 1260552 - Replace xul:spliter by html:splitter. r=pbro 2016-09-15 09:54:01 +02:00