My use-case is this: - include media-file.js - include video-test.js (=> calls LTC.dumpAsText()) - in my test I want a tree dump I'm screwed because dumpAsTextCallback() calls controller->setDumpAsText(true) and there's no dumpAsTree() method. So 2 solutions: - add dumpAsTree() - make dumpAsText() take 2 optional arguments, one exists already so the 60 tests using that require a small update I'll try with first solution ;)
Created attachment 92421 [details] proposed patch
Forgot WKTR change, will send a new patch
Created attachment 92425 [details] proposed patch
Created attachment 92561 [details] proposed patch
I'm confused by this change. Why do we need this?
Comment on attachment 92561 [details] proposed patch I'd just fix the test scripts to not box you into this corner. We've got 20k tests without needing this feature. I suspect we don't really need it.
Ok then... I'll move the function I needed from video-test.js to a dedicated file.