Commit Graph

7444 Commits

Author SHA1 Message Date
Oriol Brufau
974c7c31f4 Bug 1396286 - Support UTF-16 in JSON Viewer. r=tromey
MozReview-Commit-ID: Dy7474tyVyc

--HG--
rename : devtools/client/jsonview/test/browser_jsonview_utf8.js => devtools/client/jsonview/test/browser_jsonview_encoding.js
extra : rebase_source : d5c10e83cad5e9323149363cab3c6df94f0c81a1
2017-09-23 20:10:04 +02:00
Sebastian Hengst
3b29437193 Backed out changeset fae2d636bbcb (bug 1385995) for frequently failing new devtools test browser_webconsole_context_menu_copy_object.js on Windows 7 debug without e10s. r=backout 2017-10-04 18:42:34 +02:00
J. Ryan Stinnett
e9e4b587cb Bug 1348960 - Expose openLinkIn for RDM tabs. r=ochameau
MozReview-Commit-ID: 2EzZfBsNIrf

--HG--
extra : rebase_source : 7d1a6700f89d3616c80da8384be0c3642cfa800c
2017-10-03 22:34:07 -07:00
Jiel Selmani
da55c5359b Bug 1402387 - CamelCased all React component files in /devtools/client/jsonview/components/;r=pbro
MozReview-Commit-ID: CaUAREYn7eP

--HG--
rename : devtools/client/jsonview/components/headers.js => devtools/client/jsonview/components/Headers.js
rename : devtools/client/jsonview/components/headers-panel.js => devtools/client/jsonview/components/HeadersPanel.js
rename : devtools/client/jsonview/components/json-panel.js => devtools/client/jsonview/components/JsonPanel.js
rename : devtools/client/jsonview/components/main-tabbed-area.js => devtools/client/jsonview/components/MainTabbedArea.js
rename : devtools/client/jsonview/components/search-box.js => devtools/client/jsonview/components/SearchBox.js
rename : devtools/client/jsonview/components/text-panel.js => devtools/client/jsonview/components/TextPanel.js
rename : devtools/client/jsonview/components/reps/toolbar.js => devtools/client/jsonview/components/reps/Toolbar.js
extra : rebase_source : e155d1204f431824f40d26e7274835ea88b63919
2017-10-01 14:14:40 -04:00
Nicolas Chevobbe
d79974f863 Bug 1402848 - Add a test case for expanding object with proper length; r=Honza
In Bug 1403065, we introduce a server fix for that as well as some tests.
But they are testing specific server functions. Adding a test on the client
side will prevent any regression if we end up using other server methods.

MozReview-Commit-ID: D3FGGOtiTBw

--HG--
extra : rebase_source : 80cca9b2e784341fdca6461ef8171db349d95f80
2017-10-04 10:38:01 +02:00
abhinav
c300400de8 Bug 1385995 - Adding Copy object to the context menu which allows to copy the object/variable logged to the console. r=nchevobbe
MozReview-Commit-ID: EbOE9qrpikn

--HG--
extra : rebase_source : 198533de11c2dcb7407f03a2a0f761dc23200442
2017-09-28 00:12:00 +05:30
Alexandre Poirot
37bd611e02 Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
MozReview-Commit-ID: B5l1X4pc2Kf

--HG--
extra : rebase_source : a45e07106582c999768065cddb93c38b692adfee
2017-10-03 17:19:56 +02:00
Alexandre Poirot
b5eb40769a Bug 1399589 - Move NodeFront to its own module. r=jdescottes
MozReview-Commit-ID: EVeaFmqAmKL

--HG--
rename : devtools/shared/fronts/inspector.js => devtools/shared/fronts/node.js
extra : rebase_source : 2791e99ca8e37f4b9e0ba6bd1bb4d0bb22601781
2017-10-02 17:14:38 +02:00
Alexandre Poirot
8951f31f9f Bug 1399589 - Remove unused performance-entries actor. r=jdescottes
MozReview-Commit-ID: LaGB7vP5Pj2

--HG--
extra : rebase_source : e10f76b13e18815a1b07295f72cd8902a262e314
2017-10-03 17:57:08 +02:00
Alexandre Poirot
76914dd9bc Bug 1399589 - Register all spec and front modules lazily in specs/index.js. r=jdescottes
MozReview-Commit-ID: 3U2D0PWivm2

