2017-02-22 19:05:50 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#ifndef mozilla_dom_FuzzingFunctions
|
|
|
|
#define mozilla_dom_FuzzingFunctions
|
|
|
|
|
|
|
|
namespace mozilla {
|
2017-12-20 23:54:13 +00:00
|
|
|
|
|
|
|
class ErrorResult;
|
|
|
|
|
2017-02-22 19:05:50 +00:00
|
|
|
namespace dom {
|
|
|
|
|
|
|
|
class GlobalObject;
|
|
|
|
|
|
|
|
class FuzzingFunctions final
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void
|
|
|
|
GarbageCollect(const GlobalObject&);
|
|
|
|
|
|
|
|
static void
|
|
|
|
CycleCollect(const GlobalObject&);
|
2017-11-16 21:42:39 +00:00
|
|
|
|
|
|
|
static void
|
|
|
|
EnableAccessibility(const GlobalObject&, ErrorResult& aRv);
|
2017-02-22 19:05:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif // mozilla_dom_FuzzingFunctions
|