chromium/components/policy/test/data/pref_mapping/ScreenCaptureWithoutGestureAllowedForOrigins.json

[
  {
    "os": [
      "win",
      "linux",
      "mac",
      "chromeos_ash",
      "chromeos_lacros",
      "fuchsia"
    ],
    "policy_pref_mapping_tests": [
      {
        "note": "Check default values (no policies set).",
        "prefs": {
          "media.screen_capture_without_gesture_allowed_for_origins": {
            "default_value": []
          }
        }
      },
      {
        "note": "Simple value.",
        "policies": {
          "ScreenCaptureWithoutGestureAllowedForOrigins": [
            "https://mydomain.com",
            "https://test.mydomain.com"
          ]
        },
        "prefs": {
          "media.screen_capture_without_gesture_allowed_for_origins": {
            "value": [
              "https://mydomain.com",
              "https://test.mydomain.com"
            ]
          }
        }
      }
    ]
  }
]