--HG--
extra : rebase_source : bb087a66c0d946f684dbfa00e7dc96725d4eee30
2017-10-03 17:56:35 +02:00
J. Ryan Stinnett
a6b737a57c Bug 1404197 - Disable RDM telem test on Windows. r=me
MozReview-Commit-ID: JndqAQ9LfoO
2017-10-03 22:09:12 -07:00
J. Ryan Stinnett
c1ae750289 Bug 1404088 - Hide RDM temporary tabs from WebExtensions. r=ochameau
RDM uses temporary tabs to move content around and into the tool's viewport.
This triggers events like `TabOpen` and `TabClose` for the temporary tab,
trigger unnecessary work, like alerting WebExtensions.

Avoid this noise for WebExtensions and others by absorbing these events.

Note that the _original_ browser tab is unaffected.  This only changes temporary
tabs RDM uses during the swapping process.

MozReview-Commit-ID: H8kBYBma6i9

--HG--
extra : rebase_source : 37150c7cb889ff64982f33f991a64fe50eacfd04
2017-09-29 17:14:32 -05:00
J. Ryan Stinnett
34fe967aaa Bug 1404088 - Add gBrowser to the browser property list. r=ochameau
MozReview-Commit-ID: fWPCkDe6Ve

--HG--
extra : rebase_source : ceb8afd71f735cc2f3776e3cba6deaa79fabaf70
2017-09-29 11:57:53 -05:00
J. Ryan Stinnett
63d0b7d4f1 Bug 1404088 - Standardize RDM's exposed browser properties. r=ochameau
MozReview-Commit-ID: KIykapQm5mP

--HG--
extra : rebase_source : f2250798916796c858fc981b9ebabac9f8d5f9cc
2017-09-28 18:47:24 -05:00
Wes Kocher
f4358f1539 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
Sebastian Hengst
ebc3375310 Backed out changeset 118ce2fecfca (bug 1383870) for failing devtools' devtools/client/inspector/test/browser_inspector_highlighter-cssshape_05.js. r=backout 2017-10-03 21:11:19 +02:00
Sebastian Hengst
c7fcba3e5e Backed out changeset 8b8f7f91765a (bug 1405339) because backed out bug 1383870 also touches shapes highlighter. r=backout 2017-10-03 21:10:19 +02:00
Sebastian Hengst
e8ee6d1554 Backed out changeset 5537f731d4ad (bug 1405339) 2017-10-03 21:09:18 +02:00
Tom Tromey
29262f9977 Bug 1405338 - change source-map reloading test to work with --repeat; r=jdescottes
MozReview-Commit-ID: BfLX8DT4aq7

--HG--
extra : rebase_source : 7ba0aab435e8022a55e1b2f622a720c24643d33c
2017-10-03 08:56:38 -06:00
sole
b5e8924a44 Bug 1383037 - Use only one debounce function in devtools. r=pbro
MozReview-Commit-ID: J9t90N1U2XY

--HG--
extra : rebase_source : 8c8383729e8079a01f5b432a008839986cc2ebc8
2017-10-03 11:03:19 +01:00
Gabriel Luong
d5f8d7ac33 Bug 1405339 - Part 2: Enable the CSS shapes highlighter. r=me 2017-10-03 13:21:01 -04:00
Mike Park
2d16e2e052 Bug 1405339 - Turn on CSS shapes highlighter by default for clip-path only. r=gl
MozReview-Commit-ID: DjhaIBdWuRY
2017-10-03 11:36:20 -04:00
abhinav
3ffa8c0b61 Bug 1398722 - Fix to prevent 'Edit Position' button from disappearing after modifying offset of element. r=jdescottes
MozReview-Commit-ID: H2n3TtIqagG

--HG--
extra : rebase_source : dfc264bc18084a006331585077edc24c01f2b03d
2017-09-25 01:42:19 +05:30
Nicolas Chevobbe
086aac9676 Bug 1403065 - Fix enumObjectProperties for exotic objects; r=bgrins,Oriol.
In the `enumProperties` function , we can pass some options to only retrieve
indexed or non indexed properties. The problem when doing this is that we were relying
on the value of a `length` property to get what's before (indexed) or after (non-indexed).
But if you have a plain object with a length property like `{length: 789}`,
and try to retrieve non-indexed properties, the function would return an empty ownProperties
object.

In this patch we make extra checks in the function to make sure we do return the expected
data to the client. A unit-test is added to ensure we don't regress.

MozReview-Commit-ID: FMCh9qnzeTT

--HG--
extra : rebase_source : 1adc606a59543ee1849a1311c5e36c1bf9eb6423
2017-09-26 12:02:20 +02:00
Brian Grinstead
d6ae944e92 Bug 1403244 - Do not grow height of the message repeat bubble;r=nchevobbe
MozReview-Commit-ID: KHTo8huomr6

