tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

metrics.yaml (2176B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # Adding a new metric? We have docs for that!
      6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
      7 
      8 ---
      9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
     10 $tags:
     11  - 'Core :: DOM: Notifications'
     12 
     13 web_notification:
     14  insecure_context_permission_request:
     15    type: counter
     16    description: >
     17      Whether we saw a permission request from an insecure context.
     18    bugs:
     19      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     20    data_reviews:
     21      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     22    notification_emails:
     23      - krosylight@mozilla.com
     24    expires: never
     25  show_origin:
     26    type: labeled_counter
     27    description: >
     28      The category of the origin that calls new Notification/showNotification().
     29    labels:
     30      - first_party
     31      - third_party
     32      - nested_first_party
     33    bugs:
     34      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     35    data_reviews:
     36      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     37    notification_emails:
     38      - krosylight@mozilla.com
     39    expires: never
     40  permission_origin:
     41    type: labeled_counter
     42    description: >
     43      The category of the origin that retrieves Notification.permission.
     44    labels:
     45      - first_party
     46      - third_party
     47      - nested_first_party
     48    bugs:
     49      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     50    data_reviews:
     51      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     52    notification_emails:
     53      - krosylight@mozilla.com
     54    expires: never
     55  request_permission_origin:
     56    type: labeled_counter
     57    description: >
     58      The category of the origin that calls Notification.requestPermission().
     59    labels:
     60      - first_party
     61      - third_party
     62      - nested_first_party
     63    bugs:
     64      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     65    data_reviews:
     66      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914203
     67    notification_emails:
     68      - krosylight@mozilla.com
     69    expires: never