зеркало из https://github.com/mozilla/pjs.git
Merge mozilla-central to mozilla-inbound
This commit is contained in:
Коммит
ee058e98cb
|
@ -1026,6 +1026,9 @@ nsGlobalWindow::~nsGlobalWindow()
|
||||||
PR_REMOVE_AND_INIT_LINK(w);
|
PR_REMOVE_AND_INIT_LINK(w);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Telemetry::Accumulate(Telemetry::INNERWINDOWS_WITH_MUTATION_LISTENERS,
|
||||||
|
mMutationBits ? 1 : 0);
|
||||||
|
|
||||||
if (mListenerManager) {
|
if (mListenerManager) {
|
||||||
mListenerManager->Disconnect();
|
mListenerManager->Disconnect();
|
||||||
mListenerManager = nsnull;
|
mListenerManager = nsnull;
|
||||||
|
@ -2387,6 +2390,9 @@ nsGlobalWindow::InnerSetNewDocument(nsIDocument* aDocument)
|
||||||
mLastOpenedURI = aDocument->GetDocumentURI();
|
mLastOpenedURI = aDocument->GetDocumentURI();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Telemetry::Accumulate(Telemetry::INNERWINDOWS_WITH_MUTATION_LISTENERS,
|
||||||
|
mMutationBits ? 1 : 0);
|
||||||
|
|
||||||
// Clear our mutation bitfield.
|
// Clear our mutation bitfield.
|
||||||
mMutationBits = 0;
|
mMutationBits = 0;
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ endif
|
||||||
|
|
||||||
nsXPConnect.$(OBJ_SUFFIX): dom_quickstubs.h
|
nsXPConnect.$(OBJ_SUFFIX): dom_quickstubs.h
|
||||||
|
|
||||||
xpcjsruntime.$(OBJ_SUFFIX): dom_quickstubs.h
|
XPCJSRuntime.$(OBJ_SUFFIX): dom_quickstubs.h
|
||||||
|
|
||||||
dom_quickstubs.h: dom_quickstubs.cpp
|
dom_quickstubs.h: dom_quickstubs.cpp
|
||||||
|
|
||||||
|
|
|
@ -233,3 +233,5 @@ HISTOGRAM(THUNDERBIRD_GLODA_SIZE_MB, 1, 1000, 40, LINEAR, "Gloda: size of global
|
||||||
HISTOGRAM(THUNDERBIRD_CONVERSATIONS_TIME_TO_2ND_GLODA_QUERY_MS, 1, 10000, 30, EXPONENTIAL, "Conversations: time between the moment we click and the second gloda query returns (ms)")
|
HISTOGRAM(THUNDERBIRD_CONVERSATIONS_TIME_TO_2ND_GLODA_QUERY_MS, 1, 10000, 30, EXPONENTIAL, "Conversations: time between the moment we click and the second gloda query returns (ms)")
|
||||||
HISTOGRAM(THUNDERBIRD_INDEXING_RATE_MSG_PER_S, 1, 100, 20, LINEAR, "Gloda: indexing rate (message/s)")
|
HISTOGRAM(THUNDERBIRD_INDEXING_RATE_MSG_PER_S, 1, 100, 20, LINEAR, "Gloda: indexing rate (message/s)")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
HISTOGRAM(INNERWINDOWS_WITH_MUTATION_LISTENERS, 0, 1, 2, BOOLEAN, "Deleted or to-be-reused innerwindow which has had mutation event listeners.")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче