This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15049 - The description of opener doesn't say what the value is if any of the listed conditions do not hold. I think null is the correct value for windows with no opener, but the IDL lists its type as WindowProxy instead of WindowProxy?, which would seem to indic
Summary: The description of opener doesn't say what the value is if any of the listed ...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-03 00:19 UTC by contributor
Modified: 2012-07-18 18:47 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2011-12-03 00:19:14 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html
Multipage: http://www.whatwg.org/C#dom-opener
Complete: http://www.whatwg.org/c#dom-opener

Comment:
The description of opener doesn't say what the value is if any of the listed
conditions do not hold. I think null is the correct value for windows with no
opener, but the IDL lists its type as WindowProxy instead of WindowProxy?,
which would seem to indicate that this property can never be null. 

Posted from: 66.114.38.251
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a2) Gecko/20111123 Firefox/10.0a2
Comment 1 Ian 'Hixie' Hickson 2011-12-07 23:58:12 UTC
Oops!
Comment 2 contributor 2012-01-31 21:15:47 UTC
Checked in as WHATWG revision r6953.
Check-in comment: window.opener should return null in certain cases
http://html5.org/tools/web-apps-tracker?from=6952&to=6953