Commit Graph

48 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
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
Jordan Santell
11a3e3a081 Bug 1077464 - Wire console.profile/profileEnd to the new performance tool. Move most of the recording-model logic from the front end into the PerformanceFront and PerformanceActorConnection so it can manage recordings without the front end being viewed. r=vp,jryans,pbrosset 2015-04-14 08:58:58 -07:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Jordan Santell
0a33b16e7b Bug 1134082 - Fix uncaught promise exceptions in shader editor. r=vp 2015-02-18 15:25:00 -05:00
Jeff Gilbert
ff27d5e387 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book
2e0fe7d467 Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE 2015-01-13 09:07:26 +01:00
Jeff Gilbert
ec409b7f23 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-12 19:51:20 -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
Michael Ratcliffe
c0df7c569e Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
Michael Ratcliffe
6080cad3f4 Backed out changeset 3500854d791b for test log breakage 2014-11-07 13:32:09 +00:00
Michael Ratcliffe
8fd5514ff9 Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
David Rajchenbach-Teller
025aa7fc8e Bug 1016387 - Whitelisting tests that leak Promise rejections (devtools). r=paul 2014-10-04 14:21:00 +02:00
Carsten "Tomcat" Book
affd3afe16 Backed out changeset 746989e4c8d1 (bug 1016387) for bc1/bc3 test failures 2014-10-10 10:41:25 +02:00
David Rajchenbach-Teller
78bbf1666a Bug 1016387 - Whitelisting tests that leak Promise rejections (devtools). r=paul 2014-10-04 14:21:00 +02:00
Mark Hammond
0a6475fe1a Bug 1065355 (part 2) - get shadereditor tests working in e10s. r=pbrosset 2014-09-22 09:07:49 +10:00
Shu-yu Guo
40c62f33a5 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Jordan Santell
02716f058d Bug 1046305 - Wait a frame before checking canvases in getPixel tests. r=vp 2014-07-30 15:24:00 -04:00
Jordan Santell
44e0512aee Bug 1034295 - Add e10s support to shader editor. r=vp, r=jryans 2014-07-29 13:57:00 +02:00
Panos Astithas
a91c7de7b1 Replace mouseenter/leave events with mouseover/out in devtools for performance (bug 971203). r=vporof,pbrosset 2014-07-09 17:47:53 +03: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
Panos Astithas
bcc3035268 Bug 991112 - Disable RDP logging for faster tests. r=vporof 2014-04-03 18:22:49 +03:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Panos Astithas
8609912471 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Victor Porof
ed2ec5d5aa Bug 947544 - Disable browser_se_bfcache.js because of intermittent oranges, r=me 2014-01-15 22:59:15 +02:00
Victor Porof
6024d00200 Backed out changeset 55c0b8b56600 because it doesn't fix bug 947544, r=me 2014-01-15 22:59:14 +02:00
Brandon Benvie
5098bfa1ff Bug 947544 - Fix intermittent in the Shader Editor test browser_se_bfcache.js. r=vp 2014-01-08 09:24:39 -08:00
Victor Porof
619a1259b8 Bug 951633 - Fix tests after the WidgetMethods API changes, r=past 2014-01-03 23:42:28 +02:00
Brandon Benvie
43edc06e74 Bug 940541 Convert shader editor to use Promise.jsm. r=vp, r=benvie 2013-12-05 16:00:25 -08:00
Victor Porof
a16b54f6f6 Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Victor Porof
63dcf4a4f2 Bug 938549 - Recompiling shaders when highlighting is very heavy and loses cached state, r=rcampbell 2013-11-26 10:51:20 +02:00
Shu-yu Guo
5c07522949 Bug 933882 - Force GC in Debugger mochitests for ASan. (r=past) 2013-11-20 22:50:28 -08:00
Victor Porof
3fe92c6703 Bug 937627 - The webgl constructs cache should be per context, not per document global, r=rcampbell 2013-11-18 10:26:00 +02:00
Victor Porof
32bb23ad65 Bug 934834 - Intermittent browser_webgl-actor-test-16.js | There should be 2 cached program actors now. - Got 0, expected 2 | Got an error: firstProgramActor is undefined | Found an unexpected tab at the end of test run: doc_multiple-contexts.html, r=me 2013-11-08 10:45:17 +02:00
Victor Porof
83936e5985 Bug 930928 - Shader compilation errors should be displayed in the editor, r=rcampbell,anton 2013-11-05 14:07:37 +02:00
Victor Porof
a78306e271 Bug 933646 - Blackboxing a program in the shader editor should hide the rendered geometry, r=rcampbell 2013-11-04 22:48:10 +02:00
Wes Kocher
d160db73f1 Backed out changeset 6cbc5a5a177f (bug 933646) for xpcshell bustage 2013-11-04 14:26:58 -08:00
Victor Porof
0eaa917785 Bug 933646 - Blackboxing a program in the shader editor should hide the rendered geometry, r=rcampbell 2013-11-04 22:48:10 +02:00
Victor Porof
fae44b5481 Bug 932282 - Shader editor doesn't work with bfcache. r=past 2013-10-30 18:54:01 +02:00
Victor Porof
b07ed91bdd Bug 931440 - Avoid potential timeouts in shader editor tests when performing reloads, r=me 2013-10-29 07:47:48 +02:00
Peter Van der Beken
e46609f302 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz. 2013-10-08 17:51:42 +02:00
Phil Ringnalda
20c636efde Back out fb8d9cb4698b (bug 931344) for ASan browser-chrome permaorange 2013-10-26 11:03:18 -07:00
Victor Porof
483fb6b690 Bug 931344 - Relax the check for webgl availability in the shader editor tests, r=me 2013-10-26 13:20:40 +03:00
Victor Porof
32fd0e170b Bug 910955 - Implement a live WebGL shader editor, r=dcamp 2013-10-25 10:18:41 +03:00
Victor Porof
ba0ec92e82 Bug 910953 - Implement the backend for a WebGL shader editor, r=dcamp,vlad 2013-09-09 23:33:25 +03:00