Technically speaking, how is that a problem? If your theory is right that Google was looking for a reason to fire her, then she shouldn't have given them a 'legal' one. At the end of the day, it boiled down to - she gave them an ultimatum and they called her bluff (this has nothing to do with whether her reasons were right or wrong; if her reasons were right and she really didn't want believe she could work under such conditions, then the focus of her statement and public debate should be about that and not whether Google fired her or she resigned.