Commit Graph
7430 Commits
Author SHA1 Message Date
Greg Tatum c3ca469ef1 Bug 1224304 - Handle canceling the element picker better r=gl
This changes the behavior of the element picker so that when it is
cancelled the previously selected DOM node is re-scrolled into view.
Additionally the existing behavior of the keyboard shortcuts for the
element picker was broken when the devtools toolbox was docked. The main
content area was not being focused, so the keyboard shortcuts for the
element picker were not being used. When the toolbox is detached, the
focus event is still not fired, as it's not desirable to have the
content pop into view over the devtools.

Finally there is now an additional implementation of the Escape shortcut
when the devtools are focused. The console Escape shortcut is ignored
until the element picker has been disabled making disabling the element
picker consistent irrelevant of the context.

MozReview-Commit-ID: HxENmPBoTcD
2016-10-06 13:40:53 -05: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
Julian Descottes f5b3dc492b Bug 1311293 - remove link to side-panel.css in inspector.xhtml;r=Honza
MozReview-Commit-ID: dgOOGj7RDX
2016-10-19 11:41:33 +02:00
Sebastian Hengst 9fffdbeb0e Backed out changeset b7c0df58a2f4 (bug 1300895) for xpcshell failure in /test_css-properties-db.js. r=backout 2016-10-11 00:44:45 +02:00
Matthew Noorenberghe 8bdd952cd6 Bug 1269568 - Update browser_webconsole_bug_762593_... to check for the more accurate frame message. r=me
MozReview-Commit-ID: AY5cVtc08Tl
2016-10-10 14:28:50 -07:00
Neerja Pancholi 3912197452 Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update devtools' property database

MozReview-Commit-ID: B3kOFrM9EL
2016-10-10 13:16:57 -07: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
Towkir Ahmed a2da7d8fed Bug 1309168 - Fixed twisty direction of ruleview-header in RTL locales; r=ntim 2016-10-13 14:56:00 +02:00
Wes Kocher 3a62e3146f Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07: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
Jarda Snajdr 21f79fa349 Bug 1308477 - Merge the two netmonitor.css style files into one r=Honza
MozReview-Commit-ID: IIif1WbdbtO
2016-09-19 10:31:17 +02:00
Julian Descottes 4ae05ff885 Bug 1153292 - part4: aboutdebugging: display registering status for service workers;r=janx
MozReview-Commit-ID: DuE46jPSDvR
2016-09-15 15:12:06 +02:00
Greg Tatum 240d11e76d Bug 1307009 - Remove caching optimization; r=tromey
This caching feature is no longer valid as the client-side database
will not necessarily be the same as the server since the DB is
only built on nightly.

MozReview-Commit-ID: 550EQmgO9O7
2016-10-04 15:15:15 -05:00
Greg Tatum f3584d844f Bug 1307009 - Restrict the CSS properties db test to only nightly; r=tromey
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.

MozReview-Commit-ID: 7aDIsyZjf6h
2016-10-04 14:58:28 -05:00
Fred Lin 18a4169423 Bug 1292592 - Convert sourceeditor to use key shortcuts module;r=ochameau
MozReview-Commit-ID: 2hFtanHPuyr
2016-09-23 15:12:17 +08:00
Fred Lin 0ccb58765c Bug 1292592 - isolate xul dependency in sourceeditor and theme-switching;r=bgrins
MozReview-Commit-ID: 95ylSC8MpwM
2016-09-20 14:20:46 +08:00
Fred Lin 1804bce2ce Bug 1292592 - load sourceeditor in inspector without iframe;r=bgrins
MozReview-Commit-ID: K3ptp0g4RP8
2016-09-20 13:40:18 +08:00
Julian Descottes 75eb9fbe57 Bug 1301342 - hide filter icon when editing property in ruleview;r=gl
MozReview-Commit-ID: HYHGBk0J9y7
2016-10-14 17:54:05 +02:00
Julian Descottes 485b4f13e9 Bug 1301342 - add noautohide=true on XUL panel wrapper for HTMLTooltip;r=gl
MozReview-Commit-ID: AL4dc0Lp4GG
2016-10-11 16:50:35 +02:00
Julian Descottes 00272b90d8 Bug 1309733 - fix syntax issues in inspector.xhtml;r=ntim
MozReview-Commit-ID: D2UbXApPa5D
2016-10-14 13:27:58 +02:00
Sebastian Hengst 4fc8ab3bfa Backed out changeset 031441773f0d (bug 1309733) for failing various inspector tests, e.g. browser_rules_select-and-copy-styles.js. r=backout 2016-10-14 16:47:10 +02:00
Julian Descottes b18c7fb7ea Bug 1309733 - rename inspector.xhtml to inspector.html and fix syntax issues;r=ntim
MozReview-Commit-ID: D2UbXApPa5D
2016-10-14 13:27:58 +02:00
Jan Odvarko fc216c34ed Bug 1309243 - Use unique key property; r=nchevobbe 2016-10-17 18:11:40 +02:00
Jan Odvarko 00b7cac513 Bug 1308742 - Preserve line breaks in String rep; r=linclark 2016-10-17 15:58:49 +02:00
djmdev f40c4392b4 Bug 1305365 - disabled eyedropper for non-HTML documents and added a tooltip;r=jdescottes
MozReview-Commit-ID: DMexSsQfjQf
2016-10-13 10:32:55 +05:30
Carsten "Tomcat" Book dcc5d15888 Merge mozilla-central to autoland 2016-10-20 17:27:57 +02:00
Ricky Chien 44dc15bb20 Bug 1309191 - Implement filter buttons for Net Panel Toolbar r=Honza,jsnajdr
MozReview-Commit-ID: ALhCW6R8fzh
2016-10-13 15:19:09 +08:00
Wes Kocher cd063d9c1e Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Nicolas Chevobbe 90bb21eab3 Bug 1310408 - Add logging to console.group mochitest. r=linclark;
Since we had an intermittent on this test, adding some logs could provide us
some insights if the test fails again in the future

