Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Firefox] Generate a default-prefs file that can be used directly in mozilla-central (bug 1780609) #15209

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Snuffleupagus
Copy link
Collaborator

No description provided.

@Snuffleupagus
Copy link
Collaborator Author

Snuffleupagus commented Jul 22, 2022

Please note: This will obviously require changes in the mozilla-central code as well, so needs to land simultaneously in GitHub/Bugzilla, however I'll probably need some guidance w.r.t. how the mozilla-central part should look to integrate correctly with the prefs-system.

The file that's generated looks like this:

/* Copyright 2022 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

//
// THIS FILE IS GENERATED AUTOMATICALLY, DO NOT EDIT MANUALLY!
//

pref("pdfjs.annotationEditorMode", -1);
pref("pdfjs.annotationMode", 2);
pref("pdfjs.cursorToolOnLoad", 0);
pref("pdfjs.defaultZoomValue", "");
pref("pdfjs.disablePageLabels", false);
pref("pdfjs.enablePermissions", false);
pref("pdfjs.enablePrintAutoRotate", true);
pref("pdfjs.enableScripting", true);
pref("pdfjs.externalLinkTarget", 0);
pref("pdfjs.historyUpdateUrl", false);
pref("pdfjs.ignoreDestinationZoom", false);
pref("pdfjs.forcePageColors", false);
pref("pdfjs.pageColorsBackground", "Canvas");
pref("pdfjs.pageColorsForeground", "CanvasText");
pref("pdfjs.pdfBugEnabled", false);
pref("pdfjs.sidebarViewOnLoad", -1);
pref("pdfjs.scrollModeOnLoad", -1);
pref("pdfjs.spreadModeOnLoad", -1);
pref("pdfjs.textLayerMode", 1);
pref("pdfjs.useOnlyCssZoom", false);
pref("pdfjs.viewerCssTheme", 0);
pref("pdfjs.viewOnLoad", 0);
pref("pdfjs.disableAutoFetch", false);
pref("pdfjs.disableFontFace", false);
pref("pdfjs.disableRange", false);
pref("pdfjs.disableStream", false);
pref("pdfjs.enableXfa", true);

@Snuffleupagus Snuffleupagus force-pushed the createDefaultPrefsFile branch 2 times, most recently from b89cd95 to 2668799 Compare July 22, 2022 15:24
@Snuffleupagus Snuffleupagus changed the title [Firefox] Generate a default-prefs file that can used directly in mozilla-central (bug 1780609) [Firefox] Generate a default-prefs file that can be used directly in mozilla-central (bug 1780609) Jul 22, 2022
@marco-c marco-c marked this pull request as ready for review November 30, 2022 14:05
@marco-c marco-c marked this pull request as draft November 30, 2022 14:07
@Snuffleupagus Snuffleupagus force-pushed the createDefaultPrefsFile branch 4 times, most recently from 873d4f8 to aee0da1 Compare March 30, 2023 16:08
@Snuffleupagus Snuffleupagus force-pushed the createDefaultPrefsFile branch 2 times, most recently from eb9b4a0 to 1e01b86 Compare October 8, 2023 12:13
@Snuffleupagus Snuffleupagus force-pushed the createDefaultPrefsFile branch 2 times, most recently from f042bcf to b830d16 Compare November 2, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant