Bug 1853320 [wpt PR 41940] - [FLEDGE] Split up runs of /trusted-scoring-signals.https...
[gecko.git] / tools / lint / mscom-init.yml
blob35d2f5e963dedc9c227ddd33c226f1ffc1c12828
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 ---
5 forbid-mscom-init:
6     description: >-
7         New calls to CoInitialize, CoInitializeEx, OleInitialize, RoInitialize,
8         CoUninitialize, OleUninitialize, or RoUninitialize are forbidden. If you
9         have questions, please consult a peer of the IPC: MSCOM module.
10     level: error
11     include: ['.']
12     type: regex
13     payload: ([CR]o|Ole)(Uni|I)nitialize(Ex)?
14     ignore-case: false
15     extensions:
16         - h
17         - c
18         - cc
19         - cpp
20     exclude:
21         # These files are the only allowable locations
22         - ipc/mscom/ApartmentRegion.h
23         - ipc/mscom/COMWrappers.cpp
24         - ipc/mscom/COMWrappers.h
25         - ipc/mscom/ProcessRuntime.cpp
26         - ipc/mscom/EnsureMTA.cpp
27         # These files are existing locations that must eventually be fixed.
28         - browser/components/migration/nsIEHistoryEnumerator.cpp
29         - browser/components/migration/tests/unit/insertIEHistory/InsertIEHistory.cpp
30         - browser/components/shell/nsWindowsShellService.cpp
31         - gfx/thebes/gfxWindowsPlatform.cpp
32         - image/DecodePool.cpp
33         - ipc/glue/BrowserProcessSubThread.cpp
34         - netwerk/system/win32/nsNotifyAddrListener.cpp
35         - toolkit/components/parentalcontrols/nsParentalControlsServiceWin.cpp
36         - toolkit/crashreporter/google-breakpad/src/common/windows/pdb_source_line_writer.cc
37         - toolkit/mozapps/defaultagent/proxy/main.cpp
38         - uriloader/exthandler/win/nsOSHelperAppService.cpp
39         - widget/windows/TaskbarPreview.cpp
40         - widget/windows/WinTaskbar.cpp
41         - widget/windows/nsAppShell.cpp
42         - widget/windows/nsWindow.cpp
43         - widget/windows/nsWindow.h
44         - widget/windows/tests/TestUriValidation.cpp
45         - xpcom/io/nsLocalFileWin.cpp