OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains the default suppressions for LeakSanitizer. | 5 // This file contains the default suppressions for LeakSanitizer. |
6 // You can also pass additional suppressions via LSAN_OPTIONS: | 6 // You can also pass additional suppressions via LSAN_OPTIONS: |
7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to | 7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to |
8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. | 8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. |
9 | 9 |
10 #if defined(LEAK_SANITIZER) | 10 #if defined(LEAK_SANITIZER) |
(...skipping 30 matching lines...) Expand all Loading... |
41 "leak:libnss3\n" | 41 "leak:libnss3\n" |
42 "leak:libplds4\n" | 42 "leak:libplds4\n" |
43 "leak:libnssckbi\n" | 43 "leak:libnssckbi\n" |
44 | 44 |
45 // XRandR has several one time leaks. | 45 // XRandR has several one time leaks. |
46 "leak:libxrandr\n" | 46 "leak:libxrandr\n" |
47 | 47 |
48 // xrandr leak. http://crbug.com/119677 | 48 // xrandr leak. http://crbug.com/119677 |
49 "leak:XRRFindDisplay\n" | 49 "leak:XRRFindDisplay\n" |
50 | 50 |
51 // Suppressions for objects which can be owned by the V8 heap. This is a | 51 // http://crbug.com/431213, http://crbug.com/416665 |
52 // temporary workaround until LeakSanitizer supports the V8 heap. | |
53 // Those should only fire in (browser)tests. If you see one of them in Chrome, | |
54 // then it's a real leak. | |
55 // http://crbug.com/328552 | |
56 "leak:WTF::StringImpl::createUninitialized\n" | |
57 "leak:WTF::StringImpl::create8BitIfPossible\n" | |
58 "leak:blink::MouseEvent::create\n" | |
59 "leak:blink::*::*GetterCallback\n" | |
60 "leak:blink::CSSComputedStyleDeclaration::create\n" | |
61 "leak:blink::V8PerIsolateData::ensureDomInJSContext\n" | |
62 "leak:gin/object_template_builder.h\n" | 52 "leak:gin/object_template_builder.h\n" |
63 "leak:gin::internal::Dispatcher\n" | |
64 "leak:blink::LocalDOMWindow::getComputedStyle\n" | |
65 // This should really be RemoteDOMWindow::create, but symbolization is | |
66 // weird in release builds. https://crbug.com/484760 | |
67 "leak:blink::RemoteFrame::create\n" | |
68 | |
69 // http://crbug.com/356785 | |
70 "leak:content::RenderViewImplTest_DecideNavigationPolicyForWebUI_Test::TestBody\
n" | |
71 | 53 |
72 // ================ Leaks in Chromium code ================ | 54 // ================ Leaks in Chromium code ================ |
73 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS. | 55 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS. |
74 // Instead, commits that introduce memory leaks should be reverted. Suppressing | 56 // Instead, commits that introduce memory leaks should be reverted. Suppressing |
75 // the leak is acceptable in some cases when reverting is impossible, i.e. when | 57 // the leak is acceptable in some cases when reverting is impossible, i.e. when |
76 // enabling leak detection for the first time for a test target with | 58 // enabling leak detection for the first time for a test target with |
77 // pre-existing leaks. | 59 // pre-existing leaks. |
78 | 60 |
79 // Small test-only leak in ppapi_unittests. http://crbug.com/258113 | 61 // Small test-only leak in ppapi_unittests. http://crbug.com/258113 |
80 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test\n" | 62 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test\n" |
81 | 63 |
82 // http://crbug.com/322671 | 64 // http://crbug.com/322671 |
83 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n" | 65 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n" |
84 | 66 |
85 // http://crbug.com/355641 | 67 // http://crbug.com/355641 |
86 "leak:TrayAccessibilityTest\n" | 68 "leak:TrayAccessibilityTest\n" |
87 | 69 |
88 // http://crbug.com/354644 | 70 // http://crbug.com/354644 |
89 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n" | 71 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n" |
90 | 72 |
91 // http://crbug.com/356306 | 73 // http://crbug.com/356306 |
92 "leak:content::SetProcessTitleFromCommandLine\n" | 74 "leak:content::SetProcessTitleFromCommandLine\n" |
93 | 75 |
94 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. | 76 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. |
95 | 77 |
96 // End of suppressions. | 78 // End of suppressions. |
97 ; // Please keep this semicolon. | 79 ; // Please keep this semicolon. |
98 | 80 |
99 #endif // LEAK_SANITIZER | 81 #endif // LEAK_SANITIZER |
OLD | NEW |