Граф коммитов

289 Коммитов

Автор SHA1 Сообщение Дата
Oriol Brufau d98c7c3a6b Bug 1457513 - Let JSON Viewer display unmodified headers r=Honza
MozReview-Commit-ID: R54uNEefvw

--HG--
extra : rebase_source : 98f2feff9054702998eb6b4c1325fb514bdeaa45
2018-04-27 19:58:25 +02:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Brian Grinstead a977789695 Bug 1378108 - Part 2 - Remove Firebug theme;r=gl
MozReview-Commit-ID: 930pvUVLsiP

--HG--
rename : devtools/client/themes/images/firebug/read-only.svg => devtools/client/themes/images/read-only.svg
extra : rebase_source : e4b1609bff47753d01d4c21ceaca993ce8d93071
2018-04-04 12:32:54 -07:00
Brian Grinstead cb65a965a1 Bug 1378108 - Part 1 - Remove non-variable css selector overrides for Firebug theme;r=gl
MozReview-Commit-ID: 6WfdDVs1EKg

--HG--
extra : rebase_source : f5eb20b62644506abd96afe47c0ab7dd6eca7ee4
2018-04-04 12:32:39 -07:00
Peter Van der Beken f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Gijs Kruitbosch 4d7458825a Bug 1442840, r=ckerschb
--HG--
extra : rebase_source : b5aca0bb6d138b612f33befd419473221e37c97d
2018-03-08 20:46:13 +00:00
Gijs Kruitbosch a9e1b0e919 Bug 1442840, r=bgrins
--HG--
extra : rebase_source : dc87379c22ac47eee13e1ffec6dbff67afb6e2b0
2018-03-08 20:45:00 +00:00
Oriol Brufau 4c531dcdc3 Bug 1447012 - Use waitForNewTab instead of progress listener in addJsonViewTab r=Honza
MozReview-Commit-ID: KInGiOtMLex

--HG--
extra : rebase_source : 42e1b32bdfd7bf53fef75bebbc8373c8788509a4
2018-03-19 02:55:17 +01:00
Tooru Fujisawa 1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Nicolas Chevobbe 61e732837c Bug 1440388 - Adapt JSONViewer to the new Reps bundle; r=Honza.
We don't populate the href attribute on links anymore and reps require
that we pass an openLink function to handle them.
This had an impact on the test where we are testing those links.

MozReview-Commit-ID: Hj2PBX79HZu

--HG--
extra : rebase_source : 1602504731c5a3be4379f9f6631aaf492c7d6daf
2018-03-09 15:30:40 +01:00
Oriol Brufau 3744073b0f Bug 1445801 - Remove unsafe CPOWs in JSON Viewer tests r=jryans
MozReview-Commit-ID: L4B2Zc0dXpn

--HG--
extra : rebase_source : 8058a15a6d0be519a4aab1f72f2bb5e27a6b253b
2018-03-15 19:02:43 +01:00
shindli 9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Kris Maglione 83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Michael Ratcliffe 73ac8a3582 Bug 1440609 - Uncouple DEBUG_JS_MODULES and DEBUG in devtools code r=jryans
MozReview-Commit-ID: 6qiu3D5eYyn

--HG--
extra : rebase_source : e39302f3f8fba26144c540e9f4b50ab7321a714c
2018-03-13 12:49:39 +00:00
Alexandre Poirot bcf6facc3c Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Kris Maglione 3eba816ee8 Bug 1443964: Part 1 - Fix most tests that rely on add-on shims. r=mconley
browser_google_behavior.js is the only remaining exception.

MozReview-Commit-ID: GA15P7f0KBv

--HG--
extra : rebase_source : 7cb70cb6108abc6746a9261922bd2826bb11a9b7
2018-03-07 14:35:16 -08:00
J. Ryan Stinnett d56f6a7b1f Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : 8c4d77c37cacdae36d17102b4dbf1222ec1fbd8a
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett c6cf60a39f Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM

--HG--
extra : rebase_source : e70b29153ef8d96d7026bc3abd0fb0d2306849bc
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett 724f46419e Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : c6f6cd75a9c1a5349f8406f337c9c39f2f755dab
2018-03-02 19:14:05 -06:00
Cosmin Sabou 0bc675f657 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)

