prefpicker 1.24.2__py3-none-any.whl → 1.24.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of prefpicker might be problematic. Click here for more details.

@@ -470,12 +470,6 @@ pref:
470
470
  - false
471
471
  vr:
472
472
  - true
473
- dom.webgpu.enabled:
474
- review_on_close:
475
- - 1746245
476
- variants:
477
- default:
478
- - true
479
473
  dom.webgpu.wgpu-backend:
480
474
  variants:
481
475
  default:
@@ -1075,13 +1069,6 @@ pref:
1075
1069
  variants:
1076
1070
  default:
1077
1071
  - ''
1078
- webgl.colorspaces.prototype:
1079
- review_on_close:
1080
- - 1885491
1081
- variants:
1082
- default:
1083
- - false
1084
- - true
1085
1072
  webgl.enable-draft-extensions:
1086
1073
  variants:
1087
1074
  default:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefpicker
3
- Version: 1.24.2
3
+ Version: 1.24.4
4
4
  Summary: PrefPicker - Manage & generate prefs.js files
5
5
  Home-page: https://github.com/MozillaSecurity/prefpicker
6
6
  Author: Tyson Smith
@@ -44,7 +44,7 @@ __**review_on_close**__ is optional. It is a list of relevant Bugzilla IDs used
44
44
 
45
45
  _**value**_ can be a `bool`, `int`, `string` or `null`. Adding multiple potential values is possible.
46
46
  When multiple values are present one is chosen at random when generating the output.
47
- Using a value of `null` will skip adding the pref to the output prefs.js file (acts as browser default).
47
+ Using a value of `null` will exclude the pref from the prefs.js file (acts as browser default).
48
48
 
49
49
  _**variant**_ is a subset of values to be used in place of the default values.
50
50
  The default variant is used unless a variant is specified.
@@ -68,9 +68,16 @@ pref:
68
68
  - 0 # potential value
69
69
  alt: # extra optional variant
70
70
  - 1 # if multiple values are defined one is chosen randomly
71
- - null # null is a special case meaning do not add the pref
71
+ - null # null is a special case meaning exclude the pref
72
72
  ```
73
73
 
74
+ Updating Templates and Adding Prefs
75
+ -----------------------------------
76
+ Prefs are found in the `.yml` files in the [template](/src/prefpicker/templates) directory.
77
+ Only prefs that are ready to be tested should be added.
78
+ When adding a pref to a template it is encouraged to add a comment that provides justification and points to a bug in Bugzilla for additional context.
79
+ If a pref does not already exist and is only used with non-default variants a `null` entry must be added to the default variant.
80
+
74
81
  Quick Setup
75
82
  -----------
76
83
 
@@ -83,7 +90,7 @@ pip install prefpicker
83
90
  Examples
84
91
  --------
85
92
 
86
- Use a built-in [template](https://github.com/MozillaSecurity/prefpicker/tree/master/prefpicker/templates) to generate an up-to-date `prefs.js` file.
93
+ Use a built-in [template](/src/prefpicker/templates) to generate an up-to-date `prefs.js` file.
87
94
 
88
95
  ```bash
89
96
  prefpicker browser-fuzzing.yml prefs.js
@@ -111,8 +118,3 @@ user_pref("fuzzing.enabled", true);
111
118
  user_pref("gfx.webrender.all", true);
112
119
  /// ... snip
113
120
  ```
114
-
115
- Updating Templates
116
- ------------------
117
-
118
- When adding a pref to a template it is encouraged to add a comment that provides justification and points to a bug in Bugzilla for additional context. If a pref does not already exist and is only used with non-default variants a 'null' entry must be added to the default variant.
@@ -6,11 +6,11 @@ prefpicker/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  prefpicker/test_main.py,sha256=6K4eKDvXwy7ogdj-tOKIfjCJjr0CnQwfFyobjpj4hgk,2644
7
7
  prefpicker/test_prefpicker.py,sha256=ag16_Stw_dsMYyPIsg-TU_TFHHLOirO1aSiBd633oO0,9265
8
8
  prefpicker/test_templates.py,sha256=jlu3QTWzn1iE_7ljQs3byBAvUaGjeFZPNuBySSvSUoM,1496
9
- prefpicker/templates/browser-fuzzing.yml,sha256=Rc-gQ3YzapGZ8GxgYQOq2vE1Q7kba2lixklfVKdEIPY,22390
9
+ prefpicker/templates/browser-fuzzing.yml,sha256=2VxMshAfK_NiQXZ-nkwfMFHuRToPW9EtrV_AektFuKA,22169
10
10
  prefpicker/templates/schema.json,sha256=4WJVuGrxSQHk2CrT5QOZ7SRnTPgK2Dxr4e4LYOmMWyo,898
11
- prefpicker-1.24.2.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
12
- prefpicker-1.24.2.dist-info/METADATA,sha256=3n81MPDQmP3dHpEe0UZZFe9S4zEW8XqurqD4--icxGw,5106
13
- prefpicker-1.24.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
- prefpicker-1.24.2.dist-info/entry_points.txt,sha256=og57vebqGVtgg_OZGO39WUb13H8wMzcnNBh4h-t26K0,52
15
- prefpicker-1.24.2.dist-info/top_level.txt,sha256=H-QqR-VZXNwG4ya7wnqx5NA-yua6D9uQuBquP2zCRbc,11
16
- prefpicker-1.24.2.dist-info/RECORD,,
11
+ prefpicker-1.24.4.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
12
+ prefpicker-1.24.4.dist-info/METADATA,sha256=pONKzj4d1rv7JLs8GwtWGVMEu0SUZWUdez4ChRwTB8Y,5222
13
+ prefpicker-1.24.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
+ prefpicker-1.24.4.dist-info/entry_points.txt,sha256=og57vebqGVtgg_OZGO39WUb13H8wMzcnNBh4h-t26K0,52
15
+ prefpicker-1.24.4.dist-info/top_level.txt,sha256=H-QqR-VZXNwG4ya7wnqx5NA-yua6D9uQuBquP2zCRbc,11
16
+ prefpicker-1.24.4.dist-info/RECORD,,