Alexandre Poirot
0205bcb97a
Bug 1509315 - Use TargetFactory.forTab for creating targets in tests. r=yulia
...
There is 4 patterns here:
* Tests using attachThreadActorForUrl like event-listeners ones. I augmented this helper method to call TargetFactory.
* Tests using attachTargetActorForUrl like debugger-statement, dbg-navigation and target-scoped-actor. Uses TargetFactory directly.
* Tests using connectDebuggerClient like navigateEvents and spaw_actor_in_parent. Uses TargetFactory directly.
* All the others, where creating DebuggerClient on their own, and calling listTabs+attachTarget. They now use TargetFactory directly.
A note about webconsole-helpers, only consoleClient attribute was used from tests using this helper.
Also, in various tests I remove the call to client.destroy, that's because shared-head will
close all the tabs/toolboxes and it should lead to target/client destruction.
Finally, debugger-statement now request the thread actor via the client instead of manual request,
it should help the refactoring to a front!
MozReview-Commit-ID: 2ah4UmSjuoi
Depends on D12730
Differential Revision: https://phabricator.services.mozilla.com/D12731
2018-11-27 21:47:59 +00:00
..
2018-10-19 12:55:39 +00:00
2017-07-20 13:52:57 +02:00
2018-10-08 13:02:13 -05:00
2018-10-08 13:02:13 -05:00
2018-10-24 15:13:17 -05:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-11-27 19:18:46 +00:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-10-08 12:08:05 -05:00
2018-11-27 19:18:46 +00:00
2018-11-27 21:47:59 +00:00
2018-10-08 13:02:13 -05:00
2018-11-27 21:47:52 +00:00
2018-11-27 21:47:59 +00:00
2018-10-08 13:21:41 -05:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-27 21:47:59 +00:00
2018-11-27 21:47:59 +00:00
2018-10-19 12:55:39 +00:00
2018-06-14 18:02:02 -07:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-09-27 07:14:55 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-08-22 08:35:40 +00:00
2018-10-18 13:40:48 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-06 11:01:02 +00:00
2018-11-01 13:46:59 +00:00
2018-11-06 11:01:02 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-11-01 13:46:59 +00:00
2018-09-24 09:52:55 -07:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-24 15:13:17 -05:00
2018-10-08 20:23:46 -05:00
2018-10-23 20:39:19 -05:00
2018-10-23 20:39:19 -05:00
2018-10-08 20:23:46 -05:00
2018-10-08 20:23:46 -05:00
2018-10-08 20:23:46 -05:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2018-10-08 13:02:13 -05:00
2018-10-08 13:02:13 -05:00
2018-10-23 20:39:19 -05:00
2018-10-23 20:39:19 -05:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2018-06-28 15:04:13 +09:00
2018-06-28 15:04:13 +09:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2018-10-23 20:39:19 -05:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2018-08-22 08:35:40 +00:00
2018-10-23 20:39:19 -05:00
2018-10-23 20:39:19 -05:00
2018-10-08 13:21:41 -05:00
2018-10-08 13:21:41 -05:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2017-07-13 12:27:52 +08:00
2018-10-08 20:23:46 -05:00
2018-10-08 20:23:46 -05:00
2018-10-08 20:23:46 -05:00
2017-07-13 12:27:52 +08:00
2018-10-19 12:55:39 +00:00
2018-11-06 11:01:02 +00:00
2018-11-27 19:18:46 +00:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-11-27 21:47:59 +00:00
2018-10-19 12:55:39 +00:00
2018-11-15 06:52:01 +00:00
2018-11-07 10:33:32 +00:00
2018-11-27 11:05:28 +02:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00