Bug 1352355 - Add metadata to allow existing leaks, r=mccr8
authorJames Graham <james@hoppipolla.co.uk>
Fri, 30 Nov 2018 23:17:45 +0000
changeset 508572 250022f4c01dd92272ba355f90663f9134036fc8
parent 508571 f3f4ea333cc4268ca48cf4eef9f821c490401544
child 508573 36c4c80ddc1a12665af8cbcaef716e384caab99e
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
bugs1352355
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1352355 - Add metadata to allow existing leaks, r=mccr8 Depends on D12413 Differential Revision: https://phabricator.services.mozilla.com/D12414
testing/web-platform/meta/FileAPI/FileReader/__dir__.ini
testing/web-platform/meta/FileAPI/file/__dir__.ini
testing/web-platform/meta/__dir__.ini
testing/web-platform/meta/cookies/samesite/__dir__.ini
testing/web-platform/meta/css/css-conditional/__dir__.ini
testing/web-platform/meta/css/css-fonts/font-display/__dir__.ini
testing/web-platform/meta/css/css-writing-modes/__dir__.ini
testing/web-platform/meta/css/vendor-imports/mozilla/__dir__.ini
testing/web-platform/meta/encrypted-media/__dir__.ini
testing/web-platform/meta/fetch/api/abort/__dir__.ini
testing/web-platform/meta/fetch/api/request/__dir__.ini
testing/web-platform/meta/fetch/range/__dir__.ini
testing/web-platform/meta/html/dom/__dir__.ini
testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini
testing/web-platform/meta/html/semantics/forms/__dir__.ini
testing/web-platform/meta/html/webappapis/dynamic-markup-insertion/__dir__.ini
testing/web-platform/meta/infrastructure/testdriver/__dir__.ini
testing/web-platform/meta/media-source/__dir__.ini
testing/web-platform/meta/media-source/mediasource-changetype-play.html.ini
testing/web-platform/meta/orientation-sensor/__dir__.ini
testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini
testing/web-platform/meta/service-workers/service-worker/__dir__.ini
testing/web-platform/meta/service-workers/service-worker/unregister.https.html.ini
testing/web-platform/meta/shadow-dom/leaktests/__dir__.ini
testing/web-platform/meta/storage/__dir__.ini
testing/web-platform/meta/webrtc/__dir__.ini
testing/web-platform/meta/websockets/__dir__.ini
testing/web-platform/meta/websockets/keeping-connection-open/__dir__.ini
--- a/testing/web-platform/meta/FileAPI/FileReader/__dir__.ini
+++ b/testing/web-platform/meta/FileAPI/FileReader/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: [Alloc, AllocateProtoAndIfaceCache, EntrySlotOrCreate, MakeNotNull, MakeUnique, Malloc, NS_NewCStringInputStream, NewEmptyScopeData, NewPage, ProtoAndIfaceCache, js_new, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::BackgroundHangThread::ReportHang, mozilla::NonBlockingAsyncInputStream::AsyncWait, mozilla::NonBlockingAsyncInputStream::Create, mozilla::dom::Blob::Constructor, mozilla::dom::Blob::Create, mozilla::dom::FileReader::Constructor, mozilla::dom::StringBlobImpl::Create, mozilla::dom::WorkerPrivate::GetOrCreateGlobalScope, mozilla::dom::WorkerPrivate::WorkerPrivate, mozilla::dom::WorkerThread::Create, nsThread::nsThread]
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/FileAPI/file/__dir__.ini
+++ b/testing/web-platform/meta/FileAPI/file/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: [Alloc, NewEmptyScopeData, __rdl_alloc, __rdl_realloc, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::Performance::CreateForMainThread]
+leak-threshold: [default:409600, tab:819200]
--- a/testing/web-platform/meta/__dir__.ini
+++ b/testing/web-platform/meta/__dir__.ini
@@ -1,3 +1,5 @@
 lsan-allowed: [js_pod_malloc, js_pod_calloc, js_pod_realloc, js_arena_calloc,js_pod_arena_calloc, maybe_pod_calloc, pod_calloc, make_zeroed_pod_array, js_arena_malloc]
