prefpicker 1.24.3__py3-none-any.whl → 1.25.0__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.

@@ -8,6 +8,14 @@ pref:
8
8
  - true
9
9
  default:
10
10
  - null
11
+ # this should be true when fuzzing a11y to increase coverage
12
+ # see https://bugzilla.mozilla.org/show_bug.cgi?id=1921917 for more details
13
+ accessibility.enable_all_cache_domains:
14
+ variants:
15
+ a11y:
16
+ - true
17
+ default:
18
+ - null
11
19
  accessibility.force_disabled:
12
20
  variants:
13
21
  a11y:
@@ -470,12 +478,6 @@ pref:
470
478
  - false
471
479
  vr:
472
480
  - true
473
- dom.webgpu.enabled:
474
- review_on_close:
475
- - 1746245
476
- variants:
477
- default:
478
- - true
479
481
  dom.webgpu.wgpu-backend:
480
482
  variants:
481
483
  default:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefpicker
3
- Version: 1.24.3
3
+ Version: 1.25.0
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=vuqRFqj89DecJcSmXCDP7E4JkSM3NzmiNe6iGy9Q5pE,22268
9
+ prefpicker/templates/browser-fuzzing.yml,sha256=grkXnDz6yQ7hg-JiwTjlLE1n1WU9TGdpCsdYM3ExmWg,22419
10
10
  prefpicker/templates/schema.json,sha256=4WJVuGrxSQHk2CrT5QOZ7SRnTPgK2Dxr4e4LYOmMWyo,898
11
- prefpicker-1.24.3.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
12
- prefpicker-1.24.3.dist-info/METADATA,sha256=jsV-uuJ6JTRQkpd9BaX3lc_zVU8x9loL-4Vml3KRl50,5106
13
- prefpicker-1.24.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
- prefpicker-1.24.3.dist-info/entry_points.txt,sha256=og57vebqGVtgg_OZGO39WUb13H8wMzcnNBh4h-t26K0,52
15
- prefpicker-1.24.3.dist-info/top_level.txt,sha256=H-QqR-VZXNwG4ya7wnqx5NA-yua6D9uQuBquP2zCRbc,11
16
- prefpicker-1.24.3.dist-info/RECORD,,
11
+ prefpicker-1.25.0.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
12
+ prefpicker-1.25.0.dist-info/METADATA,sha256=Ydm9rDJ-QOJMTIIKWTILKOgehE1spzNSvMjTkhsyruw,5222
13
+ prefpicker-1.25.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
+ prefpicker-1.25.0.dist-info/entry_points.txt,sha256=og57vebqGVtgg_OZGO39WUb13H8wMzcnNBh4h-t26K0,52
15
+ prefpicker-1.25.0.dist-info/top_level.txt,sha256=H-QqR-VZXNwG4ya7wnqx5NA-yua6D9uQuBquP2zCRbc,11
16
+ prefpicker-1.25.0.dist-info/RECORD,,