--HG--
extra : rebase_source : 9a5dcd9789adae2d28ee0afd777315f69babdfcd
2017-10-02 09:00:13 -07:00
Darren M. OConnell
3d2bc688c6 Bug 1402397 - CamelCase React component files in /devtools/client/webconsole/new-console-output; r=pbro
MozReview-Commit-ID: JcsKS8w0Pec

--HG--
rename : devtools/client/webconsole/new-console-output/components/collapse-button.js => devtools/client/webconsole/new-console-output/components/CollapseButton.js
rename : devtools/client/webconsole/new-console-output/components/console-output.js => devtools/client/webconsole/new-console-output/components/ConsoleOutput.js
rename : devtools/client/webconsole/new-console-output/components/console-table.js => devtools/client/webconsole/new-console-output/components/ConsoleTable.js
rename : devtools/client/webconsole/new-console-output/components/filter-bar.js => devtools/client/webconsole/new-console-output/components/FilterBar.js
rename : devtools/client/webconsole/new-console-output/components/filter-button.js => devtools/client/webconsole/new-console-output/components/FilterButton.js
rename : devtools/client/webconsole/new-console-output/components/filter-checkbox.js => devtools/client/webconsole/new-console-output/components/FilterCheckbox.js
rename : devtools/client/webconsole/new-console-output/components/grip-message-body.js => devtools/client/webconsole/new-console-output/components/GripMessageBody.js
rename : devtools/client/webconsole/new-console-output/components/message.js => devtools/client/webconsole/new-console-output/components/Message.js
rename : devtools/client/webconsole/new-console-output/components/message-container.js => devtools/client/webconsole/new-console-output/components/MessageContainer.js
rename : devtools/client/webconsole/new-console-output/components/message-icon.js => devtools/client/webconsole/new-console-output/components/MessageIcon.js
rename : devtools/client/webconsole/new-console-output/components/message-indent.js => devtools/client/webconsole/new-console-output/components/MessageIndent.js
rename : devtools/client/webconsole/new-console-output/components/message-repeat.js => devtools/client/webconsole/new-console-output/components/MessageRepeat.js
rename : devtools/client/webconsole/new-console-output/components/message-types/console-api-call.js => devtools/client/webconsole/new-console-output/components/message-types/ConsoleApiCall.js
rename : devtools/client/webconsole/new-console-output/components/message-types/console-command.js => devtools/client/webconsole/new-console-output/components/message-types/ConsoleCommand.js
rename : devtools/client/webconsole/new-console-output/components/message-types/default-renderer.js => devtools/client/webconsole/new-console-output/components/message-types/DefaultRenderer.js
rename : devtools/client/webconsole/new-console-output/components/message-types/evaluation-result.js => devtools/client/webconsole/new-console-output/components/message-types/EvaluationResult.js
rename : devtools/client/webconsole/new-console-output/components/message-types/network-event-message.js => devtools/client/webconsole/new-console-output/components/message-types/NetworkEventMessage.js
rename : devtools/client/webconsole/new-console-output/components/message-types/page-error.js => devtools/client/webconsole/new-console-output/components/message-types/PageError.js
extra : rebase_source : 6756a5d363c191ac5ecd1a9bad077bf4bb0eaee7
2017-09-28 12:09:31 +02:00
Jan Odvarko
a424aad1f6 Bug 1404138 - Properly dispatch actions; r=nchevobbe
MozReview-Commit-ID: 2jMTXUzAvAh

--HG--
extra : rebase_source : 7e4de60a9b95314db59c571600931b64ea78412a
2017-10-03 12:42:04 +02:00
abhinav
a18ac575ce Bug 1403389 - Using double arrow splitter instead of single arrow splitter in dev-tools panels. r=jdescottes
MozReview-Commit-ID: 51mACt8sfji

--HG--
extra : rebase_source : b0d13279fdd90a2093a821fa1bce3ffaa8cdc2ad
2017-09-28 14:38:02 +05:30
Oriol Brufau
105a559cc8 Bug 1400297 - Increase color contrast for JSON Viewer and Netmonitor headers. r=Honza
MozReview-Commit-ID: DmdzPesJEo

--HG--
extra : rebase_source : c52b54dea22783f84298cff221f9d8ff4b5adf7c
2017-10-02 18:31:16 +02:00
Nicolas Chevobbe
307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Nicolas Chevobbe
320161a4ad Bug 1403895 - split main.js in mulitple files; r=ochameau.
This patch keeps the main.js file so  we don't have to change
consumer code that uses objects fom this file.

