2018-01-08 16:05:07 +03: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/. */
|
|
|
|
|
|
|
|
// This is the list of the preferences that are exposed to workers and
|
|
|
|
// main-thread in DOM.
|
|
|
|
// The format is as follows:
|
|
|
|
//
|
2018-09-10 21:36:18 +03:00
|
|
|
// DOM_WEBIDL_PREF(foo_bar)
|
2018-01-08 16:05:07 +03:00
|
|
|
//
|
2018-09-10 21:36:18 +03:00
|
|
|
// * This defines DOMPrefs::foo_bar(JSContext* aCx, JSObject* aObj) which
|
|
|
|
// returns the value of StaticPrefs::foo_bar().
|
2018-01-08 16:05:07 +03:00
|
|
|
// This is allows the use of DOMPrefs in WebIDL files.
|
|
|
|
|
2018-09-10 21:36:18 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_caches_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_webnotifications_serviceworker_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_webnotifications_requireinteraction_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_serviceWorkers_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_storageManager_enabled)
|
2018-10-02 19:43:57 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_testing_structuredclonetester_enabled)
|
2018-09-10 21:36:18 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_promise_rejection_events_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_push_enabled)
|
|
|
|
DOM_WEBIDL_PREF(gfx_offscreencanvas_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_webkitBlink_dirPicker_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_netinfo_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_fetchObserver_enabled)
|
|
|
|
DOM_WEBIDL_PREF(dom_enable_performance_observer)
|
2018-11-14 22:02:32 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_reporting_enabled)
|
2018-11-14 22:02:33 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_reporting_testing_enabled)
|
2018-11-14 22:02:33 +03:00
|
|
|
DOM_WEBIDL_PREF(dom_reporting_featurePolicy_enabled)
|
2018-09-25 17:11:41 +03:00
|
|
|
DOM_WEBIDL_PREF(javascript_options_streams)
|