--HG--
rename : devtools/client/shared/test/shared-head.js => devtools/client/framework/test/shared-head.js
rename : devtools/client/shared/test/shared-redux-head.js => devtools/client/framework/test/shared-redux-head.js
rename : devtools/client/shared/test/frame-script-utils.js => devtools/client/shared/frame-script-utils.js
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett a5ba5726ef Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs

--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
extra : rebase_source : cb18b88016df8bc7fba1620534beed473ebb406a
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett 7d61e3b235 Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM

--HG--
extra : rebase_source : d00f578d7c9078088be8c33ad80eb30a59d6a6e8
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett 5ff93bf9fd Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : 58e35632f0a82b0d7e880b0297306500097676e3
2018-03-02 19:14:05 -06:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Christoph Kerschbaumer 494f074b53 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
extra : intermediate-source : 2fa11c525da3d0c7ca58a593241c1902f2849528
2018-02-01 14:07:01 +01:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Mike Ratcliffe dd3348993e Bug 1416824 - Patch 1: React 16 Require statements and paths r=nchevobbe
MozReview-Commit-ID: 7BDgpYfLZLH

--HG--
extra : rebase_source : 664f6cc8a95fdf15cfb64f7cdfc18feec2f53339
2018-02-07 16:31:57 +00:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Andreea Pavel 2d6ebc39d2 Backed out 3 changesets (bug 1416824) for mochitest chrome failures at devtools/client/shared/components/test/mochitest/test_notification_box_01.html on a CLOSED TREE
Backed out changeset dc4675fd3257 (bug 1416824)
Backed out changeset b2aebf1d7ee7 (bug 1416824)
Backed out changeset f52006e2a1dc (bug 1416824)
2018-02-07 21:06:58 +02:00
Mike Ratcliffe 6566d3e1c2 Bug 1416824 - Patch 1: React 16 Require statements and paths r=nchevobbe
MozReview-Commit-ID: 7BDgpYfLZLH

--HG--
extra : rebase_source : 2984a5b02b57533c1f7e9c98fae6201b3687cfaf
2018-02-07 16:31:57 +00:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Oriol Brufau 62eb995d90 Bug 1433655 - Allow JSON Viewer to change expandedNodes state. r=Honza
MozReview-Commit-ID: C2Db2U2KQKp

--HG--
extra : rebase_source : 2fd1d921bd8726afdc1c416ca2ab6a8b16b49434
2018-01-28 22:50:16 +01:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Gabriel Luong 49de74e595 Bug 1407347 - Prevent iframes in the inspector sidebar from rerendering when a sidebar tab is removed. r=Honza 2018-01-29 13:01:54 -05:00
Oriol Brufau 9036cddea3 Bug 1430925 - Avoid JSON Viewer test timeouts when RequireJS fails r=Honza
MozReview-Commit-ID: AEawTHPW2Fn

--HG--
extra : rebase_source : 73217a621980222103fca713455d78a5dafa0d4e
2018-01-15 03:45:36 +01:00
Oriol Brufau faae79a49a Bug 1429271 - Use 'is' to compare so that the obtained value is logged when the assert fails. r=Honza
MozReview-Commit-ID: 6A87wJfrC8U

--HG--
extra : rebase_source : 74248e33d91342a3bc425086adb1029c1d462040
2018-01-10 16:33:14 +01:00
Oriol Brufau ff98f5e44d Bug 1426094 - Add test for URL linkification in the JSON Viewer r=Honza
MozReview-Commit-ID: Xbn28TLcMu

--HG--
extra : rebase_source : d2249d7fc9ddc392b3b907b3e9b9b9b938939e2f
2017-12-22 17:41:09 +01:00
Oriol Brufau 04c1b90604 Bug 1417039 - Do not defer loading JSON Viewer. r=Honza
MozReview-Commit-ID: BtnH41N1w8P

--HG--
extra : rebase_source : 7c6e416f9130fbd9bb6deff2bee9a24fc1a937c0
2017-11-28 16:28:21 +01:00
shindli 7f45cb7cc0 Backed out changeset 65334d5e3012 (bug 1417039) for frequently failing in devtools/client/jsonview/test/browser_jsonview_chunked_json.js (Bug 1421520) r=backout a=backout
--HG--
extra : amend_source : 4c4909694bc4f4428278a55bdd076e5135d2da89
2017-11-30 12:22:01 +02:00
shindli 4ea5b9a4ad Backed out changeset d0ed7858ae96 (bug 1421631) so that bug 1417039 can be backedout r=backout a=backout 2017-11-30 12:19:29 +02:00
Oriol Brufau f3f7e31981 Bug 1421631 - Move viewer-config.js to the end of the body. r=Honza
MozReview-Commit-ID: KY9WraNVQIY

