[Webkit2] Prepare for porting