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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "leak:XRRFindDisplay\n" | 52 "leak:XRRFindDisplay\n" |
53 | 53 |
54 // Suppressions for objects which can be owned by the V8 heap. This is a | 54 // Suppressions for objects which can be owned by the V8 heap. This is a |
55 // temporary workaround until LeakSanitizer supports the V8 heap. | 55 // temporary workaround until LeakSanitizer supports the V8 heap. |
56 // Those should only fire in (browser)tests. If you see one of them in Chrome, | 56 // Those should only fire in (browser)tests. If you see one of them in Chrome, |
57 // then it's a real leak. | 57 // then it's a real leak. |
58 // http://crbug.com/328552 | 58 // http://crbug.com/328552 |
59 "leak:WTF::StringImpl::createUninitialized\n" | 59 "leak:WTF::StringImpl::createUninitialized\n" |
60 "leak:WTF::StringImpl::create8BitIfPossible\n" | 60 "leak:WTF::StringImpl::create8BitIfPossible\n" |
61 "leak:blink::MouseEvent::create\n" | 61 "leak:blink::MouseEvent::create\n" |
62 "leak:blink::WindowProxy::initializeIfNeeded\n" | |
63 "leak:blink::*::*GetterCallback\n" | 62 "leak:blink::*::*GetterCallback\n" |
64 "leak:blink::CSSComputedStyleDeclaration::create\n" | 63 "leak:blink::CSSComputedStyleDeclaration::create\n" |
65 "leak:blink::V8PerIsolateData::ensureDomInJSContext\n" | 64 "leak:blink::V8PerIsolateData::ensureDomInJSContext\n" |
66 "leak:gin/object_template_builder.h\n" | 65 "leak:gin/object_template_builder.h\n" |
67 "leak:gin::internal::Dispatcher\n" | 66 "leak:gin::internal::Dispatcher\n" |
68 "leak:blink::LocalDOMWindow::getComputedStyle\n" | 67 "leak:blink::LocalDOMWindow::getComputedStyle\n" |
69 // This should really be RemoteDOMWindow::create, but symbolization is | 68 // This should really be RemoteDOMWindow::create, but symbolization is |
70 // weird in release builds. https://crbug.com/484760 | 69 // weird in release builds. https://crbug.com/484760 |
71 "leak:blink::RemoteFrame::create\n" | 70 "leak:blink::RemoteFrame::create\n" |
| 71 // Likewise, this should really be blink::WindowProxy::initializeIfNeeded. |
| 72 // https://crbug.com/484760 |
| 73 "leak:blink::WindowProxy::createContext\n" |
72 | 74 |
73 // http://crbug.com/356785 | 75 // http://crbug.com/356785 |
74 "leak:content::RenderViewImplTest_DecideNavigationPolicyForWebUI_Test::TestBody\
n" | 76 "leak:content::RenderViewImplTest_DecideNavigationPolicyForWebUI_Test::TestBody\
n" |
75 | 77 |
76 // ================ Leaks in Chromium code ================ | 78 // ================ Leaks in Chromium code ================ |
77 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS. | 79 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS. |
78 // Instead, commits that introduce memory leaks should be reverted. Suppressing | 80 // Instead, commits that introduce memory leaks should be reverted. Suppressing |
79 // the leak is acceptable in some cases when reverting is impossible, i.e. when | 81 // the leak is acceptable in some cases when reverting is impossible, i.e. when |
80 // enabling leak detection for the first time for a test target with | 82 // enabling leak detection for the first time for a test target with |
81 // pre-existing leaks. | 83 // pre-existing leaks. |
(...skipping 12 matching lines...) Expand all Loading... |
94 | 96 |
95 // http://crbug.com/356306 | 97 // http://crbug.com/356306 |
96 "leak:content::SetProcessTitleFromCommandLine\n" | 98 "leak:content::SetProcessTitleFromCommandLine\n" |
97 | 99 |
98 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. | 100 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. |
99 | 101 |
100 // End of suppressions. | 102 // End of suppressions. |
101 ; // Please keep this semicolon. | 103 ; // Please keep this semicolon. |
102 | 104 |
103 #endif // LEAK_SANITIZER | 105 #endif // LEAK_SANITIZER |
OLD | NEW |