[WK2]Implement window.open