Commit Graph

18 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
Ben Turner
30c632d2fe Bug 1149815 - Properly handle IDBDatabase.close() called during a versionchange transaction, r=janv. 2015-06-20 09:08:30 -07: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
ziyunfei
649e7033e4 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
5a7a219b3b Backed out changeset b09423cfc86b (bug 1098374) for dt orange 2015-04-20 15:40:48 -07:00
Michael Ratcliffe
b3033ebd45 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=harth,bgrins 2015-04-16 10:17:26 +01:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Birunthan Mohanathas
1cc891d867 Bug 1122044 - Remove unreferenced moz.build files. r=mshal 2015-01-21 20:15:59 +02:00
Eddy Bruël
cbd89b442a Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset 2015-01-13 10:05:20 +01:00
Ryan VanderMeulen
e6519809ad Backed out changeset 86ac3a19e456 (bug 1118806) for mochitest-dt failures.
CLOSED TREE
2015-01-09 11:18:46 -05:00
Eddy Bruël
a0e4411d83 Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset 2015-01-09 15:26:54 +01:00
Ryan VanderMeulen
2ec2e9e157 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
86f9d7b228 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
9bd305860f Bug 1076857 - Add basic telemetry to Storage Inspector. r=mratcliffe 2014-11-07 18:06:00 -05:00
J. Ryan Stinnett
8f59d0713a Bug 979536 - Part 3: Fix reopening storage tool. r=mratcliffe 2014-09-24 08:48:00 +02:00
Girish Sharma
804157c220 Bug 970517 - Storage Inspector fron end - tests, r=jwalker 2014-08-29 18:24:52 +05:30
Girish Sharma
195559491b Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30