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 8970 - Should "Empty the Document's Window's list of active timeouts and its list of active intervals." actually happen if the document is to be salvaged?
Summary: Should "Empty the Document's Window's list of active timeouts and its list of...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 03:14 UTC by contributor
Modified: 2010-10-04 13:56 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2010-02-14 03:14:57 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#unloading-documents

Comment:
Should "Empty the Document's Window's list of active timeouts and its list of
active intervals." actually happen if the document is to be salvaged?

Posted from: 98.248.33.53 by ian@hixie.ch
Comment 1 Ian 'Hixie' Hickson 2010-02-14 03:27:46 UTC
Make sure that when discarding the document, the timeouts _do_ get disabled.

Maybe the way to do this is to have this step be the last in the cleanup steps, and for it to _check_ salvageable first and only do it if it's false (and for the discard-a-document algorithm to set salvageable explicitly to false).
Comment 2 Ian 'Hixie' Hickson 2010-02-18 02:00:30 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 3 contributor 2010-02-18 02:02:10 UTC
Checked in as WHATWG revision r4770.
Check-in comment: Make timeouts and intervals survive a history traversal that unloads the document, but only if the document isn't actually disacarded.
http://html5.org/tools/web-apps-tracker?from=4769&to=4770