MozReview-Commit-ID: BeaK0BSwaYo
2016-10-17 19:15:03 +02:00
Nicolas Chevobbe 3578952087 Bug 1310408 - Add a mochitest for batched consoleAPI calls. r=linclark;
MozReview-Commit-ID: HQTjOSDLMnN
2016-10-15 12:50:38 +02:00
Matteo Ferretti 0ce755719f Bug 1262806 - Close button doesn't work for the RDM tool if tab is detached from the current window; r=jryans
MozReview-Commit-ID: FQqkkqBLp5v
2016-10-21 14:01:43 +02:00
Stone Shih 862ea623ce Bug 1292063 - Part 2: Add composed argument to getEventTargetChainFor and refine test cases. r=smaug 2016-09-13 17:29:08 +08:00
Tom Tromey 717112f611 Bug 1293616 - insert new rule in correct position in rule list; r=pbro
MozReview-Commit-ID: C4ib7ooI8BX
2016-09-02 10:42:00 -06: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
Greg Tatum 84dd3ed162 Bug 1309040 - Update mach devtools-css-db to be more accurate in generating the db; r=tromey
This patch removes the preferences from the css properties db as they
are not needed anymore. It also makes the generation process more
robust when the properties-db.js has been deleted. Finally the comments
have been updated to reflect the recent change in approach to the
devtools-css-db.

MozReview-Commit-ID: H31QGYTjy34
2016-10-11 10:16:27 -05:00
Jarda Snajdr 9164796faa Bug 1308480 - Move sorting functions to their own module r=Honza
MozReview-Commit-ID: LRFMI8hy8Uf
2016-10-11 15:13:01 +02:00
Jarda Snajdr 12db41b592 Bug 1308495 - Move event constants into a new module r=Honza
MozReview-Commit-ID: KY5bicBYNWD
2016-10-11 14:46:01 +02:00
Julian Descottes 6edded599b Bug 1309483 - fix dispatchMessageAdd failing for BATCH_ACTIONS;r=linclark
MozReview-Commit-ID: KBwxZwhiSK8
2016-10-12 10:53:53 +02:00
Mark Banner a05e245570 Follow up to bug 1311614 - Fix missing newline at end of custom-request-view.js to fix eslint. rs=bustage-fix. r=standard8
MozReview-Commit-ID: EVxQbjrmLdl
2016-10-24 10:18:29 +01:00
Alexandre Poirot f698f65fa8 Bug 1249119 - Prevent exception when opening inspector on a loading document. r=pbro
MozReview-Commit-ID: 9TNRUblT0SW
2016-10-19 05:26:40 -07:00
Alexandre Poirot fdafd3df0b Bug 1249119 - Let shared-head helper cleanup tests instead of duplicating the effort in inspector head. r=pbro
MozReview-Commit-ID: 2GxvXl3GTy8
2016-10-19 05:26:08 -07:00
Alexandre Poirot a432112702 Bug 1249119 - Fix inspector startup when opening it on a loading document r=jdescottes
MozReview-Commit-ID: 5d4K6VFLTgE
2016-10-19 05:25:26 -07:00
Alexandre Poirot 6d7da07085 Bug 1249119 - Prevent trying to initialize highlighter on still-loading documents. r=pbro
MozReview-Commit-ID: 3S0LoB40q2W
2016-10-19 05:19:48 -07:00
Fred Lin 87935d8121 Bug 1311614 - Move CustomRequestView to its own module;r=Honza
MozReview-Commit-ID: 6ffx5nokCN2
2016-10-20 16:00:20 +08:00
Fred Lin ed51b527cf Bug 1308440 - Migrate Net Panel Context Menu with framework/menu API in NetMonitor panel;r=Honza
MozReview-Commit-ID: 47IM3jFPcXe
2016-10-17 15:01:52 +08:00
Dave Townsend 7ef7234b4b Bug 1312055: Fix various eslint errors. r=standard8
MozReview-Commit-ID: 2XbldhBnofs
2016-10-21 10:03:51 -07:00
Alexandre Poirot c761fb23ee Bug 1299503 - Cleanup browser_toolbox_sidebar toolboxes at test end to prevent crashes. r=jryans
MozReview-Commit-ID: BWdbWELzBos
2016-09-01 02:17:22 -07:00
Alexandre Poirot 945e06ecf4 Bug 1299503 - Support connecting to remote targets via about:devtools-toolbox query parameters. r=jryans
MozReview-Commit-ID: 7EFCxnKkO6r
2016-08-31 07:42:23 -07:00