Commit Graph

135 Commits

Author SHA1 Message Date
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Patrick Brosset
b0fc02b334 Bug 1166189 - ESLint configuration files for devtools; r=tromey
Adds a global .eslintrc file for all source files in /browser/devtools.
This file defines a set of global variables that are commonly used in
/browser/devtools code.
The files that import modules with Cu.import will need to define their
own globals as /* globals ... */ comments.
This file also defines the configuration for all the rules we want to
use.

This also adds a set of .eslintrc files, one per test directory in
/browser/devtools. Each of these files extend from one of 2 parent config
files: .eslintrc.xpcshell or .eslintrc.mochitest.
The parent config define the set of globals these types of tests have
access to (test runner functions, assertion functions, etc.).

Finally, this also adds .eslintrc files in /toolkit/devtools for code and
tests, which just extend from their counterparts in /browser/devtools.
2015-05-28 09:30:03 +02:00
Patrick Brosset
0d849bdbc4 Bug 1168077 - Remove remaining spidermonkey js specific syntax from browser/devtools; r=miker 2015-05-25 14:42:51 +02:00
J. Ryan Stinnett
abbd6364f5 Bug 1167633 - Remove SpiderMonkey specific JS syntax from App Manager / WebIDE. r=pbrosset 2015-05-22 09:34:00 -04:00
Ms2ger
22570d5b49 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Jonathan Griffin
c4f9588ed3 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
J. Ryan Stinnett
321db221c1 Bug 1124326 - Improve packageDir support for Cordova. r=ochameau 2015-02-25 15:14:28 -06:00
Tom Schuster
bbfaee826e Bug 1111243 - Implement ES6 proxy behavior for IsArray. r=efaust 2015-01-25 21:42:10 +01:00
Alexandre Poirot
d16346b94e Bug 1118544 - Tweak WebIDE to better support FxOS addons. r=jryans 2015-01-21 21:07:45 -08:00
J. Ryan Stinnett
99df2107de Bug 1058997 - Part 3c: Remove always allow init calls from tests. r=past 2014-12-01 22:55:56 -08:00
Jan Keromnes
0b13bd37f8 Bug 1090949 - In WebIDE, register simulators by name not by version. r=ochameau 2014-11-26 18:34:00 +01:00
J. Ryan Stinnett
4818e8bd5f Bug 1096310 - Show message after project list load error. r=paul 2014-11-18 15:32:49 -06:00
J. Ryan Stinnett
10242a45d9 Bug 1070957 - Show deprecation notice in App Manager. r=paul 2014-10-02 08:30:00 -04:00
J. Ryan Stinnett
1c23208a93 Bug 989168 - Disable browser_manifest_editor. r=jryans 2014-10-01 05:24:00 +02:00
J. Ryan Stinnett
19261ba1dc Bug 916804 - Telemetry for WebIDE. r=mratcliffe,paul 2014-10-01 16:04:00 +02:00
Pablo Terradillos
fc357d8e7b Bug 913711 - Added methods for finding manifest and updates project location if necessary. r=pablo 2014-09-18 08:14:00 +02:00
Fabrice Desré
9a91b7e141 Bug 1059194 - Trusted Hosted Apps, part 0: Add support in browser developer tools. r=fabrice 2014-09-16 13:14:01 -07:00
J. Ryan Stinnett
26a9010407 Bug 1062604 - Check for actors in WebIDE before use. r=paul 2014-09-03 16:23:00 +02:00
Mihaela Velimiroviciu
55e5d423e8 Bug 983636 - Update tests to support testing of adding duplicate properties. r=jryans 2014-08-01 15:32:01 +03:00
Ryan VanderMeulen
d4df4a0386 Backed out changeset 436e5d00f904 (bug 916804) for mochitest-other failures. 2014-08-12 15:19:27 -04:00
J. Ryan Stinnett
90d7b0e7bd Bug 916804 - Telemetry for WebIDE. r=mratcliffe, r=paul 2014-08-11 11:52:00 -04:00
Nathan Froyd
cedbc07ce0 Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Nathan Froyd
22d12819c5 Bug 1043957 - remove some libs:: rules from devtools's Makefile.ins; r=mshal 2014-07-25 09:38:15 -04:00
Alexandre Poirot
1d9e0ffb72 Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
Paul Rouget
c408816d2e Bug 1027188 - Better warning message for missing 128px icon. r=ochameau 2014-06-26 09:32:42 +02:00
Paul Rouget
53c4150ccc Bug 1012760 - build a webide-specific addon manager. r=ochameau 2014-06-19 05:19:56 +08:00
Boris Zbarsky
2abc4a8ca9 Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop 2014-06-17 15:01:47 -04:00
Alexandre Poirot
22c431047f Bug 993498 - Hide browser tabs if target doesn't expose any. r=paul 2014-05-26 14:11:00 -04:00
Paul Rouget
0b7253db4b Bug 1007218 - Ability to execute App Manager V2 commands from shell. r=ochameau 2014-05-27 22:50:27 +02:00
Paul Rouget
83932ddc68 Bug 1010387 - [appmgr v2] write tests and make good use of promises & tasks. r=janx r=jryans
---
 browser/devtools/app-manager/app-validator.js    |   2 +-
 browser/devtools/webide/content/newapp.js        |  30 +++-
 browser/devtools/webide/content/webide.js        | 180 +++++++++++++++--------
 browser/devtools/webide/modules/app-manager.js   |  27 +++-
 browser/devtools/webide/moz.build                |   1 +
 browser/devtools/webide/test/app.zip             | Bin 0 -> 480 bytes
 browser/devtools/webide/test/app/index.html      |   6 +
 browser/devtools/webide/test/app/manifest.webapp |   5 +
 browser/devtools/webide/test/chrome.ini          |  13 ++
 browser/devtools/webide/test/head.js             |  81 ++++++++++
 browser/devtools/webide/test/hosted_app.manifest |   3 +
 browser/devtools/webide/test/templates.json      |  14 ++
 browser/devtools/webide/test/test_basic.html     |  39 +++++
 browser/devtools/webide/test/test_import.html    |  65 ++++++++
 browser/devtools/webide/test/test_newapp.html    |  48 ++++++
 browser/devtools/webide/test/test_runtime.html   | 118 +++++++++++++++
 browser/devtools/webide/themes/details.css       |   1 -
 browser/devtools/webide/themes/newapp.css        |   4 -
 18 files changed, 558 insertions(+), 79 deletions(-)
 create mode 100644 browser/devtools/webide/test/app.zip
 create mode 100644 browser/devtools/webide/test/app/index.html
 create mode 100644 browser/devtools/webide/test/app/manifest.webapp
 create mode 100644 browser/devtools/webide/test/chrome.ini
 create mode 100644 browser/devtools/webide/test/head.js
 create mode 100644 browser/devtools/webide/test/hosted_app.manifest
 create mode 100644 browser/devtools/webide/test/templates.json
 create mode 100644 browser/devtools/webide/test/test_basic.html
 create mode 100644 browser/devtools/webide/test/test_import.html
 create mode 100644 browser/devtools/webide/test/test_newapp.html
 create mode 100644 browser/devtools/webide/test/test_runtime.html
