1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
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 // This is the list of the preferences that are exposed to workers and
9 // The format is as follows:
11 // DOM_WEBIDL_PREF(foo_bar)
13 // * This defines DOMPrefs::foo_bar(JSContext* aCx, JSObject* aObj) which
14 // returns the value of StaticPrefs::foo_bar().
15 // This is allows the use of DOMPrefs in WebIDL files.
17 DOM_WEBIDL_PREF(dom_caches_enabled
)
18 DOM_WEBIDL_PREF(dom_webnotifications_serviceworker_enabled
)
19 DOM_WEBIDL_PREF(dom_webnotifications_requireinteraction_enabled
)
20 DOM_WEBIDL_PREF(dom_serviceWorkers_enabled
)
21 DOM_WEBIDL_PREF(dom_storageManager_enabled
)
22 DOM_WEBIDL_PREF(dom_testing_structuredclonetester_enabled
)
23 DOM_WEBIDL_PREF(dom_promise_rejection_events_enabled
)
24 DOM_WEBIDL_PREF(dom_push_enabled
)
25 DOM_WEBIDL_PREF(gfx_offscreencanvas_enabled
)
26 DOM_WEBIDL_PREF(dom_webkitBlink_dirPicker_enabled
)
27 DOM_WEBIDL_PREF(dom_netinfo_enabled
)
28 DOM_WEBIDL_PREF(dom_fetchObserver_enabled
)
29 DOM_WEBIDL_PREF(dom_enable_performance_observer
)
30 DOM_WEBIDL_PREF(dom_reporting_enabled
)
31 DOM_WEBIDL_PREF(dom_reporting_testing_enabled
)
32 DOM_WEBIDL_PREF(dom_reporting_featurePolicy_enabled
)
33 DOM_WEBIDL_PREF(javascript_options_streams
)