MozReview-Commit-ID: KhFoPPApE2L

--HG--
rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/constants.js
rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js
rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js
extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 17:29:55 +02:00
abhinav
6592d85eaa Bug 1398524 - Sort Request-Cookies,Response-Cookies in 'Cookies' tab and Query-String,Form-Params,JSON in Params tab. r=Honza
MozReview-Commit-ID: KE2plx3j9Qr

--HG--
extra : rebase_source : 219ba067da783e4d9bb000f14631929cb05b7478
2017-09-17 03:16:41 +05:30
Wes Kocher
83fd890d27 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher
382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Jason Laster
196387522f Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes
--HG--
extra : source : ec4e1ade8cf2d75ef475aa62e91620c17ebde14f
2017-10-02 10:39:00 -04:00
Wes Kocher
4f6fbf7f5d Backed out 2 changesets (bug 1404837, bug 1404787) for build bustage a=backout
Backed out changeset ec4e1ade8cf2 (bug 1404837)
Backed out changeset 5e41366119a2 (bug 1404787)

MozReview-Commit-ID: 8fHMqSdDxzh
2017-10-02 11:35:23 -07:00
Jason Laster
5c760977ba Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes 2017-10-02 10:39:00 -04:00
Gabriel Luong
d9fd1dedb2 Backed out changeset fa608874b0f3 because of Bug 1404904. r=backout 2017-10-02 10:11:51 -04:00
Tim Nguyen
a924061866 Bug 1331163 - Fix devtools and eslint bustage in a CLOSED TREE. r=bustage
MozReview-Commit-ID: FiC7VUbH39C
2017-10-02 12:48:07 +01:00
Tim Nguyen
920078d777 Bug 1331163 - Followup: fix formatting of closing brace. r=me
MozReview-Commit-ID: 1rTgfVR5GrR
2017-10-02 12:06:02 +01:00
Towkir Ahmed
7c7967714b Bug 1331163 - Refresh button in DOM panel is now an icon; r=ntim
MozReview-Commit-ID: LLQtaTZ7oex
2017-10-02 12:03:40 +01:00
Oriol Brufau
af8bf2c366 Bug 1402460 - Let row selection styles have more precedence than row hovering r=Honza
MozReview-Commit-ID: G5gY17soxxP

--HG--
extra : rebase_source : d1004eb6a2a271dd62d96a126fbf89ecf559e3b1
2017-09-29 23:24:16 +02:00
Jan Odvarko
b8af9874fd Bug 1402262 - Switch from webconsole.xhtml to webconsole.html; r=nchevobbe
MozReview-Commit-ID: FZTxze02tNg

--HG--
rename : devtools/client/webconsole/webconsole.xhtml => devtools/client/webconsole/webconsole.html
extra : rebase_source : 7d5884d3ffb6c7f6342f8f8bacad87ec4b08b419
2017-10-02 10:17:17 +02:00
Tom Tromey
bbec95761e Bug 1401563 - import bundles from devtools-source-map 0.14.2; r=bgrins
MozReview-Commit-ID: BCCfazQv0xv

--HG--
extra : rebase_source : 23a7299372da1fd9f60c3a29ff6d12040cc5b88c
2017-09-27 10:11:14 -06:00
Tom Tromey
762c2f58dd Bug 1403610 - update to source-map 0.6.1; r=bgrins
Import the source-map 0.6.1 bundle.

MozReview-Commit-ID: AkVLlBJRD1l

--HG--
extra : rebase_source : 882b2ef4b2c3b2eac8733f408a4ce7a6aaa403d2
2017-09-27 09:39:44 -06:00
Wes Kocher
ef10ff52f7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Al9lnfQMbTU
2017-09-29 14:48:58 -07:00
Wes Kocher
eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Brian Grinstead
81d6b4b0dd Bug 1402237 - Always scroll to bottom when the first messages are rendered;r=nchevobbe
MozReview-Commit-ID: B3YY3Tvwk5A

--HG--
extra : rebase_source : 7e0621d9cb98a2956139316f0f92b6a3dcff2a63
2017-09-29 09:50:17 -07:00
J. Ryan Stinnett
abb935a5b5 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir

--HG--
extra : rebase_source : 12648e919de27465f768206a15200d4d3a2d92a5
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett
efbf4624b2 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : d38f3fa09c8e187440be716e993d42c88a10da2a
2017-09-27 16:53:23 -05:00