WIP: Widget promises debug.

Step by step implementation of #6818 to see when PhantomJS begins to fail.