Usually, and this information is not based on this specific incident,
777 cockpit windows don't literally crack.
the cockpit windows (i think there are 6) are made from multiple layers - with heating elements in between them. When a single layer cracks, the window it self (while you might not see properly from it) itself is not cracked (or else, the aircraft would have depressurized).
a common cause for a crack in the window is when the window heating fails..
the window's them selves are vigorously tested during certification, to the point of firing dead chickens into the window (same done to the engines) at a speed equal to a bird hitting a flying plane to test the strength.
cockpit? it's that little room in the front of the plane where the pilots seat.. but that's not important now