单项选择题

通过window.open方式打开的新窗口,通过以下哪个可以获得父窗口的document对象?()

A.parent.document
B.window.opener.document
C.window.parent.document
D.window.all[0].document