ISSUE-66 - Public View

should Documents that aren't being presented be required to have a null defaultView?

State:
CLOSED
Product:
Window
Raised by:
Maciej Stachowiak
Opened on:
2006-04-04
Description:
More technically:

The spec requires that any Document being presented in a browsing context must implement the 
DocumentWindow interface, which inherits from the AbstractView interface, and that the defaultView 
attribute thus inherited must be the document's window object.

It also requires that if any document that *isn't* being presented in a browsing context implements the 
DocumentWindow interface, then the defaultView must be null.

 Ian Hickson questioned whether it makes sense to require this - I am not sure if it is good or not 
myself. I don't think we can necessarily require that such documents not implement DocumentWindow, 
since in browsers they'll likely be the same kind of object as presented documents.

(An example of non-presented documents would be the responseXML document of XMLHttpRequest.)

Sorry if this point is too obscure for anyone to really care about.

Note: Some of these links may be accessible only to W3C Members.

Related emails:
  1. ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from dean+cgi@w3.org on 2006-04-04)
  2. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from cam@mcc.id.au on 2006-04-04)
  3. Re: Further update to Window Object 1.0, I think it's ready for first Working Draft (from mjs@apple.com on 2006-04-04)
  4. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from ian@hixie.ch on 2006-04-04)
  5. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from jonas@sicking.cc on 2006-04-05)
  6. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from mjs@apple.com on 2006-04-05)
  7. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from jonas@sicking.cc on 2006-04-05)
  8. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from ian@hixie.ch on 2006-04-05)
  9. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from ian@hixie.ch on 2006-04-06)
  10. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from jonas@sicking.cc on 2006-04-05)
  11. Re: ISSUE-66: should Documents that aren't being presented be required to have a null defaultView? (from annevk@opera.com on 2006-04-06)
  12. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from mjs@apple.com on 2006-04-05)
  13. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from bzbarsky@mit.edu on 2006-04-05)
  14. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from jonas@sicking.cc on 2006-04-05)
  15. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from jonas@sicking.cc on 2006-04-05)
  16. Re: ISSUE-66: should Documents that aren\\'t being presented be required to have a null defaultView? (from mjs@apple.com on 2006-04-06)
  17. Minutes, face to face meeting (from chaals@opera.com on 2006-05-15)

Related notes:

No additional notes.