On 2017/04/25 01:09:07, chenwilliam wrote:
> I want test writers to control the lifetime of loading modules, so I created
> this to keep the dependency preprocessor happy.
Why should tests worry about modules lifetime?
chenwilliam
2017/06/15 01:01:05
I want to avoid loading all modules up-front to av
On 2017/04/25 21:08:28, dgozman wrote:
> On 2017/04/25 01:09:07, chenwilliam wrote:
> > I want test writers to control the lifetime of loading modules, so I created
> > this to keep the dependency preprocessor happy.
>
> Why should tests worry about modules lifetime?
I want to avoid loading all modules up-front to avoid the startup cost. I don't
have a concrete case - but I imagine someone might want a test where clicking on
a panel properly loads it. If we eagerly load modules (e.g. text editor) in the
case of console, we might miss some edge cases (e.g. console properly shows
messages before text editor has loaded).
Issue 2837083003: DevTools: create test infrastructure so devtools drives the test
(Closed)
Created 3 years, 8 months ago by chenwilliam
Modified 3 years, 6 months ago
Reviewers: dgozman, qyearsley
Base URL:
Comments: 70