My take was that she knew all along, and she and Arya were manipulating him the entire time. It explains why the “faces” scene from last week was so over the top — they knew Baelish was watching them. Also if he knew a trial was coming at any point before it began, he would have split.