Closed
Bug 466254
Opened 16 years ago
Closed 15 years ago
Workers: Implement close() and onclose handlers
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
References
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 1 obsolete file)
80.66 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
2.73 KB,
patch
|
Details | Diff | Splinter Review |
Part of the spec we didn't quite hit. Highly desired by Google and others for killing server locks and allowing cleanup.
Assignee | ||
Comment 1•15 years ago
|
||
Not totally complete but very functional. Only thing missing is delaying window/app teardown while the close handler is running.
Attachment #366044 -
Flags: review?(jst)
Assignee | ||
Comment 2•15 years ago
|
||
Added a few code comments that jst brought up in review, and made setTimeout/setInterval return a valid serial in close handlers, even though they still do nothing.
Attachment #366044 -
Attachment is obsolete: true
Attachment #366723 -
Flags: superreview?(jst)
Attachment #366723 -
Flags: review?(jst)
Attachment #366044 -
Flags: review?(jst)
Updated•15 years ago
|
Attachment #366723 -
Flags: superreview?(jst)
Attachment #366723 -
Flags: superreview+
Attachment #366723 -
Flags: review?(jst)
Attachment #366723 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
I landed this on Sunday to fix a leak seen on tinderbox... The test harness sets the script timeout to 0 which caused the close runnable to be rejected, thus leaking any features that were active.
Assignee | ||
Comment 4•15 years ago
|
||
Pushed changeset 388c17a510e8 to mozilla-central.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.2a1
Comment 5•15 years ago
|
||
Is this going to land on 1.9.1 too, or is it trunk only ?
Assignee | ||
Comment 6•15 years ago
|
||
Beta 2 was the cutoff for worker features.
Updated•15 years ago
|
Keywords: dev-doc-needed
Comment 7•15 years ago
|
||
Added information to: https://developer.mozilla.org/En/Using_web_workers#Terminating_a_worker https://developer.mozilla.org/en/XPCOM_Interface_Reference/NsIWorkerScope Please comment and reset to dev-doc-needed if there are any issues with these edits.
Keywords: dev-doc-needed → dev-doc-complete
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•