For locations, it always returns undefined. For windows, it returns undefined unless there is a named subframe named "then", in which case that named subframe is returned. The idea is to be able to resolve promises with cross-origin objects. MozReview-Commit-ID: HPyTvtwFdsG
11 KiB
11 KiB