Closed Bug 623886 Opened 14 years ago Closed 7 years ago

Shutdown callback for web content

Categories

(Mozilla Labs :: Prism, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

Details

Attachments

(1 file)

Right now it is not possible for web content to prevent application shutdown (other than using a "beforeunload" handler). We should enable content to register a callback so that shutdown can be prevented based on other criteria besides navigating away from a web page.
Comment on attachment 501966 [details] [diff] [review] Allow web content to register a callback to prevent shutdown have you thought about just firing an "onclose" event and allow the webpage to event.preventDefault() - that's the way normal webpages keep tabs and windows from getting closed.
Attachment #501966 - Flags: review?(mark.finkle)
Prism isn't maintained anymore. Mass closing of the bugs.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: