Remove the shutdown observer in nsDOMScriptObjectFactory

RESOLVED WORKSFORME

Status

()

Core
DOM
RESOLVED WORKSFORME
5 years ago
2 years ago

People

(Reporter: Ms2ger, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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
(Reporter)

Comment 2

5 years ago
>     nsGlobalWindow::ShutDown();
>     nsDOMClassInfo::ShutDown();

peterv removed those.
Depends on: 904147
We did one better, we removed nsDOMScriptObjectFactory.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.