--HG--
extra : rebase_source : 9a4965ed130e3a04be54db87790dde01ee6005bb
2017-11-28 20:10:54 +01:00
Oriol Brufau 74915a3cf3 Bug 1417039 - Do not defer loading JSON Viewer. r=Honza
MozReview-Commit-ID: BtnH41N1w8P

--HG--
extra : rebase_source : 354a9159e9d398b6bc5d66318ebe14bc4e1d0e16
2017-11-28 16:28:21 +01:00
Oriol Brufau d61a4e90dc Bug 1419471 - Cleanup after removing UTF-16 support. r=tromey
MozReview-Commit-ID: 39N2Sb9G0Ab

--HG--
extra : rebase_source : 18420552665e8bea5a62fc27c7e85d42c393663e
2017-11-24 21:43:49 +01:00
Oriol Brufau 648ac7cb6d Bug 1420451 - Stop using chrome code to copy text in JSON Viewer. r=Honza
MozReview-Commit-ID: HnEhsDwWRWU

--HG--
extra : rebase_source : 136f0b3c0c66e52260a11f689473da426fe9a98e
2017-11-24 17:50:22 +01:00
Oriol Brufau 87ad2bcd7e Bug 1419416 - Remove UTF-16 support in JSON Viewer. r=tromey
MozReview-Commit-ID: GIE3Q5j3wZm

--HG--
extra : rebase_source : 50afde4502aaf247d931d2cab1f6f75a2db768a9
2017-11-21 15:09:14 +01:00
Oriol Brufau 3b6b25c474 Bug 1418808 - Call QueryInterface when instantiating a JSON Viewer XPCOM class. r=Honza
MozReview-Commit-ID: 9kyPAjv7MCV

--HG--
extra : rebase_source : 7c41e153b72fa2925c615e30bf6b6f6692368c10
2017-11-17 17:07:19 +01:00
Michael Ratcliffe c351c5f556 Bug 1418320 - JSON Viewer: Split HeadersToolbar, JsonToolbar and TextToolbar out to their own files r=Honza
MozReview-Commit-ID: KdGLYV4rHB9

--HG--
extra : rebase_source : b0a9e75236d2b840dc51df00097b364bf125bb6f
2017-11-17 13:59:12 +00:00
Michael Ratcliffe 532fb7bedc Bug 1418250 - JSON Viewer to ES6 Classes, prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: Cy6Tp71zTwk

--HG--
extra : rebase_source : 64bc9159cc10c55e7837053b981c595ceeecce22
2017-11-17 10:28:07 +00:00
Oriol Brufau cac2f457e4 Bug 1417035 - Stop using <plaintext> in JSON Viewer r=Honza
MozReview-Commit-ID: ADGZiyMTaAL

--HG--
extra : rebase_source : 06c95da34e6ffa0b23291be30aed2d5463e6f62c
2017-11-14 01:34:21 +01:00
Michael Ratcliffe 13b7e232cc Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ

--HG--
extra : rebase_source : f3864d13d36802914171581f9f60351cf71aad2f
2017-11-03 13:34:41 +00:00
Narcis Beleuzu 0a20dc62d7 Backed out changeset 9029ee56b1ad (bug 1413860) for mochitest clipboard failures on browser_jsterm_selfxss.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 905d4c8798d1e1947f716d350fd199ebd0d2ae79
2017-11-13 14:16:40 +02:00
Michael Ratcliffe e2ba0b4bd2 Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ

--HG--
extra : rebase_source : b916d948f3712bf4f09e50436cbdd0cf0f12afb4
2017-11-03 13:34:41 +00:00
Oriol Brufau fc26dedf33 Bug 1415919 - Improve how JSON Viewer scrolls selected row into view. r=Honza
MozReview-Commit-ID: 2OV9IU6dmcp

--HG--
extra : rebase_source : 887be7a5e096a340d864ad4a7682e7a62dae953b
2017-11-09 19:23:16 +01:00
Oriol Brufau aa981208e3 Bug 1415728 - Change JSON Viewer's selected row on keydown instead of on keyup. r=Honza
MozReview-Commit-ID: 3qXc1VxM2Rc

--HG--
extra : rebase_source : 2ee0e7f667a4fbb972a4a2667838c050310db287
2017-11-09 01:16:36 +01:00
Oriol Brufau 3969005589 Bug 1366531 - convert uses of defer to 'new Promise' in client/jsonview r=nchevobbe
MozReview-Commit-ID: InGMTAQ0X2R

--HG--
extra : rebase_source : f74230475add8631c936958877b93c1826067d55
2017-11-09 00:07:44 +01:00
Oriol Brufau 8355f3f7d8 Bug 1400963 - Scroll selected row into view in JSON Viewer. r=Honza
MozReview-Commit-ID: I7QuuGzHaiA

--HG--
extra : rebase_source : 8d7696ce1e60e318518371fd65390dfd5f01ca37
2017-11-01 03:22:48 +01:00
Oriol Brufau dc21ccf9d7 Bug 1412074 - Test JSONView.encoding in browser_jsonview_encoding.js r=Honza
MozReview-Commit-ID: 17dTkicuaEx

--HG--
extra : rebase_source : cb6faa8043ab30a0acebf1ac902d35f9aa502267
2017-10-26 21:00:35 +02:00
Oriol Brufau 65963703d3 Bug 1412071 - Use --toolbarbutton-border-color instead of removed --toolbarbutton-border. r=Honza
MozReview-Commit-ID: Ffk11BvUSo6

