Commit Graph
44 Commits
Author SHA1 Message Date
Jan Odvarko 4625d1cfca Bug 1377668 - Avoid invalid object by using noGrip option; r=nchevobbe
MozReview-Commit-ID: IiH5o52tTgS
2017-07-06 16:25:50 +02:00
Sebastian Hengst e10cc355b3 Backed out changeset 52fa1b99d27c (bug 1377668) on request from Honza. r=backout 2017-09-19 12:31:30 +02:00
Jan Odvarko b6addaf8a8 Bug 1377668 - Avoid invalid object by using noGrip option; r=nchevobbe
MozReview-Commit-ID: IiH5o52tTgS
2017-07-06 16:25:50 +02:00
abhinav ee9a13d54b Bug 1380828 - Hide 'Pretty Print' button in 'Raw Data' tab if json is invalid. r=Honza
MozReview-Commit-ID: 3JbX74pW6W0
2017-09-15 23:56:11 +05:30
Oriol Brufau 96863cfaba Bug 1395313 - Let JSON Viewer ignore the BOM. r=Honza 2017-09-12 06:15:00 -04:00
Wes Kocher 8e27146f54 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 d7e11c7569 Bug 1395313 - Let JSON Viewer ignore the BOM. r=Honza 2017-09-12 06:15:00 -04:00
Oriol Brufau d341b2417d Bug 1328008 - Stop collapsing TreeView nodes when clicking a value. r=Honza 2017-08-30 07:27:00 -04: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
Oriol 6e9afab12f Bug 1316393 - Circumvent CSP base-uri restriction in JSON Viewer. r=Honza 2017-06-22 14:49: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
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 a9a26243b6 Bug 1368605 - Add various tests for the JSON Viewer. r=Honza 2017-05-31 06:42: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
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
Pascal Chevrel 6648cc99ad Bug 1338539: files with application/manifest+json Mime type should be rendered as json r=Honza
MozReview-Commit-ID: 9SXz6dO7Fms
2017-02-22 15:33:39 +01:00
Gijs Kruitbosch d25c85465f Bug 1333210, r=honzab,ckerschb
MozReview-Commit-ID: 2Gu8sv36Yyy
2017-01-23 22:18:21 +00:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Geoff Brown 828ad789f9 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00: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 9c70e97f3f Bug 1269102 - Part 1: Move waitForClipboardPromise to shared-head.js r=ochameau
MozReview-Commit-ID: 3PmdEBNLaJq
2016-08-10 13:34:30 +02:00
Joel Maher aadfd37353 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Jan Odvarko 4aac195bec Bug 1263404 - Fix condition in hasChildren. r=jryans 2016-05-04 14:56:43 +02:00
Wes Kocher cd954e8359 Bug 1244265 followup ESLint fix
MozReview-Commit-ID: 6RfemDKbqlH
2016-04-28 15:35:41 -07:00
David Walsh c1815974d9 Bug 1244265 - Show file picker when save button clicked within the JSONView component. r=Honza
MozReview-Commit-ID: 70q35AbSBgO
2016-04-26 11:26:22 -05:00
J. Ryan Stinnett 8aa03a5d4d Bug 1263258 - Require space before paren for anonymous functions. r=pbro
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Jan Odvarko e57792b3cd Bug 1247064 - JSON Viewer: auto-expand tree view; r=jryans 2016-04-15 12:03:59 +02:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Jan Odvarko bcfe4d866e Bug 1244912 - JSON Viewer: hide object summary when object is expanded; r=jryans 2016-03-22 15:36:52 +01:00
Jan Odvarko b0c7a823c7 Bug 1256757 - Add tests. r=jryans 2016-03-17 12:49:56 +01:00
Jan Odvarko a338b650c0 Bug 1257173 - Make JSON viewer code eslint clean; r=linclark
MozReview-Commit-ID: LUzs6Pb4c3z
2016-03-17 22:26:53 -07:00
Alexandre Poirot 4f9be42328 Bug 1252346 - Fixes missing Services definition or tweaked eslint to figure out where does it comes from. r=jryans 2016-03-01 14:00:28 -06:00
Patrick Brosset a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Jan Odvarko 16f9bebadd Bug 1132203 - Fixing theme and intermittent test failure; r=jryans 2015-10-05 13:14:07 +02:00
Jan Odvarko 15d214e2f2 Bug 1132203 - Load JSON viewer dynamically on demand; r=jryans 2015-09-28 13:34:03 +02:00
Jan Odvarko 7915b1cfba Bug 1132203 - Tests for JSON Viewer; r=jryans 2015-09-28 13:33:45 +02:00
Jan Odvarko 8776d87a17 Bug 1132203 - JSON Viewer for application/json documents; r=jlong 2015-09-28 13:33:20 +02:00