Closed Bug 907848 Opened 7 years ago Closed 5 years ago

Remove the shutdown observer in nsDOMScriptObjectFactory

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Ms2ger, Unassigned)

References

Details

nsDOMScriptObjectFactory observes NS_XPCOM_SHUTDOWN_OBSERVER_ID so that it can do:

    nsXULPrototypeCache::GetInstance()->Flush();
    nsGlobalWindow::ShutDown();
    nsDOMClassInfo::ShutDown();

I'm not sure if any of those are actually required. (We already do the latter two in nsLayoutStatics::Shutdown().)
I think this is a depends-on relationship, not a blocks relationship.
No longer blocks: 906503, 901106
Depends on: 906503, 901106
>     nsGlobalWindow::ShutDown();
>     nsDOMClassInfo::ShutDown();

peterv removed those.
Depends on: 904147
We did one better, we removed nsDOMScriptObjectFactory.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.