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 17631 - "The close() method on Window objects should... close the browsing context". What does it mean to "close a browsing context"? Are any event handlers triggered e.g. beforeunload?
Summary: "The close() method on Window objects should... close the browsing context". ...
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: 2012-06-28 15:09 UTC by contributor
Modified: 2012-09-23 23:25 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2012-06-28 15:09:35 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#apis-for-creating-and-navigating-browsing-contexts-by-name
Complete: http://www.whatwg.org/c#apis-for-creating-and-navigating-browsing-contexts-by-name

Comment:
"The close() method on Window objects should... close the browsing context".
What does it mean to "close a browsing context"? Are any event handlers
triggered e.g. beforeunload?

Posted from: 2001:4c28:a030:30:d46a:ff6b:b71c:7ab6
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.10.289 Version/12.01
Comment 1 contributor 2012-07-18 17:52:11 UTC
This bug was cloned to create bug 18259 as part of operation convergence.
Comment 2 contributor 2012-09-23 23:25:40 UTC
Checked in as WHATWG revision r7393.
Check-in comment: Better define window.close() and how to close tabs.
http://html5.org/tools/web-apps-tracker?from=7392&to=7393