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-30 12:23:36 +00:00
2018-09-12 17:59:05 +09:00
2018-10-19 12:55:39 +00:00
2018-10-19 12:55:39 +00:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-06-01 12:36:09 +02:00
2018-11-06 11:01:02 +00:00
2018-10-19 12:55:39 +00:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-11-05 10:52:27 +00:00
2018-09-24 09:52:55 -07:00
2018-09-07 13:31:09 -05:00
2018-09-07 13:31:09 -05:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-09-07 13:31:09 -05:00
2018-10-24 12:55:01 +00:00
2018-06-01 12:36:09 +02:00
2018-10-25 17:15:45 +00:00
2018-09-07 13:31:09 -05:00
2018-09-24 09:52:57 -07:00
2018-11-08 10:30:59 +00:00
2018-11-14 15:11:59 +00:00
2018-11-15 10:22:49 +00:00
2018-11-15 10:22:49 +00:00
2018-10-10 15:17:53 +00:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-11-08 15:31:37 +00:00
2018-11-01 13:46:59 +00:00
2018-11-08 15:31:37 +00:00
2018-06-07 12:03:47 +02:00
2018-09-20 08:03:21 +00:00
2018-10-05 10:28:46 -04:00
2018-06-01 12:36:09 +02:00
2018-09-24 09:52:55 -07:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-30 10:14:20 +00:00
2018-10-19 12:55:39 +00:00
2018-08-16 16:18:30 +00:00
2018-10-19 12:55:39 +00:00
2018-09-24 09:52:55 -07:00
2018-10-19 12:55:39 +00:00
2018-07-27 13:38:12 +09:00
2018-10-19 12:55:39 +00:00
2018-06-01 12:36:09 +02:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-08-29 15:46:12 +01:00
2018-06-07 12:45:53 -04:00
2018-11-06 11:01:02 +00:00
2018-06-01 12:36:09 +02:00
2018-09-24 09:52:55 -07:00
2017-07-13 12:27:38 +08:00
2018-10-19 12:55:39 +00:00
2017-07-13 12:27:38 +08:00
2018-10-19 12:55:39 +00:00
2017-02-23 06:10:07 +09:00
2017-07-13 12:27:38 +08:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-09-26 21:11:51 +00:00
2018-10-15 08:36:10 +00:00
2018-10-22 14:09:49 +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-11-05 10:52:27 +00:00
2018-09-24 09:52:55 -07:00
2018-04-12 21:10:04 -07:00
2018-10-19 12:55:39 +00:00
2018-09-26 21:11:51 +00:00
2018-11-27 21:47:59 +00:00
2018-07-20 15:58:35 +09:00
2018-04-29 10:52:14 +09:00
2018-07-20 15:58:35 +09:00
2018-08-28 09:29:27 +09:00
2018-07-20 15:58:35 +09:00
2018-09-19 08:24:25 +00:00
2018-09-19 08:24:25 +00:00
2018-09-07 16:39:55 +09:00
2018-10-19 12:55:39 +00:00
2018-09-17 07:43:12 -05:00
2018-09-17 07:43:12 -05:00
2018-06-01 12:36:09 +02:00
2018-06-01 12:36:09 +02:00
2018-10-18 07:57:02 +00:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-09-24 09:52:55 -07:00
2018-10-30 08:08:42 +00:00
2018-11-09 09:03:54 +00:00
2017-05-30 13:08:12 -06:00
2017-05-30 13:08:12 -06:00
2017-08-04 09:52:25 -06:00
2017-08-04 09:52:25 -06:00
2018-10-24 12:55:01 +00:00
2018-10-24 12:55:01 +00:00
2017-05-22 13:47:42 -06:00
2017-05-22 13:47:42 -06:00
2017-05-18 12:39:36 -06:00
2017-05-18 12:39:36 -06:00
2017-05-18 12:39:36 -06:00
2017-05-18 12:39:36 -06:00
2017-08-04 09:52:25 -06:00
2017-05-16 13:16:17 -06:00
2017-05-16 13:16:17 -06:00
2018-10-24 12:55:01 +00:00
2017-05-22 13:47:42 -06:00
2017-05-18 12:39:36 -06:00
2017-05-18 12:39:36 -06:00
2017-05-18 12:39:36 -06:00
2018-11-15 10:22:49 +00:00
2018-10-19 12:55:39 +00:00
2017-10-03 08:56:38 -06:00
2017-10-03 08:56:38 -06:00
2018-06-01 12:36:09 +02:00