-leak-threshold: [tab:10000, geckomediaplugin:20000]
+leak-threshold:
+  if webrender: [tab:10000, geckomediaplugin:20000, default:16000]
+  [tab:10000, geckomediaplugin:20000]
 
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/cookies/samesite/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/css-conditional/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/css/css-fonts/font-display/__dir__.ini
+++ b/testing/web-platform/meta/css/css-fonts/font-display/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: [Alloc, AllocateProtoAndIfaceCache, EntrySlotOrCreate, Realloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::realloc, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry]
+leak-threshold: [tab:358400]
--- a/testing/web-platform/meta/css/css-writing-modes/__dir__.ini
+++ b/testing/web-platform/meta/css/css-writing-modes/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: []
+leak-threshold: [default:51200]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/vendor-imports/mozilla/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/encrypted-media/__dir__.ini
+++ b/testing/web-platform/meta/encrypted-media/__dir__.ini
@@ -1,2 +1,3 @@
 prefs: [dom.security.featurePolicy.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true]
 lsan-allowed: [Alloc, MakeUnique, Malloc, NewPage, Realloc, mozilla::EMEDecryptor::EMEDecryptor, mozilla::SchedulerGroup::CreateEventTargetFor, CreateCDMProxy, mozilla::dom::MediaKeys::CreateCDMProxy, mozilla::dom::nsIContentChild::GetConstructedEventTarget]
+leak-threshold: [default: 51200]
--- a/testing/web-platform/meta/fetch/api/abort/__dir__.ini
+++ b/testing/web-platform/meta/fetch/api/abort/__dir__.ini
@@ -1,2 +1,3 @@
 prefs: [javascript.options.streams:true]
 lsan-allowed: [Alloc, AllocateProtoAndIfaceCache, NewEmptyScopeData, __rdl_alloc, __rdl_realloc, js_new, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::DOMException::Create, mozilla::dom::FetchStream::Create, mozilla::dom::Performance::CreateForMainThread]
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/fetch/api/request/__dir__.ini
+++ b/testing/web-platform/meta/fetch/api/request/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: [Alloc, NewEmptyScopeData, __rdl_alloc, __rdl_realloc, js_new, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::Performance::CreateForMainThread]
+leak-threshold: [tab:768000]
--- a/testing/web-platform/meta/fetch/range/__dir__.ini
+++ b/testing/web-platform/meta/fetch/range/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: [Alloc, Create, CreateInner, FetchDriverObserver, Malloc, NewPage, PLDHashTable::Add, Realloc, allocate, mozilla::ThrottledEventQueue::Create, mozilla::dom::InternalRequest::GetRequestConstructorCopy, mozilla::dom::PerformanceStorageWorker::Create, mozilla::dom::PromiseWorkerProxy::Create, mozilla::dom::WorkerCSPEventListener::Create, mozilla::dom::WorkerFetchResolver::Create, mozilla::dom::WorkerLoadInfo::InterfaceRequestor::InterfaceRequestor, nsSegmentedBuffer::AppendNewSegment, nsSupportsWeakReference::GetWeakReference]
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/html/dom/__dir__.ini
+++ b/testing/web-platform/meta/html/dom/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: []
+leak-threshold: [default:51200]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/embedded-content/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/html/semantics/forms/__dir__.ini
+++ b/testing/web-platform/meta/html/semantics/forms/__dir__.ini
@@ -1,1 +1,2 @@
 max-asserts: 3
+leak-threshold: [default:204800, tab:358400]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/html/webappapis/dynamic-markup-insertion/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/infrastructure/testdriver/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/media-source/__dir__.ini
+++ b/testing/web-platform/meta/media-source/__dir__.ini
@@ -1,2 +1,3 @@
 prefs: [media.mediasource.experimental.enabled:true]
 lsan-allowed: [Alloc, NewEmptyScopeData, XPCWrappedNative::GetNewOrUsed, js_new, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::dom::ChromeUtils::GenerateQI, nsStringBuffer::Alloc]
+leak-threshold: [default: 51200]
--- a/testing/web-platform/meta/media-source/mediasource-changetype-play.html.ini
+++ b/testing/web-platform/meta/media-source/mediasource-changetype-play.html.ini
@@ -1,4 +1,3 @@
 [mediasource-changetype-play.html]
   disabled:
     if os == "android": https://bugzilla.mozilla.org/show_bug.cgi?id=1499003
