Commit Graph

18 Commits

Author SHA1 Message Date
J. Ryan Stinnett
36250e5bd3 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Ben Turner
2f949674a8 Bug 1149815 - Properly handle IDBDatabase.close() called during a versionchange transaction, r=janv. 2015-06-20 09:08:30 -07:00
Patrick Brosset
c13c49b742 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
4d6421c614 Bug 1168077 - Remove remaining spidermonkey js specific syntax from browser/devtools; r=miker 2015-05-25 14:42:51 +02:00
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Wes Kocher
5596509bcf Backed out changeset b09423cfc86b (bug 1098374) for dt orange 2015-04-20 15:40:48 -07:00
Michael Ratcliffe
cfe65a52f0 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=harth,bgrins 2015-04-16 10:17:26 +01:00
Panos Astithas
121dd7d1d3 Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Birunthan Mohanathas
5f227f1a63 Bug 1122044 - Remove unreferenced moz.build files. r=mshal 2015-01-21 20:15:59 +02:00
Eddy Bruël
376273f178 Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset 2015-01-13 10:05:20 +01:00
Ryan VanderMeulen
7e71944931 Backed out changeset 86ac3a19e456 (bug 1118806) for mochitest-dt failures.
CLOSED TREE
2015-01-09 11:18:46 -05:00
Eddy Bruël
c278433a76 Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset 2015-01-09 15:26:54 +01:00
Ryan VanderMeulen
95bc72e53e Bug 1105803 - Disable the Storage Inspector tests on debug builds for permafailing on release builds. 2015-01-09 08:39:27 -05:00
Brian Birtles
5a1d969195 Bug 927349 part 20 - Update selectTreeItem to wait for tree expansion animations to finish; r=bgrins
Currently selectTreeItem, as used by various devtools storage panel tests,
expands the tree then clicks items. However, it fails to account for the fact
that expansion animations may mean that the item that should be selected is not
yet able to be clicked. It currently happens to be lucky enough that typically
the animation is short enough that the item in question will be click-able in
time (since click() spins the event loop using executeSoon there is some time
for the animation to play).

If we make animations wait until their first frame has rendered before
beginning the chance that the tree item will become clickable in time is
reduced. This patch works around that by looking for animating branches
amongst the ancestors of the item to be selected. If one is found it waits for
the animation to end.

Unfortunately this ties the tests to the tree widget styles somewhat (in
particular the test looks for specified values of max-height).
However, these changes only delay the execution of the test so, if these styles
were to change, it is only likely that these tests would fail (and hence need to
be updated) than to mask a genuine bug. Until the Web Animations API is
available by default it is difficult to test if animations are running so this
seems like the best we can do for now.
2014-12-22 09:35:42 +09:00
Heather Arthur
50a4da3f23 Bug 1076857 - Add basic telemetry to Storage Inspector. r=mratcliffe 2014-11-07 18:06:00 -05:00
J. Ryan Stinnett
6ebf53311e Bug 979536 - Part 3: Fix reopening storage tool. r=mratcliffe 2014-09-24 08:48:00 +02:00
Girish Sharma
1d703236bb Bug 970517 - Storage Inspector fron end - tests, r=jwalker 2014-08-29 18:24:52 +05:30
Girish Sharma
69c89b34ce Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30