--HG--
extra : rebase_source : 9663d9ac1517126a82a0faddbc830f6e41c6521a
2017-10-26 21:44:22 +02:00
Sebastian Hengst d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Oriol Brufau 3df49e38ba Bug 1388335 - Load JSON Viewer for all application/*+json content types. r=Honza
MozReview-Commit-ID: CPKRDm6q6yw

--HG--
extra : rebase_source : e33ecab98fdf002d4bb1186760944bd995162c6d
2017-10-23 01:11:22 +02:00
Oriol Brufau 540f476007 Bug 1377677 - Remember expanded objects when switching panel in JSON Viewer r=Honza
MozReview-Commit-ID: AB9SUV2FY8s

--HG--
extra : rebase_source : 3391bc5bb59451a4a66ecad355bd6ea7ce9a045a
2017-10-24 03:55:07 +02:00
Ben Kelly 2e83d9fd9f Bug 1400655 P2 Add a mochitest to verify the json viewer is shown for json intercepted by a service worker. r=jryans 2017-10-26 11:08:26 -04:00
Sebastian Hengst 68e0f7c499 Backed out changeset 574b5b042c3c (bug 1400655)
--HG--
extra : rebase_source : 1c84cbb87257ebb968142a3640641b8875763ffb
2017-10-26 00:24:51 +02:00
Ben Kelly a8b8c6f790 Bug 1400655 P2 Add a mochitest to verify the json viewer is shown for json intercepted by a service worker. r=jryans 2017-10-25 17:32:04 -04:00
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Aleksander Gurin 0485f5a283 Bug 1408143 - JSON Viewer: navigable (clickable) links (enhancement proposal). r=Honza 2017-10-12 23:05:46 +03:00
Oriol Brufau 67cde17efe Bug 1405456 - Update JSON Viewer theme when the devtools theme changes. r=Honza
MozReview-Commit-ID: F4tJRCDGfQn

--HG--
extra : rebase_source : bc89deda4c022a1e92f78d11268b157e254ec22a
2017-10-15 18:45:41 +02:00
Michael Ratcliffe b447b85ab8 Bug 1399493 - Upgrade to React 15.6.1 and include dev & prod version r=jdescottes,jlast
- Removed devtools.react.dev pref
- Changed condition that cause react dev files to be loaded (back to what they were before my change):
  - .mozconfig contains `ac_add_options --enable-debug-js-modules`
  - .mozconfig contains ac_add_options --enable-debug
- Successful try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6182dd41e4d611b6e32a7d6efd16991acd256a2f

MozReview-Commit-ID: JpvL8cRxPcL

--HG--
rename : devtools/client/shared/vendor/REACT_UPGRADING => devtools/client/shared/vendor/REACT_UPGRADING.md
extra : rebase_source : 0fbd71ce502e69b0621c1d7edbac2c2a336d483f
2017-09-14 13:32:06 +01:00
Oriol Brufau 6a2f7418ce 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 : 1f543beaabc92fda63726485076f05f78283771c
2017-09-23 20:10:04 +02:00
Phil Ringnalda 89e75933a2 Backed out changeset 469b7b77071c (bug 1396286) for failures in browser_jsonview_encoding.js
MozReview-Commit-ID: EeDZAnOOmPK

--HG--
rename : devtools/client/jsonview/test/browser_jsonview_encoding.js => devtools/client/jsonview/test/browser_jsonview_utf8.js
2017-10-04 22:45:57 -07:00
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
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
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
Dan Epstein b9e816d060 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK

--HG--
rename : devtools/client/shared/components/autocomplete-popup.js => devtools/client/shared/components/AutoCompletePopup.js
rename : devtools/client/shared/components/frame.js => devtools/client/shared/components/Frame.js
rename : devtools/client/shared/components/h-split-box.js => devtools/client/shared/components/HSplitBox.js
rename : devtools/client/shared/components/notification-box.css => devtools/client/shared/components/NotificationBox.css
rename : devtools/client/shared/components/notification-box.js => devtools/client/shared/components/NotificationBox.js
rename : devtools/client/shared/components/search-box.js => devtools/client/shared/components/SearchBox.js
rename : devtools/client/shared/components/sidebar-toggle.css => devtools/client/shared/components/SidebarToggle.css
rename : devtools/client/shared/components/sidebar-toggle.js => devtools/client/shared/components/SidebarToggle.js
rename : devtools/client/shared/components/stack-trace.js => devtools/client/shared/components/StackTrace.js
rename : devtools/client/shared/components/tree.js => devtools/client/shared/components/Tree.js
rename : devtools/client/shared/components/splitter/draggable.js => devtools/client/shared/components/splitter/Draggable.js
rename : devtools/client/shared/components/splitter/split-box.css => devtools/client/shared/components/splitter/SplitBox.css
rename : devtools/client/shared/components/splitter/split-box.js => devtools/client/shared/components/splitter/SplitBox.js
rename : devtools/client/shared/components/tabs/tabbar.css => devtools/client/shared/components/tabs/TabBar.css
rename : devtools/client/shared/components/tabs/tabbar.js => devtools/client/shared/components/tabs/TabBar.js
rename : devtools/client/shared/components/tabs/tabs.css => devtools/client/shared/components/tabs/Tabs.css
rename : devtools/client/shared/components/tabs/tabs.js => devtools/client/shared/components/tabs/Tabs.js
rename : devtools/client/shared/components/tree/label-cell.js => devtools/client/shared/components/tree/LabelCell.js
rename : devtools/client/shared/components/tree/object-provider.js => devtools/client/shared/components/tree/ObjectProvider.js
rename : devtools/client/shared/components/tree/tree-cell.js => devtools/client/shared/components/tree/TreeCell.js
rename : devtools/client/shared/components/tree/tree-header.js => devtools/client/shared/components/tree/TreeHeader.js
rename : devtools/client/shared/components/tree/tree-row.js => devtools/client/shared/components/tree/TreeRow.js
rename : devtools/client/shared/components/tree/tree-view.css => devtools/client/shared/components/tree/TreeView.css
rename : devtools/client/shared/components/tree/tree-view.js => devtools/client/shared/components/tree/TreeView.js
extra : rebase_source : 5ef89b4169dda156a8160d4d21655147f4d9da11
2017-09-27 01:12:13 -04:00
abhinav 7dbedca98e Bug 1400404 - Adding bool and number to list of PropTypes in Json-Panel. r=Honza
MozReview-Commit-ID: cTrHWYFtwW

--HG--
extra : rebase_source : 49ba21b017f436f2efab17e366fb204529bf5ec1
2017-09-22 13:21:07 +05:30
Oriol Brufau dfe71a8ffa Bug 1384572 - Prevent JSON Viewer from loading in iframes. r=Honza
MozReview-Commit-ID: Cj79fMt5oAO

--HG--
extra : rebase_source : d129395d6029d3b86730e3854bef723efb48a923
2017-09-20 00:01:21 +02:00
Jan Odvarko 89b969eb52 Bug 1377668 - Avoid invalid object by using noGrip option; r=nchevobbe
MozReview-Commit-ID: IiH5o52tTgS

--HG--
extra : rebase_source : 274b843ef8d0cdbeda35fccf5b1e50897c14d48b
2017-07-06 16:25:50 +02:00
Sebastian Hengst c07b631f82 Backed out changeset 52fa1b99d27c (bug 1377668) on request from Honza. r=backout 2017-09-19 12:31:30 +02:00
Jan Odvarko e045a4741a Bug 1377668 - Avoid invalid object by using noGrip option; r=nchevobbe
MozReview-Commit-ID: IiH5o52tTgS

--HG--
extra : rebase_source : f29e9231fd793eda0ce2378eae10def27d7fc336
2017-07-06 16:25:50 +02:00
abhinav 101eadf48e Bug 1380828 - Hide 'Pretty Print' button in 'Raw Data' tab if json is invalid. r=Honza
MozReview-Commit-ID: 3JbX74pW6W0

--HG--
extra : rebase_source : 6ebee32e288b5d02b96fc01b393f2e64a6c6820d
2017-09-15 23:56:11 +05:30
Oriol Brufau 38624ed0af Bug 1395313 - Let JSON Viewer ignore the BOM. r=Honza
--HG--
extra : source : 0c0dfeb3692a60f3e8f62ee2ee0235fcb5607512
2017-09-12 06:15:00 -04:00
Wes Kocher f84d70ea8f Backed out changeset 0c0dfeb3692a (bug 1395313) for maybe causing browser_bug451286.js failures a=backout CLOSED TREE
MozReview-Commit-ID: 5WybzB8cgmJ
2017-09-12 15:24:14 -07:00
Oriol Brufau bc513ab7cb Bug 1395313 - Let JSON Viewer ignore the BOM. r=Honza 2017-09-12 06:15:00 -04:00
Gabriel Luong 1b014ccabc Bug 1391003 - Use the new photon line selection and hover background colors in devtool. r=bgrins 2017-09-01 10:47:11 -04:00
Oriol Brufau a1f7ac5069 Bug 1328008 - Stop collapsing TreeView nodes when clicking a value. r=Honza 2017-08-30 07:27:00 -04:00
Chung-Sheng Fu e5b80e9a8f Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm
MozReview-Commit-ID: ArhSHKPYOr8

--HG--
extra : rebase_source : 888f7ce8f9db809ad5abbe6340af74e9dfb1d73b
2017-06-08 17:52:46 +08:00
Sebastian Hengst 2e163c99b1 Backed out changeset 1bfbae351dd7 (bug 863246) 2017-08-25 16:43:44 +02:00
Chung-Sheng Fu bb279d6d5e Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm
MozReview-Commit-ID: ArhSHKPYOr8

--HG--
extra : rebase_source : b0cf8d159ba6bfa6e7bcd9528ae2f9851185ac30
2017-06-08 17:52:46 +08:00
Alexandre Poirot a8c68f2955 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
  Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
  http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true&regexp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js

MozReview-Commit-ID: DGN5ae68wtn

--HG--
extra : rebase_source : 57602d89b0bcc1c905bee7723e30f87fa434c6d9
2017-08-08 15:24:04 +02:00
Nicolas Chevobbe 4d97701185 Bug 1380790 - devtools reps: update bundle to v0.10.0; r=bgrins
This also fixes a few tests that were failing due to changes
in how we now render arrays and objects in tiny mode.

MozReview-Commit-ID: 9JRjDQQ46FA

--HG--
extra : rebase_source : 7f482505647eedbe984f6e2c9efed8c26254fc07
2017-07-25 17:52:38 +02:00
Alexandre Poirot 0bd9663534 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E

--HG--
extra : rebase_source : 600e747ef6f902faee6c966e49d8cbbb304be873
2017-07-13 15:33:38 +02:00
Carsten "Tomcat" Book f4926ef5dc Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Alexandre Poirot 80498fc6b9 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E

--HG--
extra : rebase_source : 600e747ef6f902faee6c966e49d8cbbb304be873
2017-07-13 15:33:38 +02:00
Oriol a555a196a6 Bug 1375254 - Make JSON Viewer display primitive values using Reps. r=Honza 2017-07-13 14:47:00 -04:00
Oriol 82ad746859 Bug 1316393 - Circumvent CSP base-uri restriction in JSON Viewer. r=Honza 2017-06-22 14:49:00 -04:00
Oriol b46f70487e Bug 1248380 - Wrap long lines in Raw Data view. r=Honza 2017-06-21 16:54:00 -04:00