-
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/orientation-sensor/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default: 51200]
--- a/testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini
+++ b/testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini
@@ -1,2 +1,3 @@
 prefs: [dom.serviceWorkers.enabled: true, dom.serviceWorkers.exemptFromPerDomainMax:true, dom.caches.enabled:true]
 lsan-allowed: [Alloc, CompareNetwork, Create, CreateInner, EntrySlotOrCreate, MakeUnique, NewChannelFromURIWithProxyFlagsInternal, NewPage, PLDHashTable::Add, Realloc, SharedMutex, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::ThrottledEventQueue::Create, mozilla::dom::PerformanceStorageWorker::Create, mozilla::dom::WorkerCSPEventListener::Create, mozilla::dom::WorkerPrivate::WorkerPrivate, mozilla::dom::serviceWorkerScriptCache::, mozilla::net::HttpBaseChannel::HttpBaseChannel, mozilla::net::HttpChannelChild::HttpChannelChild, mozilla::net::nsHttpHandler::NewProxiedChannel2, nsTimer::nsTimer]
+leak-threshold: [tab:51200]
--- a/testing/web-platform/meta/service-workers/service-worker/__dir__.ini
+++ b/testing/web-platform/meta/service-workers/service-worker/__dir__.ini
@@ -1,2 +1,3 @@
 prefs: [dom.serviceWorkers.enabled:true]
 lsan-allowed: [Alloc, Create, CreateInner, MakeUnique, Malloc, NewChannelFromURIWithProxyFlagsInternal, NewEmptyScopeData, NewPage, OrInsert, PLDHashTable::Add, Realloc, SharedMutex, __rdl_alloc, __rdl_realloc, js_new, js_pod_calloc, js_pod_malloc, js_pod_realloc, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::ThrottledEventQueue::Create, mozilla::WeakPtr, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceStorageWorker::Create, mozilla::dom::WorkerPrivate::WorkerPrivate, mozilla::net::HttpBaseChannel::HttpBaseChannel, mozilla::net::HttpChannelChild::HttpChannelChild, mozilla::net::nsHttpAuthIdentity::Set, mozilla::net::nsHttpHandler::NewProxiedChannel2, mozilla::net::nsStandardURL::Clone, mozilla::net::nsStandardURL::TemplatedMutator, nsDocShell::Create, nsNodeSupportsWeakRefTearoff::GetWeakReference, nsPrefetchService::Preload, nsSegmentedBuffer::AppendNewSegment, nsSupportsWeakReference::GetWeakReference]
+leak-threshold: [default:51200]
--- a/testing/web-platform/meta/service-workers/service-worker/unregister.https.html.ini
+++ b/testing/web-platform/meta/service-workers/service-worker/unregister.https.html.ini
@@ -1,4 +1,3 @@
 [unregister.https.html]
   disabled:
     if os == "android": https://bugzilla.mozilla.org/show_bug.cgi?id=1499003
-
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/shadow-dom/leaktests/__dir__.ini
@@ -0,0 +1,1 @@
+leak-threshold: [default: 51200]
--- a/testing/web-platform/meta/storage/__dir__.ini
+++ b/testing/web-platform/meta/storage/__dir__.ini
@@ -1,1 +1,2 @@
 prefs: [dom.storageManager.enabled:true]
+leak-threshold: [default: 51200]
--- a/testing/web-platform/meta/webrtc/__dir__.ini
+++ b/testing/web-platform/meta/webrtc/__dir__.ini
@@ -1,2 +1,4 @@
 prefs: [media.navigator.permission.disabled:true, media.navigator.streams.fake:true]
 lsan-allowed: [Alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::realloc, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::RTCRtpSender::_Create, mozilla::dom::RTCRtpTransceiver::_Create]
+leak-threshold: [default: 51200]
+
--- a/testing/web-platform/meta/websockets/__dir__.ini
+++ b/testing/web-platform/meta/websockets/__dir__.ini
@@ -1,2 +1,3 @@
 lsan-allowed: [Alloc, Create, Malloc, NewPage, PLDHashTable::Add, PLDHashTable::ChangeTable, Realloc, RecvOnAcknowledge, RecvOnStop, mozilla::BasePrincipal::CreateCodebasePrincipal, mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::ThrottledEventQueue::Create, mozilla::WeakPtr, mozilla::dom::WebSocket::WebSocket, mozilla::dom::WorkerCSPEventListener::Create, mozilla::dom::nsIContentChild::GetConstructedEventTarget, mozilla::net::WebSocketChannelChild::RecvOnServerClose, nsAtomTable::Atomize, mozilla::net::nsStandardURL::TemplatedMutator, nsDocShell::Create]
 lsan-max-stack-depth: 7
+leak-threshold: [tab:51200]
--- a/testing/web-platform/meta/websockets/keeping-connection-open/__dir__.ini
+++ b/testing/web-platform/meta/websockets/keeping-connection-open/__dir__.ini
@@ -1,1 +1,2 @@
 lsan-allowed: []
+leak-threshold: [default:51200]