In a small bowl, whisk together the flour, cocoa powder, and salt. Set aside.
In a heatproof bowl set over a pan of simmering water (or in short bursts in the microwave), melt the butter, chopped bittersweet chocolate, and white chocolate chips together. Stir until smooth, then remove from heat and let cool slightly.
In a large mixing bowl, beat the eggs and granulated sugar together until pale and fluffy, about 3–4 minutes.
Slowly pour a bit of the melted chocolate mixture into the egg mixture while whisking constantly to temper. Then gradually add the rest and whisk until smooth and combined.
Gently mix in the dry ingredients until just incorporated.
Whisk in the Guinness stout until fully blended. Batter will be thin—that’s normal!