1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef DOM_TESTING_TESTUTILS_H_
8 #define DOM_TESTING_TESTUTILS_H_
10 #include "mozilla/ErrorResult.h"
11 #include "mozilla/dom/BindingDeclarations.h"
12 #include "nsCycleCollectionParticipant.h"
13 #include "nsWrapperCache.h"
15 class nsIGlobalObject
;
17 namespace mozilla::dom
{
21 static already_AddRefed
<Promise
> Gc(const GlobalObject
& aGlobal
,
25 ~TestUtils() = delete;
28 } // namespace mozilla::dom
30 #endif // DOM_TESTING_TESTUTILS_H_