зеркало из https://github.com/mozilla/tls-canary.git
Страница:
Objects basemode.collect_worker_info return
5
Objects basemode.collect_worker_info return
Christiane Ruetten редактировал(а) эту страницу 2017-07-07 14:04:29 +02:00
basemode.collect_worker_info()
takes the output of the info
command to scan_worker.js
, adds a few convenience fields, and then returns the dict to the caller.
Not all Firefox versions return the same structure for application.ini, AppConstants, and Ci.nsINSSVersion, and tlscanary is just blindly passing them through.
Expect this data structure to change between Firefox branches.
{
"appConstants": {
"ACCESSIBILITY": true,
"ANDROID_PACKAGE_NAME": "org.mozilla.firefox",
"ASAN": false,
"CAN_DRAW_IN_TITLEBAR": true,
"DEBUG": false,
"DEBUG_JS_MODULES": "",
"DLL_PREFIX": "lib",
"DLL_SUFFIX": ".dylib",
"E10S_TESTING_ONLY": true,
"HAVE_SHELL_SERVICE": true,
"HAVE_USR_LIB64_DIR": false,
"INSTALL_COMPACT_THEMES": true,
"INSTALL_LOCALE": "en-US",
"MENUBAR_CAN_AUTOHIDE": false,
"MOZILLA_OFFICIAL": true,
"MOZ_ADDON_SIGNING": true,
"MOZ_ALLOW_LEGACY_EXTENSIONS": true,
"MOZ_ANDROID_ACTIVITY_STREAM": false,
"MOZ_ANDROID_HISTORY": false,
"MOZ_ANDROID_MOZILLA_ONLINE": false,
"MOZ_APP_NAME": "firefox",
"MOZ_APP_VERSION": "56.0a1",
"MOZ_APP_VERSION_DISPLAY": "56.0a1",
"MOZ_B2G": false,
"MOZ_B2G_OS_NAME": "",
"MOZ_B2G_RIL": false,
"MOZ_B2G_VERSION": "1.0.0",
"MOZ_BUILD_APP": "browser",
"MOZ_CONTENT_SANDBOX": true,
"MOZ_CRASHREPORTER": true,
"MOZ_DATA_REPORTING": true,
"MOZ_DEV_EDITION": false,
"MOZ_GECKO_PROFILER": true,
"MOZ_GRAPHENE": false,
"MOZ_MACBUNDLE_NAME": "FirefoxNightly.app",
"MOZ_MAINTENANCE_SERVICE": false,
"MOZ_OFFICIAL_BRANDING": false,
"MOZ_PHOTON_ANIMATIONS": true,
"MOZ_PHOTON_THEME": true,
"MOZ_PLACES": true,
"MOZ_REQUIRE_SIGNING": false,
"MOZ_SANDBOX": true,
"MOZ_SERVICES_HEALTHREPORT": true,
"MOZ_STYLO": false,
"MOZ_SWITCHBOARD": false,
"MOZ_SYSTEM_NSS": false,
"MOZ_TELEMETRY_ON_BY_DEFAULT": true,
"MOZ_TELEMETRY_REPORTING": true,
"MOZ_TOOLKIT_SEARCH": true,
"MOZ_UPDATER": true,
"MOZ_UPDATE_CHANNEL": "nightly",
"MOZ_WEBRTC": true,
"MOZ_WIDGET_GTK": false,
"MOZ_WIDGET_TOOLKIT": "cocoa",
"NIGHTLY_BUILD": true,
"RELEASE_OR_BETA": false,
"SOURCE_REVISION_URL": "https://hg.mozilla.org/mozilla-central/rev/4bd7db49d22847111dff9c1dd63ed573903faa5b",
"XP_UNIX": true,
"platform": "macosx"
},
"app_version": "56.0a1",
"application_ini": {
"buildid": "20170706130327",
"codename": "Nightly",
"id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
"name": "Firefox",
"remotingname": "firefox",
"sourcerepository": "https://hg.mozilla.org/mozilla-central",
"sourcestamp": "4bd7db49d22847111dff9c1dd63ed573903faa5b",
"vendor": "Mozilla",
"version": "56.0a1"
},
"branch": "nightly",
"nspr_version": "NSPR 4.16 Beta",
"nssInfo": {
"NSPR_MinVersion": "4.16 Beta",
"NSPR_Version": "4.16 Beta",
"NSSSMIME_MinVersion": "3.32 Beta",
"NSSSMIME_Version": "3.32 Beta",
"NSSSSL_MinVersion": "3.32 Beta",
"NSSSSL_Version": "3.32 Beta",
"NSSUTIL_MinVersion": "3.32 Beta",
"NSSUTIL_Version": "3.32 Beta",
"NSS_MinVersion": "3.32 Beta",
"NSS_Version": "3.32 Beta"
},
"nss_version": "NSS 3.32 Beta",
"package_origin": "https://download.mozilla.org/?product=firefox-nightly-latest&os=osx&lang=en-US",
"platform": "osx"
}