Commit Graph
151 Commits
Author SHA1 Message Date
Oriol Brufau d341b2417d Bug 1328008 - Stop collapsing TreeView nodes when clicking a value. r=Honza 2017-08-30 07:27:00 -04:00
Chung-Sheng Fu 93a9d33793 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
2017-06-08 17:52:46 +08:00
Sebastian Hengst cd917df61c Backed out changeset 1bfbae351dd7 (bug 863246) 2017-08-25 16:43:44 +02:00
Chung-Sheng Fu 2dc23f9095 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
2017-06-08 17:52:46 +08:00
Alexandre Poirot 3d76320218 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
2017-08-08 15:24:04 +02:00
Nicolas Chevobbe 97c62ce736 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
2017-07-25 17:52:38 +02:00
Alexandre Poirot d44493c928 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Carsten "Tomcat" Book 362f9cf026 Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Alexandre Poirot b55685c1b5 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Oriol f9b5e71f51 Bug 1375254 - Make JSON Viewer display primitive values using Reps. r=Honza 2017-07-13 14:47:00 -04:00
Oriol 6e9afab12f Bug 1316393 - Circumvent CSP base-uri restriction in JSON Viewer. r=Honza 2017-06-22 14:49:00 -04:00
Oriol 2be6e43ca1 Bug 1248380 - Wrap long lines in Raw Data view. r=Honza 2017-06-21 16:54:00 -04:00
Oriol d5e87c0374 Bug 1370139 - Escape slashes in TreeView paths. r=Honza 2017-06-20 05:27:00 -04:00
Oriol 36099beb84 Bug 1370443 - Do not hide the summary when expanding an empty object in JSON Viewer. r=Honza 2017-06-15 07:30:00 -04:00
Oriol 69f69b6f43 Bug 1373765 - Move jsonViewInitialized into JSONView.initialized. r=Honza 2017-06-16 11:31:00 -04:00
Oriol 8f1f1b3038 Bug 1373768 - Use Services.wm instead of getService(Ci.nsIWindowMediator). r=Honza 2017-06-16 11:35:00 -04:00
Oriol 856b842289 Bug 1360957 - Only attempt to load react-dev.js if it exists. r=Honza 2017-06-03 14:58:00 -04:00
Wes Kocher bf35a50fef Backed out changeset aa7a23344ca4 (bug 1370139) for failures in browser_dom_array.js a=backout
MozReview-Commit-ID: F3Z6dIwwWrB
2017-06-13 10:52:35 -07:00
Oriol b7df4f06eb Bug 1370139 - Escape slashes in TreeView paths. r=Honza 2017-06-05 20:31:00 -04:00
Oriol 0ce09f6410 Bug 1369159 - Do not reuse the chrome window when saving in JSON Viewer. r=Honza 2017-06-01 07:04:00 -04:00
Oriol a9a26243b6 Bug 1368605 - Add various tests for the JSON Viewer. r=Honza 2017-05-31 06:42:00 -04:00
Oriol 0f0c20980b Bug 1368899 - Refactor the JSON Viewer stream converter to avoid quirks mode. r=Honza 2017-05-30 20:23:00 -04:00
Oriol 93752d0a7b Bug 1367894 - Refactor the JSON Viewer stream converter. r=Honza 2017-05-25 14:04:00 -04:00
Oriol dd27c1402c Bug 1366239 - Display the raw JSON before loading JSON Viewer. r=Honza 2017-05-19 08:03:00 -04:00
Oriol 92e7b375fb Bug 1364082 - Improve test about file save in JSON Viewer. r=Honza 2017-05-16 03:46:00 -04:00
Oriol c877bebbc5 Bug 1364860 - Avoid horizontal scrollbar in JSON Viewer. r=Honza 2017-05-15 04:13:00 -04:00
Oriol 824edf4b3b Bug 1327784 - Let JSON Viewer save using standard saving methods from contentAreaUtils.js. r=honza 2017-05-10 09:48:00 +02:00
Oriol dfdd816a4d Bug 1362504 - Let JSON Viewer save with original content type. r=Honza 2017-05-08 08:05:00 -04:00
Carsten "Tomcat" Book 7734d5078f Backed out changeset dd31968cb8d7 (bug 1327784) for eslint failure 2017-05-10 15:38:14 +02:00
Oriol 35f8f5f0c0 Bug 1327784 - Let JSON Viewer save using standard saving methods from contentAreaUtils.js. r=honza 2017-05-08 08:43:00 +02:00
Oriol 1b35d6d2e6 Bug 1363226 - Remove resize event listeners in JSON Viewer and use CSS instead. r=Honza 2017-05-08 16:38:00 -04:00
Oriol 9fcabff43d Bug 1362268 - Get rid of title in JSON Viewer because produced ugly filename when saving. r=Honza 2017-05-04 20:20:00 -04:00
Oriol 74d54d706a Bug 1349437 - Add "save as" support for JSON Viewer. r=honza
Based on https://github.com/mozilla/pdf.js/commit/04599bc4
2017-05-03 08:09:00 +02: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
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Wes Kocher 197a1c4128 Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Ryan VanderMeulen 2769b029e6 Bug 1353736 - Fix whitespace and line wrapping issues. r=eslint 2017-04-12 12:10:41 -04:00
Christoph Kerschbaumer 0ca805df56 Bug 1353736 - Add regression test for JSON viewer after updating triggeringPrincipal. r=gijs 2017-04-12 14:52:37 +02:00
Jan Odvarko 405eeb102f Bug 1353006 - Stop using sdk/window/utils in JSONViewer; r=jryans
MozReview-Commit-ID: 5znvDLtUjWO
2017-04-05 15:00:31 +02:00
Jan Odvarko 289c4a3dc4 Bug 1353006 - Stop using sdk/clipboard in JSONViewer; r=jryans
MozReview-Commit-ID: AQXsf3DQdS9
2017-04-05 14:57:49 +02:00
Jan Odvarko e16e74839d Bug 1353006 - Stop using sdk/dom/events in JSONViewer; r=pbro
MozReview-Commit-ID: CxpW8aysaSJ
2017-04-05 14:35:16 +02:00
Christoph Kerschbaumer ff1c387a50 Bug 1352778 - Do not reset triggeringPrincipal but only principalToInherit within loadInfo when forced to. r=gijs 2017-04-03 20:06:53 +02:00
Tim Nguyen f9bdd0cbaa Bug 1350234 - Clean up network monitor CSS. r=Honza
MozReview-Commit-ID: 6wTU8sg54oe
2017-04-03 18:04:29 +02:00
Andrew McCreight 0bda64d90f Bug 1351385, part 4 - Move the JSON sniffer out of its own file. r=Honza
The sniffer is always run. By moving it out of its own file we can
avoid importing the devtools loader system at startup, which uses a
number of compartments.

MozReview-Commit-ID: IoMIzZeRDo2
2017-03-28 11:32:34 -07:00
Andrew McCreight 03eca045a5 Bug 1351385, part 3 - Rename stuff for the JSON sniffer. r=Honza
This is in preparation for moving it to converter-observer.js.

MozReview-Commit-ID: 8TsIvQsOqoc
2017-03-28 09:20:02 -07:00
Andrew McCreight ce84001246 Bug 1351385, part 2 - Lazily load JsonViewService. r=Honza
This avoids triggering the devtools loading system just to register a
factory.

MozReview-Commit-ID: BVMfCRlG9kv
2017-03-28 09:13:05 -07:00
Andrew McCreight 435f0fe593 Bug 1351385, part 1 - Rename JSON viewer things in preparation for a move to another file. r=Honza
MozReview-Commit-ID: 1jj5VEELkrv
2017-03-28 08:45:03 -07: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