Commit Graph
11 Commits
Author SHA1 Message Date
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
Oriol 69f69b6f43 Bug 1373765 - Move jsonViewInitialized into JSONView.initialized. r=Honza 2017-06-16 11: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
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
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
Jan Odvarko e57792b3cd Bug 1247064 - JSON Viewer: auto-expand tree view; r=jryans 2016-04-15 12:03:59 +02: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
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