2014-05-21 09:29:43 +02:00
Paul Rouget
4e218b8055 Bug 999417 - Land the new App Manager UI. r=jryans r=mshal 2014-05-12 08:53:00 +02:00
Paolo Amadini
6d99e32a9f Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
Ryan VanderMeulen
66b14f4f7d Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Michael Ratcliffe
4cc10271fe Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Alexandre Poirot
db36d92589 Bug 993101 - Add main-process debug button. r=paul 2014-04-08 14:13:09 -04:00
J. Ryan Stinnett
6cbcbf6aef Bug 991934 - Only listen for tabs once, and clean up too. r=paul, f=janx 2014-04-07 12:49:29 -07:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
J. Ryan Stinnett
158b74825b Bug 989168 - Disable manifest editor test on Linux. r=me 2014-03-28 17:15:14 -07:00
Carsten "Tomcat" Book
5ef2fbb70b Merge mozilla-central to mozilla-inbound 2014-03-25 13:40:56 +01:00
"J. Ryan Stinnett"
09648d4bbe Bug 982322 - Part 5: Delay node registrations. r=ochameau 2014-03-17 12:06:00 +01:00
"J. Ryan Stinnett"
0469d70587 Bug 982322 - Part 4: Save paths on each node. r=ochameau 2014-03-17 12:02:00 +01:00
"J. Ryan Stinnett"
093467498b Bug 982322 - Part 3: Process tree without for ... of. r=ochameau 2014-03-17 11:55:00 +01:00
"J. Ryan Stinnett"
f789119b14 Bug 982322 - Part 2: Resolver iterates faster without for ... of. r=ochameau 2014-03-17 11:52:00 +01:00
"J. Ryan Stinnett"
5ff11701c2 Bug 982322 - Part 1: Use a resolver object to only descend once. r=ochameau 2014-03-17 11:39:00 +01:00
Ratnadeep Debnath
e89df98b38 Bug 912900 - Show open tabs in connected device's Firefox in AppManager. r=jryans 2014-03-15 17:17:45 -04:00
Michael Ratcliffe
6a28402ad5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Ryan VanderMeulen
c633e65783 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
f4a47052ae Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00